ld coredump building gcc 3.4.1 on Solaris 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I am trying to compile gcc 3.4.1 on a Solaris 7 server.

The parameters I used were:

/opt/academy/gnu/src/gcc-3.4.1/configure --prefix=/opt/academy/gnu
--with-ld=/opt/academy/gnu/bin/ld --with-as=/opt/academy/gnu/bin/as
--disable-multilib

I am using gnu make 3.80 and binutils 2.15, I disabled multilib as we are
running 32bit only.

The error is shown below:

make[1]: Leaving directory `/opt/academy/gnu/src/build-gcc/intl'
make[1]: Entering directory `/opt/academy/gnu/src/build-gcc/zlib'
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/gnu/bin/gcc" "CFLAGS=-g
-O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2"
"INSTALL=/usr/gnu/bin/ginstall -c" "INSTALL_DATA=/usr/gnu/bin/ginstall -c -m
644" "INSTALL_PROGRAM=/usr/gnu/bin/ginstall -c"
"INSTALL_SCRIPT=/usr/gnu/bin/ginstall -c" "LDFLAGS=" "LIBCFLAGS=-g -O2"
"LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo
--split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh"
"EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/opt/academy/gnu" "infodir=/opt/academy/gnu/info"
"libdir=/opt/academy/gnu/lib" "prefix=/opt/academy/gnu"
"tooldir=/opt/academy/gnu/sparc-sun-solaris2.7" "AR=ar" "AS=as"
"CC=/usr/gnu/bin/gcc" "CXX=c++" "LD=/usr/ccs/bin/ld" "LIBCFLAGS=-g -O2"
"NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do
make[1]: Leaving directory `/opt/academy/gnu/src/build-gcc/zlib'
Bootstrapping the compiler
make[1]: Entering directory `/opt/academy/gnu/src/build-gcc/gcc'
make CC=" stage1/xgcc -Bstage1/
-B/opt/academy/gnu/sparc-sun-solaris2.7/bin/" CC_FOR_BUILD=" stage1/xgcc
-Bstage1/ -B/opt/academy/gnu/sparc-sun-solaris2.7/bin/" \
         STAGE_PREFIX=stage1/ \
         ADAFLAGS="" CFLAGS="-g -O2" LDFLAGS=""
WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long
-Wold-style-definition " libdir=/opt/academy/gnu/lib LANGUAGES="c gcov
gcov-dump c++ f77 java objc" MAKEINFO="makeinfo --split-size=5000000"
MAKEINFOFLAGS="--no-split" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \
         CFLAGS="-g -O2" WERROR=""
make[2]: Entering directory `/opt/academy/gnu/src/build-gcc/gcc'
stage1/xgcc -Bstage1/ -B/opt/academy/gnu/sparc-sun-solaris2.7/bin/   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o genattrtab \
 genattrtab.o genautomata.o \
 rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o
insn-conditions.o print-rtl1.o errors.o \
 varray.o ../libiberty/libiberty.a -lm
collect2: ld terminated with signal 11 [Segmentation Fault], core dumped
make[2]: *** [genattrtab] Error 1
make[2]: Leaving directory `/opt/academy/gnu/src/build-gcc/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/opt/academy/gnu/src/build-gcc/gcc'
make: *** [bootstrap] Error 2

Can anyone help?

Thanks

Simon McGarry
Technical Support Consultant
Capita Software Services
0870 1631834
simon.mcgarry@xxxxxxxxxxxx


---------------------------------------------------------------------
This Email is confidential and may also be privileged. If you are not the
intended recipient, please notify the sender IMMEDIATELY; you should not
copy the email or use it for any purpose or disclose its contents to any
other person.

Any statements made, or intentions expressed in this communication may not
necessarily reflect the view of the Capita Group and that the content herein
may not be held binding upon the Capita Group or any associated company.
---------------------------------------------------------------------- 



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux