Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • Kbuild.include
Find file BlameHistoryPermalink
  • Jory A. Pratt's avatar
    kbuild: fix cc1 options check to ensure we do not use -fPIC when compiling · c47efe55
    Jory A. Pratt authored Sep 18, 2009
    
    
    The arch/*/boot/Makefile use cc-options to check for GCC command options
    and cc-options use the hardened specs when checking for GCC command
    options.  When -fPIE is pass to cc1 it can't use -ffreestanding or
    -fno-toplevel-reorder.  Then it fail to build stuff with -ffreestanding
    and -fno-toplevel-reorder.
    
    Thanks to Fredric Johansson for finding the main problem behind a failed
    build using a hardened toolchain.
    
    Signed-off-by: default avatarMagnus Granberg <zorry@ume.nu>
    Signed-off-by: default avatarJory A. Pratt <anarchy@gentoo.org>
    Cc: Fredric Johansson <johansson_fredric@hotmail.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Cc: <stable@kernel.org>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    c47efe55
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7