arm-none-linux-gnueabi finishes in an infinite glibc configure loop
Valentin Longchamp
valentin.longchamp@epfl.ch
Tue Sep 19 13:11:00 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
Bridge Wu wrote:
> I ever built a EABI tool chain for xscale successfully. I think you
> can try GLIBC_ADDON_OPTIONS=nptl,ports option instead of
> GLIBC_ADDON_OPTIONS=nptl,../glibc-2.4/ports.
>
I tried this, but the behavior is exactly the same, still that infinite
glibc configure loop ! I don't know where it comes from ...
Now to crossdev, my build failed:
> lsa1pc7 ~ # crossdev -t arm-none-linux-gnueabi
> --------------------------------------------------------------------------------
> * Host Portage ARCH: x86
> * Target Portage ARCH: arm
> * Target System: arm-none-linux-gnueabi
> * Stage: 4 (C/C++ compiler)
>
> * binutils: binutils-[latest]
> * gcc: gcc-[latest]
> * headers: linux-headers-[latest]
> * libc: glibc-[latest]
>
> * PORTDIR_OVERLAY: /usr/local/portage
> * PORT_LOGDIR: /var/log/portage
> * PKGDIR: /usr/portage/packages/cross/arm-none-linux-gnueabi
> * PORTAGE_TMPDIR: /var/tmp/cross/arm-none-linux-gnueabi
> _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
> * Forcing the latest versions of binutils-config/gcc-config ... [ ok ]
> * Log: /var/log/portage/cross-arm-none-linux-gnueabi-binutils.log
> * Emerging cross-binutils ... [ ok ]
> * Log: /var/log/portage/cross-arm-none-linux-gnueabi-gcc-stage1.log
> * Emerging cross-gcc-stage1 ... [ ok ]
> * Log: /var/log/portage/cross-arm-none-linux-gnueabi-linux-headers.log
> * Emerging cross-linux-headers ...
>
> * linux-headers failed :(
> * If you file a bug, please attach the following logfiles:
> * /var/log/portage/cross-arm-none-linux-gnueabi-info.log
> * /var/log/portage/cross-arm-none-linux-gnueabi-linux-headers.log
- From the log file, here is the problem:
...
> Library routines
> *
> CRC-CCITT functions (CRC_CCITT) [N/m/y/?] n
> CRC16 functions (CRC16) [N/m/y/?] n
> CRC32 functions (CRC32) [Y/?] y
> CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] n
> make[1]: arm-none-linux-gnueabi-gcc: Command not found
> make[1]: arm-none-linux-gnueabi-gcc: Command not found
> make: arm-none-linux-gnueabi-gcc: Command not found
> CHK include/linux/version.h
> SPLIT include/linux/autoconf.h -> include/config/*
> SYMLINK include/asm-arm/arch -> include/asm-arm/arch-versatile
> Generating include/asm-arm/mach-types.h
> CC arch/arm/kernel/asm-offsets.s
> /bin/sh: arm-none-linux-gnueabi-gcc: command not found
> make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 127
> make: *** [prepare0] Error 2
>
> !!! ERROR: cross-arm-none-linux-gnueabi/linux-headers-2.6.17-r1 failed.
> Call stack:
> ebuild.sh, line 1546: Called dyn_compile
> ebuild.sh, line 937: Called src_compile
> ebuild.sh, line 1255: Called kernel-2_src_compile
> kernel-2.eclass, line 1011: Called compile_headers
> kernel-2.eclass, line 452: Called die
>
> !!! prepare failed
> !!! If you need support, post the topmost build error, and the call stack if rel
> evant.
>
> !!! This ebuild is from an overlay: '/usr/local/portage'
> ^H... done!
...
It cannot find the compiler, by here is what the produced cross-compiler
binaries look like:
> lsa1pc7 ~ # ls /usr/bin/arm-none-linux-gnueabi-*
> /usr/bin/arm-none-linux-gnueabi-addr2line
> /usr/bin/arm-none-linux-gnueabi-ar
> /usr/bin/arm-none-linux-gnueabi-arm-none-linux-gnueabi-cpp
> /usr/bin/arm-none-linux-gnueabi-arm-none-linux-gnueabi-gcc
> /usr/bin/arm-none-linux-gnueabi-arm-none-linux-gnueabi-gccbug
> /usr/bin/arm-none-linux-gnueabi-arm-none-linux-gnueabi-gcov
> /usr/bin/arm-none-linux-gnueabi-as
> /usr/bin/arm-none-linux-gnueabi-cc
> /usr/bin/arm-none-linux-gnueabi-c++filt
> /usr/bin/arm-none-linux-gnueabi-ld
> /usr/bin/arm-none-linux-gnueabi-nm
> /usr/bin/arm-none-linux-gnueabi-objcopy
> /usr/bin/arm-none-linux-gnueabi-objdump
> /usr/bin/arm-none-linux-gnueabi-ranlib
> /usr/bin/arm-none-linux-gnueabi-readelf
> /usr/bin/arm-none-linux-gnueabi-size
> /usr/bin/arm-none-linux-gnueabi-strings
> /usr/bin/arm-none-linux-gnueabi-strip
Looks like my crossdev profile was a bit strange or ????
Regards,
Valentin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFD+zACGmesagzEtoRAjxfAJ9ck5Mhx/8B5lU45quE02gWpeQPQwCdFIrd
9B4ljGzMF/rI/SrXI0r29WU=
=f8ju
-----END PGP SIGNATURE-----
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list