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] |
Unfortunately it croaked in sscanf.c (complaining about a va_start in
a function that has constant parameters), probably because the
configure was wrong.
Hah. That's a known problem. I've squirreled away the workaround at http://www.kegel.com/crossgcc/crosstool-0.2/glibc-2.3.2-patches/sscanf.patch
Ok, grabbed your patch and applied. Is this patch going back into glibc's tree?
Now my build gest ot the point in glibc where it tries to install
glibc, and in the process it attempts to create librtld.make.o, but
fails miserably since it can't find -lgcc, suprise, suprise:
ppc-linux-gcc -nostdlib -nostartfiles -r -o /home/peter/work/cvs-local/xgcc/obj/ppc-linux/ppc-linux-glibc/elf/librtld.map.o '-Wl,-(' /home/peter/work/cvs-local/xgcc/obj/ppc-linux/ppc-linux-glibc/elf/dl-allobjs.os /home/peter/work/cvs-local/xgcc/obj/ppc-linux/ppc-linux-glibc/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/home/peter/work/cvs-local/xgcc/obj/ppc-linux/ppc-linux-glibc/elf/librtld.mapT /home/mylocal/xcomp/target/lib/gcc-lib/ppc-linux/3.3/../../../../ppc-linux/bin/ld: cannot find -lgcc...
Now to try your step of installing the glibc headers using my bare-bones bootstrap compiler and see if that succeeds, then I can go back, build libgcc in the bootstrap, then build up glibc proper, then come back to gcc and build a full-up compiler...
Somehow I thought I had this working with fewer iterations than that. I'm somewhat distracted at the moment -- I wanted to make things easy on myself and test my cross-build script by building an x86 cross compiler, and am learning that's not so easy on an x86 box! My latest kludge is a patch that does lots of this: - ac_cv_prog_cc_cross=no + ac_cv_prog_cc_cross=yes :-) - Dan
-- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
------ 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] |