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: ICE in gcc/libgcc2.c:566 (gcc trunk)


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


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