[llvm-bugs] [Bug 33482] New: FreeBSD armv6 kernel fails to link with LLD: "incompatible section flags for .bss"

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 16 09:43:45 PDT 2017


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: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170616/9dd2bc4f/attachment.html>


More information about the llvm-bugs mailing list