This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sparc-sun-solaris2.8 && GCC-3.1 && bootstrap problem


Hi,

After:

# --- clean environment as possible
$ exec env -i HOME=$HOME /usr/bin/bash --norc
# --- pollute environment (needed for binutils, gmake gtar etc...)
$ export PATH=/usr/local/bin:/usr/bin
$ export LD_LIBRARY_PATH=/usr/local/lib
# --- build
$ gccversion=3.1
$ ../gcc-$gccversion-src/configure
--prefix=/usr/local/devel/gcc-$gccversion --with-gnu-as --with-gnu-ld
--with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld
--enable-shared=libstdc++ --disable-threads
$ make bootstrap

Where as and ld are binutils 2.11.2, I get:

make[7]: Entering directory
`/usr/local/devel/sources/gcc-3.1-obj/sparc-sun-solaris2.8/sparcv9/libffi'

/bin/sh ./libtool --mode=link
/usr/local/devel/sources/gcc-3.1-obj/gcc/xgcc
-B/usr/local/devel/sources/gcc-3.1-obj/gcc/
-B/usr/local/devel/gcc-3.1/sparc-sun-solaris2.8/bin/
-B/usr/local/devel/gcc-3.1/sparc-sun-solaris2.8/lib/ -isystem
/usr/local/devel/gcc-3.1/sparc-sun-solaris2.8/include  -m64 -fexceptions
-g -O2  -m64 -m64 -o ffitest -shared-libgcc ffitest.lo libffi.la
/usr/local/devel/sources/gcc-3.1-obj/gcc/xgcc
-B/usr/local/devel/sources/gcc-3.1-obj/gcc/
-B/usr/local/devel/gcc-3.1/sparc-sun-solaris2.8/bin/
-B/usr/local/devel/gcc-3.1/sparc-sun-solaris2.8/lib/ -isystem
/usr/local/devel/gcc-3.1/sparc-sun-solaris2.8/include -m64 -fexceptions
-g -O2 -m64 -m64 -o ffitest -shared-libgcc ffitest.o  ./.libs/libffi.a
./.libs/libffi.a(v9.o):../../../../gcc-3.1-src/libffi/src/sparc/v9.S:54:
relocation truncated to fit: R_SPARC_32 .text
:
:
:
:

But,
$ isalist
sparcv9+vis2 sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8
sparcv8-fsmuld sparcv7 sparc


I wonder whether this is the same problem as reported (for solaris2.7)
at  http://gcc.gnu.org/ml/gcc/2002-01/msg00306.html and the like.

If so, it is unclear what I am supposed to do:
* get a binutils that is not yet advocated through the normal channels.
* use the native ld/as (yak)
* something else?

Anybody?

Cheers - Jorgo Bakker


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]