https://bugs.llvm.org/show_bug.cgi?id=33482

            Bug ID: 33482
           Summary: FreeBSD armv6 kernel fails to link with LLD:
                    "incompatible section flags for .bss"
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: ema...@freebsd.org
                CC: llvm-bugs@lists.llvm.org
            Blocks: 23214

I haven't yet investigated if this is a FreeBSD or LLD issue, but GNU ld
handles this input.

linking kernel.full
ld: error: incompatible section flags for .bss
>>> locore.o:(.init_pagetable): 0x0
>>> output section .bss: 0x3
*** Error code 1

Reproduction tarball at
https://people.freebsd.org/~emaste/lld/lld_armv6_kernel_section_flags.tar.xz


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=23214
[Bug 23214] [META] Using LLD as FreeBSD's system linker
-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to