This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Regression with gcc 7.2 ? Undefined references ?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]