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
  • link-vmlinux.sh
Find file BlameHistoryPermalink
  • Masahiro Yamada's avatar
    kbuild: do not try to parse *.cmd files for objects provided by compiler · 0aa24a79
    Masahiro Yamada authored May 29, 2022
    Guenter Roeck reported the build breakage for parisc and csky.
    I confirmed nios2 and openrisc are broken as well.
    
    The reason is that they borrow libgcc.a from the toolchains.
    
    For example, see this line in arch/parisc/Makefile:
    
        LIBGCC          := $(shell $(CC) -print-libgcc-file-name)
    
    Some objects in libgcc.a are linked to vmlinux.o, but they do not have
    .*.cmd files.
    
    Obviously, there is no EXPORT_SYMBOL in external objects. Ignore them.
    
    (Most of the architectures import library code into the kernel tree.
    Perhaps those 4 architectures can do similar, but I do not know how
    challenging it is.)
    
    Fixes: f292d875 ("modpost: extract symbol versions from *.cmd files")
    Link: https://lore.kernel.org/linux-kbuild/20220528224745.GA2501857@roeck-us.net/T/#mac65c20c71c3e272db0350ecfba53fcd8905b0a0
    
    
    Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
    0aa24a79
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7