crosstool-0.28-rc37 fails to build on SuSE 9.2

Steven Scholz steven.scholz@imc-berlin.de
Wed Dec 29 09:46:00 GMT 2004


dank04@kegel.com wrote:
> Might be that gcc-3.3.3 has a 'trap' line somewhere
> in a configure script that isn't compatible with
> the new version of bash.
> 
> I'm on vacation, can't look for the issue.
> - Dan
> 
> 
>>Hi there,
>>
>>I just tried to build an ARM cross tool chain using crosstool-0.28-rc37
>>
>>+ export KERNELCONFIG=/home/scholz/crosstool-0.28-rc37/arm.config
>>+ KERNELCONFIG=/home/scholz/crosstool-0.28-rc37/arm.config
>>+ export TARGET=arm-softfloat-linux-gnu
>>+ TARGET=arm-softfloat-linux-gnu
>>+ export TARGET_CFLAGS=-O
>>+ TARGET_CFLAGS=-O
>>+ export GCC_EXTRA_CONFIG=--with-float=soft
>>+ GCC_EXTRA_CONFIG=--with-float=soft
>>+ export GLIBC_EXTRA_CONFIG=--without-fp
>>+ GLIBC_EXTRA_CONFIG=--without-fp
>>+ export BINUTILS_DIR=binutils-2.15
>>+ BINUTILS_DIR=binutils-2.15
>>+ export GCC_DIR=gcc-3.3.3
>>+ GCC_DIR=gcc-3.3.3
>>+ export GLIBC_DIR=glibc-2.3.2
>>+ GLIBC_DIR=glibc-2.3.2
>>+ export LINUX_DIR=linux-2.6.8
>>+ LINUX_DIR=linux-2.6.8
>>+ export GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2
>>+ GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2
>>
>>but building glibc fails on my Linux SuSE 9.2!
>>
>>+ cd ..
>>+ echo 'Build gcc-core (just enough to build glibc)'
>>Build gcc-core (just enough to build glibc)
>>+ mkdir -p build-gcc-core
>>+ cd build-gcc-core
>>+ test '!' -f Makefile
>>+
>>/home/scholz/crosstool-0.28-rc37/build/arm-softfloat-linux-gnu/gcc-3.3.3-glibc-2.3.2-linux-2.6.8/gcc-3.3.3/confi
>>gure --target=arm-softfloat-linux-gnu --host=i686-host_pc-linux-gnu
>>--prefix=/opt/crosstool/arm-softfloat-linux-gn
>>u/gcc-3.3.3-glibc-2.3.2-linux-2.6.8
>>--with-local-prefix=/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.3.3-glibc-2.3
>>.2-linux-2.6.8/arm-softfloat-linux-gnu --disable-multilib --with-newlib
>>--with-float=soft --without-headers --disa
>>ble-nls --enable-threads=no --enable-symvers=gnu --enable-__cxa_atexit
>>--enable-languages=c --disable-shared
>>*** This configuration is not supported in the following subdirectories:
>>      target-libstdc++-v3 target-libf2c target-libffi target-boehm-gc
>>target-zlib target-libjava zlib fastjar targe
>>t-libobjc
>>     (Any other directories should still work fine.)
>>Copying no to
>>/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.3.3-glibc-2.3.2-linux-2.6.8/arm-softfloat-linux-gnu/sys
>>-include
>>/tmp/cNf20505/cNf20505.tgt: line 821: cd: no: No such file or directory
>>Created "Makefile" in
>>/home/scholz/crosstool-0.28-rc37/build/arm-softfloat-linux-gnu/gcc-3.3.3-glibc-2.3.2-linux-2
>>.6.8/build-gcc-core using "mt-frag"
>>Configuring libiberty...
>>creating cache ../config.cache
>>... <snip> ...
>>checking linker read-only and read-write section mixing... read-write
>>checking linker PT_GNU_EH_FRAME support... yes
>>Using ggc-page for garbage collection.
>>checking whether to enable maintainer-specific portions of Makefiles... no
>>Links are now set up to build a cross-compiler for arm-softfloat-linux-gnu
>>   from i686-host_pc-linux-gnu.
>>updating cache ../config.cache
>>creating ./config.status
>>creating Makefile
>>creating intl/Makefile
>>creating fixinc/Makefile
>>creating gccbug
>>creating mklibgcc
>>creating mkheaders
>>creating auto-host.h
>>trap: usage: trap [-lp] [[arg] signal_spec ...]

Please look at

http://linuxfromscratch.org/pipermail/lfs-hackers/2004-August/001961.html

 > Hi,
 > "have you seen this chicken?"
 > trap: usage: trap [-lp] [[arg] signal_spec ...]
 > then you use a brand new bash (>=3.0) and try to make a configure on
 > some "old" stuff or on gcc (may be any version of gcc)

--
Steven

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list