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]

Build problems; Please help


Hi,
   I have been trying to build the latest egcs snapshot for
*arm-wrs-vxworks* target on a
*sparc-sun-solaris2.6* host. Somehow I am facing compilation errors(!!) that
I have no
clue how to solve.

My configure script is
../egcs-20000717/configure --prefix=/home/jbrahma/local
--target=arm-wrs-vxworks --with-newlib --with-headers=/vobs/OS/wind/target/h
--with-libs="/vobs/OS/wind/host/sun4-solaris2/lib " --disable-biendian
--enable-languages="c c++" --disable-multilib


The error that I get is
--------------------------------------------------------
/home/jbrahma/local/zip/build-egcs/gcc/xgcc
-B/home/jbrahma/local/zip/build-egcs/gcc/  \
-B/home/jbrahma/local/arm-wrs-vxworks/bin/
-I/home/jbrahma/local/arm-wrs-vxworks/include -O2  \
-DCROSS_COMPILE -DIN_GCC  -DSVR4  -g -O2 -isystem ./include  -Dinhibit_libc
-fno-inline -g1  \
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
\
-I../../egcs-20000717/gcc -I../../egcs-20000717/gcc/config
-I../../egcs-20000717/gcc/../include  \
-mthumb -DL_muldi3 -c ../../egcs-20000717/gcc/libgcc2.c -o
libgcc/thumb/_muldi3.o
/var/tmp/ccemnK8B.s: Assembler messages:
/var/tmp/ccemnK8B.s:95: Error: bad instruction `push {r4,r5,r6,r7,lr}'
make[2]: *** [libgcc/thumb/_muldi3.o] Error 1
make[2]: Leaving directory `/home/jbrahma/local/zip/build-egcs/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/jbrahma/local/zip/build-egcs/gcc'
make: *** [all-gcc] Error 2
---------------------------------

I don't know why the assembler is complaining. Why is it building the
multilib
even when I pass the option --disable-multilib to configure. Is it that I am
missing
a patch / a configure options / something totally different. I tried
searching the
mailing list archive. But I couldn't find something that is related to this.

Any help is greatly appreciated.

JP Brahma


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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