Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L llvm-project
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 35
    • Issues 35
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Morello
  • llvm-project
  • Issues
  • #29
Closed
Open
Created Jun 17, 2021 by Kevin Brodsky@kbrodsky-armDeveloper

LLD reports bogus warnings when linking the kernel

When linking the kernel (5.10) with Morello LLD, I get a lot of warnings from unresolved references to weak symbols, for instance:

ld.lld: warning: DynsymIndex == 0 for R_AARCH64_GLOB_DAT relocation against weak <undefined> (in GOT) kallsyms_num_syms+0
...
ld.lld: warning: DynsymIndex == 0 for R_AARCH64_ABS64 relocation against weak <undefined> efi_attr_runtime+0

Note that no Morello code is involved here; this can be reproduced by building the vanilla 5.10 kernel: those warnings are issued with Morello LLVM, while no warning is printed with upstream LLVM (everything else being the same).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking