This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Problem compiling gcc-3.4.2 and glibc-2.3.2


Hi,

        I am trying to compile a toolchain with binutils-2.15, gcc-3.4.2,
glibc-2.3.2, and linux-2.6.9, using crosstool-0.28.

        The process is failing when building glibc and linux threads.

I have the following in arm-xscale.dat:
KERNELCONFIG=`pwd`/xscale.config
TARGET=arm-linux
TARGET_CFLAGS="-O"
GCC_EXTRA_CONFIG="--with-cpu=xscale  --enable-cxx-flags=-mcpu=xscale"

I have the following on demo-arm-xscale.sh:
TARBALLS_DIR=/usr/local/tarballs
RESULT_TOP=/usr/local
export TARBALLS_DIR RESULT_TOP
GCC_LANGUAGES="c,c++"
export GCC_LANGUAGES
mkdir -p $RESULT_TOP
eval `cat arm-xscale.dat gcc-3.4.2-glibc-2.3.2.dat` sh all.sh --notest
--nounpack

	The error message are given below:

programs/linereader.h:147: warning: inlining failed in call to
'lr_ignore_rest': --param large-function-growth limit reached
programs/ld-collate.c:3716: warning: called from here
programs/linereader.h:147: warning: inlining failed in call to
'lr_ignore_rest': --param large-function-growth limit reached
programs/ld-collate.c:3779: warning: called from here
programs/linereader.h:147: warning: inlining failed in call to
'lr_ignore_rest': --param large-function-growth limit reached
programs/ld-collate.c:3784: warning: called from here
/tmp/ccTjFo6B.s: Assembler messages:
/tmp/ccTjFo6B.s:6512: Error: bad immediate value for offset (4104)
make[2]: ***
[/backups/weekly/toolchain/crosstool-0.28/build/arm-linux/3.4.2/build-glibc/locale/ld-collate.o]
Error 1
make[2]: Leaving directory
`/backups/weekly/toolchain/crosstool-0.28/build/arm-linux/3.4.2/glibc-2.3.2/locale'
make[1]: *** [locale/others] Error 2
make[1]: Leaving directory
`/backups/weekly/toolchain/crosstool-0.28/build/arm-linux/3.4.2/glibc-2.3.2'
make: *** [all] Error 2

        Does anybody have clue, why is it failing?

Regards,
Santhosh N

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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