Re: Debugging ICE in GCC

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

 



On Sun, 31 May 2020 at 14:45, Manfred Schwarb <manfred99@xxxxxx> wrote:
>
> 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.

You can just do "make" and not ask for any bootstrap targets. The
default is a normal bootstrap, which would have worked fine.

> BTW: is bootstrapping with BOOT_CFLAGS="-Og -g" meant to work?

Yes.

> With "-Og" I get multiple errors of the category "-Werror=maybe-uninitialized"
> and "-Werror=format-whatever" and bootstrap fails.

--disable-werror



[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