ICE in gcc/libgcc2.c:566 (gcc trunk)

Hanno Meyer-Thurow h.mth@web.de
Sun Feb 11 16:08:00 GMT 2007


On 07 Feb 2007 15:36:14 -0800
Ian Lance Taylor <iant@google.com> wrote:

> Can anybody else out there recreate this on their x86_64 system?

Not that I could not recreate the segfault but I found a way to hide the
segfault. Instead of optimizing with nocona

	make \
		LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common" \
		STAGE1_CFLAGS="-O" \
		LIBPATH="/usr/lib/gcj-4.3.0_alpha20070209/lib64" \
		BOOT_CFLAGS=" -O2 -mtune=nocona -march=nocona -pipe -msse3 -mfpmath=sse" \
		bootstrap

optimizing stage2/stage3 c compiler with core2 like

	make \
		LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common" \
		STAGE1_CFLAGS="-O" \
		LIBPATH="/usr/lib/gcj-4.3.0_alpha20070209/lib64" \
		BOOT_CFLAGS=" -O2 -mtune=core2 -march=core2 -pipe -msse3 -mssse3 -mfpmath=sse" \
		bootstrap

helps here. So, at least one can workaround this now.


Regards,
Hanno



More information about the Gcc mailing list