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]

Re: problem with x86_64.dat gcc-4.0.0-glibc-2.3.4.dat


Lothar Werzinger wrote:
Hi, I tried to do a
eval `cat x86_64.dat gcc-4.0.0-glibc-2.3.4.dat` sh all.sh --notest
build with http://kegel.com/crosstool/crosstool-0.35.tar.gz
in order to figure out if that helps me finding a way to build my biarch x86_64. I get the following config error on building glibc:


+ echo Build glibc and linuxthreads
Build glibc and linuxthreads
+ mkdir -p build-glibc
+ cd build-glibc
+ echo
+ test '!' -f Makefile
+ BUILD_CC=gcc
+ CFLAGS='-O '
+ CC='x86_64-unknown-linux-gnu-gcc '
+ AR=x86_64-unknown-linux-gnu-ar
+ RANLIB=x86_64-unknown-linux-gnu-ranlib
+ /home/lothar/tmp/crosstool-0.35/build/x86_64-unknown-linux-gnu/gcc-4.0.0-glibc-2.3.4/glibc-2.3.4/configure --prefix=/usr --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --enable-kernel=2.4.3 --without-cvs --disable-profile --disable-debug --without-gd --without-tls --without-__thread --enable-shared --enable-add-ons=linuxthreads, --with-headers=/opt2/crosstool/gcc-4.0.0-glibc-2.3.4/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/include
...
checking for long double... yes
checking size of long double... configure: error: cannot compute sizeof (long double), 77

That's described here: http://www.embeddedtux.org/pipermail/etux/2005-March/001038.html but it's troubling you're running into this. It means the core gcc can't build apps, I think.

Maybe crosstool.sh should make sure the core gcc
can actually build the kind of test program that
glibc's configure will need.  Hmm.

I can't help with this for a while, I need a bit
of a vacation :-) but perhaps you should try older
versions of crosstool, like 0.34, to see if I broke
something recently.
- Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

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