Re: Error building gcc master: gcc/opts.cc: -Werror=format-truncation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Xi, Jonathan,

On 3/16/23 04:50, Alejandro Colomar wrote:
>>
>>> --disable-werror should work around it.
> 
> I added that.
> 
>>
>> FWIW if you are altering BOOT_CFLAGS, it will be more likely you'll need
>> --disable-werror than a "plain" build.
>>
>> And it seems you are altering BOOT_CFLAGS in a wrong way.  AFAIK you
>> need 'BOOT_CFLAGS="-march=native -O2"' or you are removing the default -
>> O2 flag.  The result will be slower.
> 
> Hmm, thanks.  Then removed that too.
> 
> And I still get issues.  Now it's undefined references.

My bad.  I built in a subdirectory of the source dir, which is
explicitly unsupported, and is a FAQ.  I didn't read part correctly
in the manual.  :-)

I've been able to test my patch and will be sending it soon.

Cheers,

Alex

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux