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] |
yes, i know this has a known patch. for my bleeding edge combo of toolchain parts, the inline patch fixed the last problem (at least, that's not where the build blew up this time.) now, it's (big snip coming here, 77000 lines in): .../home/rob/ct/crosstool-0.28-rc37/build/sh3eb-unknown-linux-gnu/gcc-4.0-20041128-glibc-20041204/build-glibc/elf/ld.so -lgcc -lgcc_eh /home/rob/ct/results/sh3eb-unknown-linux-gnu/gcc-4.0-20041128-glibc-20041204/lib/gcc/sh3eb-unknown-linux-gnu/4.0.0/../../../../sh3eb-unknown-linux-gnu/bin/ld: cannot find -lgcc_eh and, sure enough, we have patches/glibc-2.3.3/glibc-2.3.3-libeh-kludge.patch which appears to address that problem beautifully. well, at least it does with glibc-2.3.3, the patch being fairly strightforward -- get rid of the library reference on that line in Makeconfig: ===== --- libc/Makeconfig.jj 2003-07-22 08:25:32.000000000 -0400 +++ libc/Makeconfig 2003-09-11 16:23:08.000000000 -0400 @@ -505,7 +505,7 @@ link-libc-bounded = $(common-objpfx)libc link-extra-libs-bounded = $(foreach lib,$(LDLIBS-$(@F:%-bp=%)),$(common-objpfx)$(lib)_b.a) ifndef gnulib -gnulib := -lgcc -lgcc_eh +gnulib := -lgcc endif ifeq ($(elf),yes) +preinit = $(addprefix $(csu-objpfx),crti.o) ===== but Makeconfig in glibc-20041204 has a more complicated structure at that point: ===== ifndef gnulib ifneq ($(have-as-needed),yes) libgcc_eh := -lgcc_eh else libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) -Wl,--no-as-needed endif ifneq ($(have-cc-with-libunwind),yes) gnulib := -lgcc $(libgcc_eh) static-gnulib := -lgcc -lgcc_eh else gnulib := -lgcc $(libgcc_eh) -lunwind static-gnulib := -lgcc -lgcc_eh -lunwind endif endif ===== i'm open to suggestions as to the equivalent patch in *this* Makeconfig file, and i'll give it a shot before i head out for lunch. rday ------ 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] |