[Bug c/11956] New: GCC fails to build on Solaris 9

ccx004 at coventry dot ac dot uk gcc-bugzilla@gcc.gnu.org
Sun Aug 17 18:17:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: GCC fails to build on Solaris 9
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ccx004 at coventry dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org

Download gcc-3.3.1, uncompress and untar as normal.

./configure --enable-languages=c,c++

make CFLAGS='-O' LIBCFLAGS='-O2' LIBCXXFLAGS='-O2 -fno-implicit-templates'
bootstrap

After a lot of compilation it aborts with the error

  "MAKE=make"  "MAKEINFO=/usr/local/src/gcc-3.3.1/missing makeinfo " 
"PICFLAG="  "PICFLAG_FOR_TARGET="  "SHELL=/bin/sh"  "EXPECT=expect" 
"RUNTEST=runtest"  "RUNTESTFLAGS="  "exec_prefix=/usr/local" 
"infodir=/usr/local/info"  "libdir=/usr/local/lib"  "prefix=/usr/local" 
"tooldir=/usr/local/sparc-sun-solaris2.9"  "AR=ar"  "AS=@AS@" 
"CC=/usr/local/src/gcc-3.3.1/gcc/xgcc -B/usr/local/src/gcc-3.3.1/gcc/
-B/usr/local/sparc-sun-solaris2.9/bin/ -B/usr/local/sparc-sun-solaris2.9/lib/
-isystem /usr/local/sparc-sun-solaris2.9/include  -m64"  "CXX=@CXX@" 
"LD=/usr/ccs/bin/ld"  "LIBCFLAGS=-O2 -O  -m64"  "NM=/usr/ccs/bin/nm" 
"PICFLAG="  "RANLIB=true"  "DESTDIR=" DO=all multi-do
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory /usr/local/src/gcc-3.3.1/sparc-sun-solaris2.9/libjava
*** Error code 1
make: Fatal error: Command failed for target `all-target-libjava'
Current working directory /usr/local/src/gcc-3.3.1
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'

This happens whether I allow it to build all the languages or restrict it to C
and c++. It also happens with gcc-3.3

I am running this on a Sunfire 280 running solaris 9 (Sunos 5.9) and using Sun's
C compiler version

cc: Forte Developer 7 C 5.4 2002/03/09


Best wishes....
Colin Bruce



More information about the Gcc-bugs mailing list