[PATCH] D28313: Change which input sections we concatenate

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 09:40:33 PST 2017


On 12 January 2017 at 12:24, Rafael Avila de Espindola
<rafael.espindola at gmail.com> wrote:
> This is https://llvm.org/bugs/show_bug.cgi?id=31619, right? I will take
> a look.

This is what prompted 31619, yes. I assumed it would be due to some
oddity in the EFI loader build and that FreeBSD would need a fix. When
I added the -error-limit=0 to figure out what was happening I
encountered the assertion failure and submitted the PR.

Note, this was encountered with a debug build at r291724. I just tried
a non-debug build at r291775 and it is not reproducible (and the final
error is emitted):
ld.lld: error: Section has different type from others with the same
name zalloc_malloc.o:(.bss)
ld.lld: error: Section has different type from others with the same
name sbrk.o:(.bss)
ld.lld: error: Section has different type from others with the same
name <internal>:(COMMON)

I'll check a debug build of lld @r291775 when it finishes.


More information about the llvm-commits mailing list