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
  • Makefile.debug
Find file BlameHistoryPermalink
  • Nick Desaulniers's avatar
    Makefile.debug: set -g unconditional on CONFIG_DEBUG_INFO_SPLIT · 61f2b7c7
    Nick Desaulniers authored Sep 19, 2022
    Dmitrii, Fangrui, and Mashahiro note:
    
      Before GCC 11 and Clang 12 -gsplit-dwarf implicitly uses -g2.
    
    Fix CONFIG_DEBUG_INFO_SPLIT for gcc-11+ & clang-12+ which now need -g
    specified in order for -gsplit-dwarf to work at all.
    
    -gsplit-dwarf has been mutually exclusive with -g since support for
    CONFIG_DEBUG_INFO_SPLIT was introduced in
    commit 866ced95 ("kbuild: Support split debug info v4")
    I don't think it ever needed to be.
    
    Link: https://lore.kernel.org/lkml/20220815013317.26121-1-dmitrii.bundin.a@gmail.com/
    Link: https://lore.kernel.org/lkml/CAK7LNARPAmsJD5XKAw7m_X2g7Fi-CAAsWDQiP7+ANBjkg7R7ng@mail.gmail.com/
    Link: https://reviews.llvm.org/D80391
    
    
    Cc: Andi Kleen <ak@linux.intel.com>
    Reported-by: default avatarDmitrii Bundin <dmitrii.bundin.a@gmail.com>
    Reported-by: default avatarFangrui Song <maskray@google.com>
    Reported-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Suggested-by: default avatarDmitrii Bundin <dmitrii.bundin.a@gmail.com>
    Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
    Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    61f2b7c7
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7