Re: Debugging ICE in GCC

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

 



Am 31.05.20 um 01:46 schrieb Manfred Schwarb:
> Am 30.05.20 um 09:39 schrieb Jonathan Wakely:
>> On Sat, 30 May 2020 at 02:01, Manfred Schwarb <manfred99@xxxxxx> wrote:

>>>
>>> I built GCC with
>>> #> ../configure --enable-checking=yes,extra i686-linux
>>> #> make BOOT_CFLAGS="-O2 -ggdb" bootstrap2-lean
>>>

OK, I found it. I was perhaps a bit too clever: while "bootstrap2"
really speeds up things a lot, it seems to hamper debugability.
So if I bootstrap with "bootstrap", my backtraces show up as they should.


BTW: is bootstrapping with BOOT_CFLAGS="-Og -g" meant to work?
With "-Og" I get multiple errors of the category "-Werror=maybe-uninitialized"
and "-Werror=format-whatever" and bootstrap fails.

I can bootstrap with "-O0" and "-O2" though.

Cheers,
Manfred



[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