Problem with Solaris 10 / SPARC

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

 



I'm trying to update an old installation of gcc.  It gets pretty far,
but then dies.  Configuration:

+ env
TMPDIR=/tmp
ABI=64
INSTALL=/usr/ucb/install
CONFIG_SHELL=/usr/bin/bash
CC=gcc -m64
CXX=g++ -m64
CPPFLAGS=-m64
CXXFLAGS=-m64
CFLAGS=-m64
CCFLAGS=-m64

$ configure --enable-threads=posix \
                 --enable-shared \
                 --enable-languages=c,c++ \
                 --with-ld=/usr/ccs/bin/ld \
                 --with-as=/usr/ccs/bin/as \
                 --with-mpfr-lib=/usr/local/lib/64 \
                 --with-gmp-lib=/usr/local/lib/64 \
                 --libdir=/usr/local/lib/64

(I run all this from a script, so the "env" above shows the things
that are defined in the environment by this script before doing the
configure/make.)

And here it blows up:

Making all in testsuite
gmake[5]: Entering directory
`/proj/gcc/src/sparc-sun-solaris2.10/libgomp/testsuite'
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory
`/proj/gcc/src/sparc-sun-solaris2.10/libgomp/testsuite'
gmake[5]: Entering directory `/proj/gcc/src/sparc-sun-solaris2.10/libgomp'
/usr/bin/bash ./libtool --tag=CC   --mode=compile
/proj/gcc/src/./gcc/xgcc -B/proj/gcc/src/./gcc/
-B/usr/local/sparc-sun-solaris2.10/bin/
-B/usr/local/sparc-sun-solaris2.10/lib/ -isystem
/usr/local/sparc-sun-solaris2.10/include -isystem
/usr/local/sparc-sun-solaris2.10/sys-include    -DHAVE_CONFIG_H -I.
-I/usr/soft/that/gcc-4.8.1/src/orig/libgomp
-I/usr/soft/that/gcc-4.8.1/src/orig/libgomp/config/posix
-I/usr/soft/that/gcc-4.8.1/src/orig/libgomp  -Wall -Werror
-Wc,-pthread -g -O2 -m64 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c
-o alloc.lo /usr/soft/that/gcc-4.8.1/src/orig/libgomp/alloc.c
libtool: compile:  /proj/gcc/src/./gcc/xgcc -B/proj/gcc/src/./gcc/
-B/usr/local/sparc-sun-solaris2.10/bin/
-B/usr/local/sparc-sun-solaris2.10/lib/ -isystem
/usr/local/sparc-sun-solaris2.10/include -isystem
/usr/local/sparc-sun-solaris2.10/sys-include -DHAVE_CONFIG_H -I.
-I/usr/soft/that/gcc-4.8.1/src/orig/libgomp
-I/usr/soft/that/gcc-4.8.1/src/orig/libgomp/config/posix
-I/usr/soft/that/gcc-4.8.1/src/orig/libgomp -Wall -pthread -Werror -g
-O2 -m64 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c
/usr/soft/that/gcc-4.8.1/src/orig/libgomp/alloc.c  -fPIC -DPIC -o
.libs/alloc.o
ld.so.1: xgcc: fatal: libgcc_s.so.1: version 'GCC_4.2.0' not found
(required by file
/proj/gcc/src/sparc-sun-solaris2.10/libstdc++-v3/src/.libs/libstdc++.so.6)
ld.so.1: xgcc: fatal: libgcc_s.so.1: open failed: No such file or directory
./libtool: line 1156:  1642 Killed
/proj/gcc/src/./gcc/xgcc -B/proj/gcc/src/./gcc/
-B/usr/local/sparc-sun-solaris2.10/bin/
-B/usr/local/sparc-sun-solaris2.10/lib/ -isystem
/usr/local/sparc-sun-solaris2.10/include -isystem
/usr/local/sparc-sun-solaris2.10/sys-include -DHAVE_CONFIG_H -I.
-I/usr/soft/that/gcc-4.8.1/src/orig/libgomp
-I/usr/soft/that/gcc-4.8.1/src/orig/libgomp/config/posix
-I/usr/soft/that/gcc-4.8.1/src/orig/libgomp -Wall -pthread -Werror -g
-O2 -m64 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c
/usr/soft/that/gcc-4.8.1/src/orig/libgomp/alloc.c -fPIC -DPIC -o
.libs/alloc.o
gmake[5]: *** [alloc.lo] Error 1
gmake[5]: Leaving directory `/proj/gcc/src/sparc-sun-solaris2.10/libgomp'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/proj/gcc/src/sparc-sun-solaris2.10/libgomp'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/proj/gcc/src/sparc-sun-solaris2.10/libgomp'
gmake[2]: *** [all-stage1-target-libgomp] Error 2
gmake[2]: Leaving directory `/proj/gcc/src'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/proj/gcc/src'
gmake: *** [bootstrap-lean] Error 2

Seems like it's not finding the libgcc_s.so.1 that it just compiled.
Perhaps a -B path is missing or something???

Thanks in advance!!!




[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