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

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jun 17 07:46:40 PDT 2017


emaste at freebsd.org changed:

           What    |Removed                     |Added
           Assignee|unassignedbugs at nondot.org   |emaste at freebsd.org
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #6 from emaste at freebsd.org ---
Fixed in FreeBSD r320056. It's perfectly reasonable for LLD to produce an error
for this case.

FreeBSD commit message:

> arm: set appropriate section flags for .init_pagetable
> The arm kernel linker scripts place the .init_pagetable section in .bss,
> but .init_pagetable had no section flags set, and so did not match the
> expected flags for .bss.
> GNU ld silently ignores this case, but lld reports an error:
> ld: error: incompatible section flags for .bss
> >>> locore.o:(.init_pagetable): 0x0
> >>> output section .bss: 0x3


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/20170617/3763177a/attachment-0001.html>

More information about the llvm-bugs mailing list