http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55089
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build, ice-on-valid-code Component|bootstrap |target Host| |x86_64-sun-solaris2.10 Build| |x86_64-sun-solaris2.10 Severity|blocker |normal --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-09 02:42:36 UTC --- CC=cc -m64 CFLAGS=-m64 + export CC CPPFLAGS= -I/local/gnu/include -I/local/include CFLAGS=-m64 -I/local/gnu/include -I/local/include LDFLAGS= -m64 -L/local/gnu/lib/64 -L/local/lib/64 + export CPPFLAGS CFLAGS LDFLAGS + ../gcc-4.7.2/configure --prefix=/local/gnu --exec-prefix=/local/gnu Your stage1 compiler is producing an internal compiler error. Either the compiler you are starting with is miscompiling the stage1 compiler (most likely because I have seen other people compile on x86_64-pc-solaris2.10) or your stage1 compiler has a bug in it. > I'm using the Oracle Studio 12.3 compiler suite to build the initial xgcc. Have you tried building it with a prebuilt GCC? Maybe even trying to do i386-pc-solaris2.10 compiler to begin with and then doing a x86_64-pc-solaris2.10 compiler with that newly build gcc? I am thinking Oracle's compiler has bugs in it with respect of 64bit mode.