bootstrap/6866: gcc-3.1 won't compile itself with -march=pentium4 -msse2 -mfpmath=sse

krelisnet@softhome.net krelisnet@softhome.net
Thu May 30 04:16:00 GMT 2002


>Number:         6866
>Category:       bootstrap
>Synopsis:       gcc-3.1 won't compile itself with -march=pentium4 -msse2 -mfpmath=sse
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Thu May 30 04:16:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Cornelis de Gier
>Release:        gcc-3.1
>Organization:
>Environment:
Mandrake 8.2 on Pentium4 with gcc-3.1
>Description:
While bootstrapping:

/bin/sh ./libtool --mode=compile /home/cwg/install/src/objdir/gcc/xgcc -B/home/cwg/install/src/objdir/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I../../../gcc-3.1/libjava -I./include -I./gcj -I../../../gcc-3.1/libjava -Iinclude -I../../../gcc-3.1/libjava/include -I../../../gcc-3.1/libjava/../boehm-gc/include  -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1   -I../../../gcc-3.1/libjava/libltdl -I../../../gcc-3.1/libjava/libltdl -I../../../gcc-3.1/libjava/.././libjava/../gcc -I../../../gcc-3.1/libjava/../zlib -I../../../gcc-3.1/libjava/../libffi/include -I../libffi/include   -D__NO_MATH_INLINES  -ffloat-store -W -Wall -march=pentium4 -msse2 -O2 -mfpmath=sse -c -o java/lang/strtod.lo ../../../gcc-3.1/libjava/java/lang/strtod.c
../../../gcc-3.1/libjava/java/lang/dtoa.c: In function `_Jv_dtoa_r':
../../../gcc-3.1/libjava/java/lang/dtoa.c:248: warning: `ilim' might be used uninitialized in this function
../../../gcc-3.1/libjava/java/lang/dtoa.c:248: warning: `ilim1' might be used uninitialized in this function
../../../gcc-3.1/libjava/java/lang/dtoa.c:249: warning: `spec_case' might be used uninitialized in this function
../../../gcc-3.1/libjava/java/lang/dtoa.c:256: warning: `mlo' might be used uninitialized in this function
../../../gcc-3.1/libjava/java/lang/dtoa.c:882: Internal compiler error in ix86_secondary_memory_needed, at config/i386/i386.c:12251
>How-To-Repeat:
$ mkdir objdir
$ cd objdir
$ ../gcc-3.1/configure --enable-threads --with-cpu=pentium4 --enable-version-specific-runtime-libs
$ make -j 2 CFLAGS='-march=pentium4 -msse2 -O2 -mfpmath=sse' LIBCFLAGS='-march=pentium4 -msse2 -g -O2 -mfpmath=sse' LIBCXXFLAGS='-march=pentium4 -msse2 -g -O2 -mfpmath=sse -fno-implicit-templates' bootstrap-lean
>Fix:
Work around: not using -march=pentium4 -msse2 -mfpmath=sse as compilation options.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list