This is the mail archive of the gcc-bugs@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]

[Bug bootstrap/47279] Bootstrap fails in stage1 with GCC 4.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47279

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-28 10:11:28 UTC ---
I am using the last 4.6 that built ok as host compiler, a snapshot from
6th december last year.  Binutils is the 2.11 release, but the build
also failed with the 2.10 release.

I configure with

 CFLAGS='-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables
-fasynchronous-unwind-tables -Wno-unused-but-set-variable -g -U_FORTIFY_SOURCE'
../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java --enable-checking=yes
--with-gxx-include-dir=/usr/include/c++/4.6 --enable-ssp --disable-libssp
--disable-plugin --with-bugurl=http://bugs.opensuse.org/
'--with-pkgversion=SUSE Linux' --disable-libgcj --disable-libmudflap
--with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.6
--enable-linux-futex --without-system-libunwind --with-plugin-ld=/usr/bin/gold
--with-cpu=power4 --enable-secureplt --with-long-double-128
--build=powerpc64-suse-linux

and build with

make bootstrap-lean 'STAGE1_CFLAGS=-O -g' 'BOOT_CFLAGS=-fmessage-length=0 -O2
-D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables
-Wno-unused-but-set-variable -g -U_FORTIFY_SOURCE' -j6 -l12

I will try building the current snapshot with a 4.5 host compiler and see
if that allows using itself as host compiler again.

Unfortunately the builds are automated, so I do not have access to cse.o
at the moment (but I'll recreate the problem locally if it persists
with a current 4.6 host compiler)


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