[CT-NG] Build fails at "Installing C library headers & start files" (glib 2.3.5)

Khem Raj raj.khem@gmail.com
Sat Feb 4 16:49:00 GMT 2012


On Sat, Feb 4, 2012 at 2:58 AM, Josh Kugelmann <joshk@y7mail.com> wrote:
> I am using glibc 2.3.5 because the target system runs a 2.4 kernel (and cannot be upgraded due since the NAND driver compiled into the kernel was not included in the kernel source).
>
> Relevant section of build.log:
>
>> [INFO ]  Installing C library headers & start files
>> [EXTRA]    Configuring C library
>> [DEBUG]    Using gcc for target    : '/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/gcc-core-static/bin/arm-rsmedia-linux-gnu-gcc'
>> [DEBUG]    Configuring with addons : 'nptl,ports'
>> [DEBUG]    Extra config args passed: '--disable-debug --disable-sanity-checks --enable-kernel=2.4.18 --with-__thread --with-tls --enable-shared --without-fp --enable-add-ons=nptl,ports'
>> [DEBUG]    Extra CC args passed    : ' -U_FORTIFY_SOURCE  -mlittle-endian -march=armv4   -mtune=arm920t  -msoft-float  -O2 '
>> [DEBUG]    Extra flags (multilib)  : ''
>> [DEBUG]    ==> Executing: 'BUILD_CC=x86_64-build_apple-darwin11.3.0-gcc' 'CFLAGS= -U_FORTIFY_SOURCE  -mlittle-endian -march=armv4   -mtune=arm920t  -msoft-float  -O2 ' 'CC=arm-rsmedia-linux-gnu-gcc    ' 'AR=arm-rsmedia-linux-gnu-ar' 'RANLIB=arm-rsmedia-linux-gnu-ranlib' '/bin/bash' '/Volumes/rsmedia-toolchain/.build/src/glibc-2.3.5/configure' '--prefix=/usr' '--build=x86_64-build_apple-darwin11.3.0' '--host=arm-rsmedia-linux-gnu' '--cache-file=/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/build-libc-startfiles/config.cache' '--without-cvs' '--disable-profile' '--without-gd' '--with-headers=/Volumes/rsmedia-toolchain/x-tools/arm-rsmedia-linux-gnu/arm-rsmedia-linux-gnu/sysroot/usr/include' '--disable-debug' '--disable-sanity-checks' '--enable-kernel=2.4.18' '--with-__thread' '--with-tls' '--enable-shared' '--without-fp' '--enable-add-ons=nptl,ports'
>> [CFG  ]    configure: loading cache /Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/build-libc-startfiles/config.cache
>> [CFG  ]    checking build system type... x86_64-build_apple-darwin11.3.0
>> [CFG  ]    checking host system type... arm-rsmedia-linux-gnu
>> [CFG  ]    running configure fragment for add-on nptl
>> [CFG  ]    running configure fragment for add-on ports
>> [CFG  ]    ports add-on running preconfigure fragment sysdeps/am33/preconfigure
>> [CFG  ]    checking sysdep dirs... sysdeps/arm/elf nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread nptl/sysdeps/unix/sysv nptl/sysdeps/unix ports/sysdeps/unix/sysv/linux ports/sysdeps/unix/sysv ports/sysdeps/unix sysdeps/unix/sysv/linux/arm sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
>> [CFG  ]    checking for a BSD-compatible install... /Volumes/rsmedia-toolchain/.build/tools/bin/install -c
>> [CFG  ]    checking whether ln -s works... yes
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-gcc... arm-rsmedia-linux-gnu-gcc
>> [CFG  ]    checking for suffix of object files... o
>> [CFG  ]    checking whether we are using the GNU C compiler... yes
>> [CFG  ]    checking whether arm-rsmedia-linux-gnu-gcc     accepts -g... yes
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-gcc     option to accept ISO C89... unsupported
>> [CFG  ]    checking for gcc... x86_64-build_apple-darwin11.3.0-gcc
>> [CFG  ]    checking how to run the C preprocessor... arm-rsmedia-linux-gnu-gcc     -E
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-g++... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-c++... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-gpp... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-aCC... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-CC... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-cxx... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-cc++... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-cl.exe... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-FCC... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-KCC... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-RCC... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-xlC_r... no
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-xlC... no
>> [CFG  ]    checking for g++... g++
>> [CFG  ]    configure: WARNING: using cross tools not prefixed with host triplet
>> [CFG  ]    checking whether we are using the GNU C++ compiler... yes
>> [CFG  ]    checking whether g++ accepts -g... yes
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-ranlib... arm-rsmedia-linux-gnu-ranlib
>> [CFG  ]    checking whether /Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/gcc-core-static/lib/gcc/arm-rsmedia-linux-gnu/4.4.6/../../../../arm-rsmedia-linux-gnu/bin/as is GNU as... yes
>> [CFG  ]    checking whether /Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/gcc-core-static/lib/gcc/arm-rsmedia-linux-gnu/4.4.6/../../../../arm-rsmedia-linux-gnu/bin/ld is GNU ld... yes
>> [CFG  ]    checking for /Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/gcc-core-static/lib/gcc/arm-rsmedia-linux-gnu/4.4.6/../../../../arm-rsmedia-linux-gnu/bin/as... /Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/gcc-core-static/lib/gcc/arm-rsmedia-linux-gnu/4.4.6/../../../../arm-rsmedia-linux-gnu/bin/as
>> [CFG  ]    checking version of /Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/gcc-core-static/lib/gcc/arm-rsmedia-linux-gnu/4.4.6/../../../../arm-rsmedia-linux-gnu/bin/as... 2.21.1, bad
>> [CFG  ]    checking for /Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/gcc-core-static/lib/gcc/arm-rsmedia-linux-gnu/4.4.6/../../../../arm-rsmedia-linux-gnu/bin/ld... /Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/gcc-core-static/lib/gcc/arm-rsmedia-linux-gnu/4.4.6/../../../../arm-rsmedia-linux-gnu/bin/ld
>> [CFG  ]    checking version of /Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/gcc-core-static/lib/gcc/arm-rsmedia-linux-gnu/4.4.6/../../../../arm-rsmedia-linux-gnu/bin/ld... 2.21.1, bad

