crosstool bloat

David Karlton dkarlton@themediamall.com
Mon Sep 19 17:41:00 GMT 2005



Dave Korn wrote:
> ----Original Message----
> 
>>From: David Karlton
>>Sent: 19 September 2005 16:27
> 
> 
> 
> 
>>So it looks like binutils-2.15.  Is this a potential culprit?
> 
> 
>   Absolutely so; proceed directly to binutils-2.16.1, do not pass GO, do not
> collect 60kB of null padding!
> 
> 
> 
>>dk
> 
> 
> 
>   Hey!  I resemble that accusation!
> 
> 
>     cheers,
>       DaveK

Well, it didn't work out of the box, as such.

All I did was:

1) Downloaded crosstool-0.38 from kegel.com.

2) Modified demo-mipsel.sh to have this line:

eval `cat mipsel.dat gcc-3.3.4-glibc-2.3.2.dat`        sh all.sh --notest

3) Modified gcc-3.3.4-glibc-2.3.2.dat:

BINUTILS_DIR=binutils-2.16.1

4) Ran 'sh ./demo-mipsel.sh'


It ran for about an hour, then I got:

/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/build-gcc-core/gcc/xgcc 
-B/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/build-gcc-core/gcc/ 
-B/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-core-prefix/mipsel-unknown-linux-gnu/bin/ 
-B/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-core-prefix/mipsel-unknown-linux-gnu/lib/ 
-isystem 
/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-core-prefix/mipsel-unknown-linux-gnu/include 
-O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. 
-I/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc 
-I/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/. 
-I/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/config 
-I/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/../include 
  -DL_divdi3 -c 
/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/gcc/libgcc2.c 
-fexceptions -fnon-call-exceptions -o libgcc/./_divdi3.o
/tmp/ccsFB15B.s: Assembler messages:
/tmp/ccsFB15B.s:956: Error: operation combines symbols in different segments
make[2]: *** [libgcc/./_divdi3.o] Error 1
make[2]: Leaving directory 
`/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/build-gcc-core/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory 
`/home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/build-gcc-core/gcc'
make: *** [all-gcc] Error 2


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



More information about the crossgcc mailing list