Buildroot just doesn't build. uClibc-configured depends on c ross toolchain?

Alessio.MASSARO at oxinst.co.uk Alessio.MASSARO at oxinst.co.uk
Wed Mar 1 17:13:56 UTC 2006


If it doesn't build, then maybe it would be better to take the option out of
the menuconfig. Or not?

-----Original Message-----
From: Peter S. Mazinger [mailto:ps.m at gmx.net] 
Sent: 01 March 2006 11:11
To: Alessio.MASSARO at oxinst.co.uk
Cc: uclibc at uclibc.org
Subject: Re: Buildroot just doesn't build. uClibc-configured depends on
cross toolchain?

On Wed, 1 Mar 2006 Alessio.MASSARO at oxinst.co.uk wrote:

> I've attached the .config files.
> 
> I'm trying to build a very simple 686 target with the daily uclibc and 
> busybox snapshots (2.6.12 headers, latest buildutils, gcc 4.0.2) on an 
> AMD Linux 64 bit machine.
> 
> I'll try to investigate, but it looks like something a lot more people 
> ought to be having problems with.
> 
> I also noticed that the uclibc-configured target (built even before
> binutils) requires the cross toolchain (some macros try to use 
> i686-linux-gcc). Strange.
> 
> make dies as follows:

nptl is not supported, disable it, you should currently stick w/
LINUXTHREADS_OLD

