gcc 3.2.3 Solaris C,C++ build error
Lars Schouw
gccmailinglist@yahoo.com
Mon Apr 28 03:53:00 GMT 2003
I get the following build error when trying in install
gcc 3.2.3.
Assembler messages:Fatal error: No compiled in support
for 64 bit object file format
gmake[2]: *** [libgcc/sparcv9/_muldi3.o] Error 1
Can anyone explain that error?
How do I solve this problem?
So I need to build by binutils again with 64 bit
support?
Is that because my current assembler was not compiled
for 64 bit?
Can I turn 64 bit support of since I am not sure I
will need it in for my projects... yet.
I have the following setup.
I have Solaris 2.8
gcc 3.2.2
binutils 2.12.1
gmake 3.80
./configure --prefix=/opt/software/gcc/3.3.3
--with-gnu-as
--with-as=/opt/software/binutils/2.12.1/bin/as
--with-gnu-ld
--with-ld=/opt/software/binutils/2.12.1/bin/ld
--enable-languages=c,c++
gmake -j2
and get this output from my build:
gmake
GCC_FOR_TARGET="/home/schouwl/unpack/gcc/gcc-3.2.3/gcc/xgcc
-B/home/schouwl/unpack/gcc/gcc-3.2.3/gcc/
-B/opt/software/gcc/3.3.3/sparc-sun-solaris2.8/bin/
-B/opt/software/gcc/3.3.3/sparc-sun-solaris2.8/lib/
-isystem
/opt/software/gcc/3.3.3/sparc-sun-solaris2.8/include"
\ AR_FOR_TARGET="ar" \ AR_CREATE_FOR_TARGET="ar rc"
\ AR_EXTRACT_FOR_TARGET="" \ AR_FLAGS_FOR_TARGET=""
\ CC="gcc" CFLAGS="-g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional
-pedantic -Wno-long-long" \ HOST_PREFIX="" \
HOST_PREFIX_1="loser-" \ LANGUAGES="" \
LIBGCC2_CFLAGS="-O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED " \ MULTILIB_CFLAGS="" T=
crtfastmath.o(cd intl && gmake all)
gmake[3]: Entering directory
`/home/schouwl/unpack/gcc/gcc-3.2.3/gcc'
gmake[4]: Entering directory
`/home/schouwl/unpack/gcc/gcc-3.2.3/gcc/intl'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/home/schouwl/unpack/gcc/gcc-3.2.3/gcc/intl'
gmake[3]: Leaving directory
`/home/schouwl/unpack/gcc/gcc-3.2.3/gcc'/home/schouwl/unpack/gcc/gcc-3.2.3/gcc/xgcc
-B/home/schouwl/unpack/gcc/gcc-3.2.3/gcc/
-B/opt/software/gcc/3.3.3/sparc-sun-solaris2.8/bin/
-B/opt/software/gcc/3.3.3/sparc-sun-solaris2.8/lib/
-isystem
/opt/software/gcc/3.3.3/sparc-sun-solaris2.8/include
-O2 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem
./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I. -I./. -I./config
-I./../include -m64 -DL_muldi3 -c ./libgcc2.c -o
libgcc/sparcv9/_muldi3.o(cd intl && gmake
all)Assembler messages:Fatal error: No compiled in
support for 64 bit object file format
gmake[2]: *** [libgcc/sparcv9/_muldi3.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[4]: Entering directory
`/home/schouwl/unpack/gcc/gcc-3.2.3/gcc/intl'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/home/schouwl/unpack/gcc/gcc-3.2.3/gcc/intl'
gmake[3]: Leaving directory
`/home/schouwl/unpack/gcc/gcc-3.2.3/gcc'
gmake[2]: Leaving directory
`/home/schouwl/unpack/gcc/gcc-3.2.3/gcc'
And the compilation stops.
Regards,
Lars Schouw
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
More information about the Gcc
mailing list