This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
HELP! bootstrap failure on Solaris 2.8 SPARC
- From: "Thomas E. Vaughan" <tevaugha at ball dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 29 Apr 2005 18:01:59 -0600
- Subject: HELP! bootstrap failure on Solaris 2.8 SPARC
- Reply-to: tevaugha at ball dot com, tevaughan at comcast dot net
I really tried to follow all of the instructions, but maybe
I missed something. Don't really see anything about this on
google.
I installed all of the Solaris-2.8 patches.
I removed /usr/ucb from my PATH. I moved /usr/xpg4/bin
after /usr/bin in the PATH. I put /usr/local/bin at front
of PATH.
I installed for Solaris 2.8 all patches recommended by the
gcc docs and by Sun.
I applied the recommended patches to the binutils-2.15
source and built binutils with a binary install of
gcc-2.95.3.
Using the same binary gcc-2.95.3, I built gcc-2.95.3 from
source. Everything seemed to go OK. I used the new
gcc-2.95.3 to build SAMBA, and it seems to work OK.
Then I tried the following (for each of gcc-4.0.0 and
gcc-3.4.3, but the gcc-3.4.3 is shown as an example):
../gcc-3.4.3/configure
--program-suffix=-3.4
--with-gnu-as --with-as=/usr/local/bin/as
--with-gnu-ld --with-ld=/usr/local/bin/ld
--enable-languages=c,c++
make bootstrap
Here's a transcript of the failure of gcc-3.4.3. The same
problem happens when I try to make bootstrap for gcc-4.0.0:
/data/local/src/gcc-3.4.3-obj/gcc/g++ -shared-libgcc -B/data/local/src/gcc-3.4.3-obj/gcc/ -nostdinc++ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -m64 -g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -DLOCALEDIR=/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/po/share/locale -g -O2 -m64 -m64 -o abi_check abi_check.o -L/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src -L/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs -lv3test -L/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/testsuite -lm -Wl,--rpath -Wl,/data/local/src/gcc-3.4.3-obj/gcc/sparcv9 -Wl,--rpath -Wl,/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs
/usr/local/bin/ld: abi_check: hidden symbol `__eprintf' in /data/local/src/gcc-3.4.3-obj/gcc/sparcv9/libgcc.a(_eprintf.oS) is referenced by DSO
collect2: ld returned 1 exit status
make[7]: *** [abi_check] Error 1
make[7]: Leaving directory `/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/testsuite'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory `/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/libstdc++-v3'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory `/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/data/local/src/gcc-3.4.3-obj/sparc-sun-solaris2.8/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/data/local/src/gcc-3.4.3-obj'
make: *** [bootstrap] Error 2
--
Thomas E. Vaughan (303) 939-6386 Ball Aerospace, Boulder