please post config.log from glibc build tree

>> [CFG  ]    checking for pwd... /bin/pwd
>> [CFG  ]    checking for arm-rsmedia-linux-gnu-gcc... (cached) arm-rsmedia-linux-gnu-gcc
>> [CFG  ]    checking version of arm-rsmedia-linux-gnu-gcc    ... 4.4.6, ok
>> [CFG  ]    checking for gnumake... gnumake
>> [CFG  ]    checking version of gnumake... 3.81, ok
>> [CFG  ]    checking for gnumsgfmt... no
>> [CFG  ]    checking for gmsgfmt... no
>> [CFG  ]    checking for msgfmt... msgfmt
>> [CFG  ]    checking version of msgfmt... 0.18.1, ok
>> [CFG  ]    checking for makeinfo... makeinfo
>> [CFG  ]    checking version of makeinfo... 4.8, ok
>> [CFG  ]    checking for sed... sed
>> [CFG  ]    checking version of sed... 4.2.1, ok
>> [CFG  ]    checking for autoconf... autoconf
>> [CFG  ]    checking whether autoconf works... yes
>> [ERROR]    configure: error:
>> [CFG  ]    *** These critical programs are missing or too old: as ld
>> [CFG  ]    *** Check the INSTALL file for required versions.
>> [ERROR]
>> [ERROR]  >>
>> [ERROR]  >>  Build failed in step 'Installing C library headers & start files'
>> [ERROR]  >>        called in step '(top-level)'
>> [ERROR]  >>
>> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@158]
>> [ERROR]  >>        called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@348]
>> [ERROR]  >>        called from: do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@144]
>> [ERROR]  >>        called from: do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60]
>> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@597]
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list