This is the mail archive of the
crossgcc@sourceware.org
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
crosstool questions on ia64
- From: Eric Schwartz <eric dot schwartz at hp dot com>
- To: crossgcc at sourceware dot org
- Date: Tue, 30 Jan 2007 15:06:46 -0700
- Subject: crosstool questions on ia64
It's a very long (and slightly annoying) story, but I'm using the
crosstool project to compile glibc on ia64 so that I can use a patch to
buildroot which allows it to include glibc instead of uClibc-- but only
if that glibc is built by crosstool. Argh! Anyhow, so far, so good. I
download crosstool 0.43, and start trying to build it with
eval `cat ia64.dat gcc-4.1.1-glibc-2.3.6-tls.dat` sh all.sh --notest
in the demo-ia64.sh file. To my surprise, I find that it's apparently
trying to compile gcc 3.3.6, and fails, due to a compile error in the
unwind code on ia64 from 3.3.6. The source of this appears to be this
line in gcc-4.1.1-glibc-2.3.6.dat:
GCC_CORE_DIR=gcc-3.3.6
Now, GCC_DIR is set to 4.1.1, which should compile cleanly. So what is
GCC_CORE_DIR for, and why is it set to such an old version of GCC? I've
tried deleting that line, and it seems to be building okay, but I
couldn't find anything on the crosstool site to indicate what it's for,
and I wouldn't mind some assurance that was the right thing to do (or
alternatively, some indication of what the right thing to do is).
Also, when trying to compile the above combination, I got a confusing
error in the
build/ia64-unknown-linux-gnu/gcc-4.1.1-glibc-2.3.6/build-glibc/config.log
file:
configure:7172: checking size of long double
configure:7491: ia64-unknown-linux-gnu-gcc -o conftest -O
conftest.c >&5
/home/emschwar/crosstool-0.43/build/ia64-unknown-linux-gnu/gcc-4.1.1-glibc-2.3.6
/gcc-core-prefix/lib/gcc/ia64-unknown-linux-gnu/4.1.1/../../../../ia64-unknown-linux-gnu/bin/ld:
crt1.o: No such file: No such file or directory
I'm not sure which crt1.o it means-- I have /usr/lib/crt1.o, but clearly
that's not what it's referring to. "find crosstool-0.43 -name crt1.o
-print" doesn't show me anything, so if it's meant to be built by cross
tool, it isn't being. :( Which bit is supposed to compile it? I can
probably narrow it down from there.
Thanks for any help!
-=Eric
--
For unsubscribe information see http://sourceware.org/lists.html#faq