Regression with gcc 7.2 ? Undefined references ?

Sylvestre Ledru sylvestre@debian.org
Sat Aug 26 15:56:00 GMT 2017



On 26/08/2017 13:10, Markus Trippelsdorf wrote:
> On 2017.08.26 at 13:04 +0200, Sylvestre Ledru wrote:
>> Hello,
>>
>> I have been trying to build the llvm toolchain with gcc 7.2 using the
>> Debian packages.
>> However, it is currently failing with some undefined reference.
>> Seems that some symbols are removed during the build phase (too strong
>> optim?)
>>
>> I haven't seen something relevant to this in the gcc release notes.
>>
>> More information here:
>> https://bugs.llvm.org/show_bug.cgi?id=34140
>>
>> Does it ring a bell for anyone?
> Try building without -gsplit-dwarf?
>
Indeed, this fixed the issue.
Should I report a bug or it is a know issue?

Many thanks,
Sylvestre



More information about the Gcc mailing list