This is the mail archive of the crossgcc@sourceware.org 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]

Re: crosstool bloat




Dave Korn wrote:
----Original Message----

From: David Karlton
Sent: 22 September 2005 21:01


Dave Korn wrote:

----Original Message----


From: David Karlton
Sent: 22 September 2005 15:04


Dave Korn wrote:


----Original Message----


Still have the bloat issue, but I *was* able to build the toolchain on
Fedora now (the issue with the glibc-2.3.2 configure script complaining
that my gcc 4.0.0 compiler was not acceptable).


Try this patch:


FIXED.

No more 60k bloat.



  Hmm.  Over on the binutils list I'm talking to Maciej who is using gcc
4.0.1 and binutils 2.16.1, and he hasn't been experiencing the problem at
all, and his PHDRS output looks much healthier than yours has been.  Can you
show me what output you get when you rebuild that hello-world example adding
the "-v" flag to the gcc command line?  I want to compare linker options.



    cheers,
      DaveK


Here you go, let me know if you need anything else!

dk


**********************************************************


[dkarlton@howie test]$ /opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/bin/mipsel-unknown-linux-gnu-gcc -v -o hello.3.3.4 hello.c
Reading specs from /opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/specs
Configured with: /home/dkarlton/crosstool-0.38/build/mipsel-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/configure --target=mipsel-unknown-linux-gnu --host=i686-host_pc-linux-gnu --prefix=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu --with-headers=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/mipsel-unknown-linux-gnu/include --with-local-prefix=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/mipsel-unknown-linux-gnu --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 3.3.4


/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/cc1 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=4 hello.c -quiet -dumpbase hello.c -auxbase hello -version -o /tmp/cch33jU6.s
GNU C version 3.3.4 (mipsel-unknown-linux-gnu)
compiled by GNU C version 4.0.0 20050519 (Red Hat 4.0.0-8).
GGC heuristics: --param ggc-min-expand=42 --param ggc-min-heapsize=23856
#include "..." search starts here:
#include <...> search starts here:


/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/include

/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/mipsel-unknown-linux-gnu/sys-include

/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/mipsel-unknown-linux-gnu/include
End of search list.

/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/../../../../mipsel-unknown-linux-gnu/bin/as -EL -g0 -32 -v -KPIC -o /tmp/cc6ia0B7.o /tmp/cch33jU6.s
GNU assembler version 2.16.1 (mipsel-unknown-linux-gnu) using BFD version 2.16.1


/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/collect2 --eh-frame-hdr -EL -dynamic-linker /lib/ld.so.1 -o hello.3.3.4 /opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/../../../../mipsel-unknown-linux-gnu/lib/crt1.o /opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/../../../../mipsel-unknown-linux-gnu/lib/crti.o /opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/crtbegin.o -L/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4 -L/opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/../../../../mipsel-unknown-linux-gnu/lib /tmp/cc6ia0B7.o -lgcc --as-needed -lgcc_s --no-as-needed -rpath-link /lib:/usr/lib -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/crtend.o /opt/crosstool/gcc-3.3.4-glibc-2.3.2/mipsel-unknown-linux-gnu/lib/gcc-lib/mipsel-unknown-linux-gnu/3.3.4/../../../../mipsel-unknown-linux-gnu/lib/crtn.o


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