Skip to content

lld reports undefined symbols, ld.bfd links w/o errors #120019

@stsp

Description

@stsp

lld.tar.gz

Attached is a test-case.
It has many objects and 2 scripts:
test_bfd.sh and test_lld.sh.
They are identical except for calling
different linkers.

test_bfd.sh doesn't print any errors
or warnings. It links kernel.elf
which actually works.
test_lld.sh throws many unclear errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lldquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions