This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
arm-linux crosscompile hassels with current CVS
- From: Tobias Hunger <tobias at fresco dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 30 Jul 2002 10:24:42 +0200
- Subject: arm-linux crosscompile hassels with current CVS
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there!
I am trying to build a crosscompiled (from i686-linux to arm-linux) glibc,
pulled from CVS yesterday, using gcc 3.1. I did not give any special branch
on cvs checkout, I hope I pulled the right version;-). I configure glibc with
./configure \
--host arm-linux --build i686-linux \
--disable-profile \
--enable-add-ons \
--prefix=/usr \
--infodir=/usr/share/info \
--libdir=/lib \
--mandir=/usr/share/man \
--enable-shared \
--with-headers=/some/path/linux/include \
--without-cvs \
Here is the error I get:
arm-linux-gcc -nostdlib -nostartfiles -o iconv_prog
- -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,combreloc ../csu/crt1.o
../csu/crti.o `arm-linux-gcc --print-file-name=crtbegin.o` iconv_prog.o
iconv_charmap.o charmap.o charmap-dir.o linereader.o dummy-repertoire.o
simple-hash.o xstrdup.o xmalloc.o
- -Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
../libc.so.6 ../libc_nonshared.a -lgcc `arm-linux-gcc
- --print-file-name=crtend.o` ../csu/crtn.o
../libc.so.6: undefined reference to `__divdi3_internal'
collect2: ld returned 1 exit status
make[3]: *** [iconv_prog] Error 1
make[3]: Leaving directory `/some/path/build/libc/iconv'
make[2]: *** [iconv/subdir_install] Error 2
Any ideas?
- --
Gruss,
Tobias
- ------------------------------------------------------------
Tobias Hunger The box said: 'Windows 95 or better'
tobias@fresco.org So I installed Linux.
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9Rk1Kv0FZW3NyoqURAgQRAKChC9saKwwi5c5TY7PUH2wHZHpa3ACdFdb7
zx+UW8+pdmvx5RdywC6khho=
=t+PU
-----END PGP SIGNATURE-----