Peter
> 
> 
> 
>  
> if [ -f "target/generic/skel.tar.gz" ] ; then \
> 	zcat target/generic/skel.tar.gz | tar -C /svn/buildroot/build_i686 
> -xf -; \ fi; if [ -d "target/generic/target_skeleton" ] ; then \
> 	cp -a target/generic/target_skeleton/* 
> /svn/buildroot/build_i686/root/; \ fi; touch 
> /svn/buildroot/build_i686/staging_dir/fakeroot.env
> find /svn/buildroot/build_i686/root -type d -name CVS | xargs rm -rf 
> find /svn/buildroot/build_i686/root -type d -name .svn | xargs rm -rf 
> rm -rf /svn/buildroot/toolchain_build_i686/linux
> mkdir -p /svn/buildroot/toolchain_build_i686
> bzcat /usr/dl/linux-libc-headers-2.6.12.0.tar.bz2 | tar -C
> /svn/buildroot/toolchain_build_i686   -xf -
> mv /svn/buildroot/toolchain_build_i686/linux-libc-headers-2.6.12.0
> /svn/buildroot/toolchain_build_i686/linux
> touch /svn/buildroot/toolchain_build_i686/linux/.unpacked
> toolchain/patch-kernel.sh /svn/buildroot/toolchain_build_i686/linux
> toolchain/kernel-headers linux-libc-headers-2.6.12\*.patch
> 
> Applying linux-libc-headers-2.6.12.0-config-base-small.patch using
> plaintext: 
> patching file include/linux/threads.h
> patching file include/linux/vt_kern.h
> 
> Applying linux-libc-headers-2.6.12.0-mips-nptl.patch using plaintext: 
> patching file include/asm-mips/inst.h
> patching file include/asm-mips/unistd.h touch 
> /svn/buildroot/toolchain_build_i686/linux/.patched
> rm -f /svn/buildroot/toolchain_build_i686/linux/include/asm
> touch 
> /svn/buildroot/toolchain_build_i686/linux/include/linux/autoconf.h;
> touch /svn/buildroot/toolchain_build_i686/linux/.configured
> cp toolchain/uClibc/uClibc.config
> /svn/buildroot/toolchain_build_i686/uClibc/.config
> /svn/buildroot/toolchain_build_i686/bin/sed -i -e
> 's,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="/svn/buildroot/bui
> ld_i68 6/staging_dir/bin/i686-linux-uclibc-",g' \
> 	-e 's,# TARGET_i386 is not set,TARGET_i386=y,g' \
> 	-e 's,^TARGET_ARCH="none",TARGET_ARCH=\"i386\",g' \
> 	-e
> 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"/svn/buildroot/toolchain_build_i6
> 86/lin
> ux\",g' \
> 	-e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \
> 	-e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \
> 	-e
> 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
> 	/svn/buildroot/toolchain_build_i686/uClibc/.config
> /svn/buildroot/toolchain_build_i686/bin/sed -i -e 
> 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g'
> /svn/buildroot/toolchain_build_i686/uClibc/.config
> /svn/buildroot/toolchain_build_i686/bin/sed -i -e 
> 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g'
> /svn/buildroot/toolchain_build_i686/uClibc/.config
> /svn/buildroot/toolchain_build_i686/bin/sed -i -e 's,# 
> UCLIBC_HAS_THREADS is not set,UCLIBC_HAS_THREADS=y,g'
> /svn/buildroot/toolchain_build_i686/uClibc/.config
> /svn/buildroot/toolchain_build_i686/bin/sed -i -e 's,# 
> PTHREADS_DEBUG_SUPPORT is not set,PTHREADS_DEBUG_SUPPORT=y,g'
> /svn/buildroot/toolchain_build_i686/uClibc/.config
> /svn/buildroot/toolchain_build_i686/bin/sed -i -e 's,# 
> UCLIBC_HAS_THREADS_NATIVE is not set,UCLIBC_HAS_THREADS_NATIVE=y,g'
> /svn/buildroot/toolchain_build_i686/uClibc/.config
> mkdir -p /svn/buildroot/toolchain_build_i686/uClibc_dev/usr/include
> mkdir -p /svn/buildroot/toolchain_build_i686/uClibc_dev/usr/lib
> mkdir -p /svn/buildroot/toolchain_build_i686/uClibc_dev/lib
> make -C /svn/buildroot/toolchain_build_i686/uClibc \ 
> PREFIX=/svn/buildroot/toolchain_build_i686/uClibc_dev/ \ 
> DEVEL_PREFIX=/usr/ \ 
> RUNTIME_PREFIX=/svn/buildroot/toolchain_build_i686/uClibc_dev/ \ 
> HOSTCC="gcc" \
> 	pregen install_dev && \
> touch /svn/buildroot/toolchain_build_i686/uClibc/.configured
> make[1]: Entering directory `/svn/buildroot/toolchain_build_i686/uClibc'
> make[1]: /svn/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-gcc:
> Command not found
> libpthread/Makefile.in:9: libpthread/nptl/Makefile.in: No such file or 
> directory
> libpthread/Makefile.in:10: libpthread/nptl_db/Makefile.in: No such 
> file or directory
> make[1]: *** No rule to make target `libpthread/nptl_db/Makefile.in'.
Stop.
> make[1]: Leaving directory `/svn/buildroot/toolchain_build_i686/uClibc'
> make: *** [/svn/buildroot/toolchain_build_i686/uClibc/.configured] 
> Error 2
> 
> make[1]: Leaving directory `/svn/buildroot/toolchain_build_i686/uClibc'
> 
>  ###  OXFORD INSTRUMENTS   http://www.oxford-instruments.com/  ### 
> 
> Unless stated above to be non-confidential, this E-mail and any 
> attachments are private and confidential and are for the addressee 
> only and may not be used, copied or disclosed save to the addressee.
> If you have received this E-mail in error please notify us upon 
> receipt and delete it from your records. Internet communications are 
> not secure and Oxford Instruments is not responsible for their abuse 
> by third parties nor for any alteration or corruption in transmission.
> 
>   
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2


+++ Virus-scanned by Messagelabs for Oxford Instruments +++

 ###  OXFORD INSTRUMENTS   http://www.oxford-instruments.com/  ### 

Unless stated above to be non-confidential, this E-mail and any 
attachments are private and confidential and are for the addressee 
only and may not be used, copied or disclosed save to the addressee.
If you have received this E-mail in error please notify us upon receipt 
and delete it from your records. Internet communications are not secure 
and Oxford Instruments is not responsible for their abuse by third 
parties nor for any alteration or corruption in transmission. 




More information about the uClibc mailing list