crosstool bloat

Dave Korn dave.korn@artimi.com
Tue Sep 20 09:08:00 GMT 2005


----Original Message----
>From: David Karlton
>Sent: 19 September 2005 21:37

> 
> I was able to build, but alas, anything I compile is still 70k...
> 
> ******************************************
> 
> dkarlton@fox:~/test> ll hello.3.3.4
> -rwxr-xr-x  1 dkarlton users 70871 2005-09-19 16:33 hello.3.3.4
> dkarlton@fox:~/test> objdump -x hello.3.3.4
> 
> hello.3.3.4:     file format elf32-little
> hello.3.3.4
> architecture: UNKNOWN!, flags 0x00000112:
> EXEC_P, HAS_SYMS, D_PAGED
> start address 0x00400600
> 
> Program Header:
>      PHDR off    0x00000034 vaddr 0x00400034 paddr 0x00400034 align 2**2
>           filesz 0x000000e0 memsz 0x000000e0 flags r-x
>    INTERP off    0x00000114 vaddr 0x00400114 paddr 0x00400114 align 2**0
>           filesz 0x0000000d memsz 0x0000000d flags r--
> 0x70000000 off    0x00000144 vaddr 0x00400144 paddr 0x00400144 align 2**2
>           filesz 0x00000018 memsz 0x00000018 flags r--
>      LOAD off    0x00000000 vaddr 0x00400000 paddr 0x00400000 align 2**16
>           filesz 0x00000ac4 memsz 0x00000ac4 flags r-x
>      LOAD off    0x00010000 vaddr 0x10000000 paddr 0x10000000 align 2**16
>           filesz 0x000000a0 memsz 0x000000b0 flags rw-

  For the exact same reason.

  Ok, first thing you need to do is verify that the patch did indeed get
applied to the source and that the compiler build with crosstool did come
from that source, just to be sure nothing went wrong in the build process.
Then, if that all checks out, which I expect it will, you'd better have a go
with the gas patch:


>> and considering the possible gas-patch at
>> 
>> http://sources.redhat.com/ml/binutils/2005-02/msg00648.html
>> 

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


------
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