[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#450640: Link tests are not allowed after GCC_NO_EXECUTABLES ~ i386-linux-gnu-gcc cross compile on amd64



Package: gcc-4.1
Version: 4.1.1-21
Using http://wiki.debian.org/BuildingCrossCompilers as my guide, I'm
attempting to build a variety of cross-compiling binutils, gcc, etc for
different platforms.  After this is all nice and happy, distcc will
peform better here :) I've attached the lean version of my buildlog. Looks like archived #391445 but mine is not for powerpc. thanks!
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-xen-vserver-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages gcc-4.1 depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii  cpp-4.1                4.1.1-21          The GNU C preprocessor
ii gcc-4.1-base 4.1.1-21 The GNU Compiler Collection (base
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii libssp0 4.1.1-21 GCC stack smashing protection libr
Versions of packages gcc-4.1 recommends:
ii libc6-dev 2.3.6.ds1-13etch2 GNU C Library: Development Librari ii libmudflap0-dev 4.1.1-21 GCC mudflap support libraries (dev
Others:
ii  binutils-i386-linux-gnu       2.17-3
ii binutils-i386-linux-uclibc 2.17-3 -- no debconf information
Script started on Wed 07 Nov 2007 05:53:08 PM EST
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools$ rm -Rf gcc-4.1*/
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools$ apt-get source gcc-4.1
....snip
dpkg-source: extracting gcc-4.1 in gcc-4.1-4.1.1ds2
dpkg-source: unpacking gcc-4.1_4.1.1ds2.orig.tar.gz
dpkg-source: applying ./gcc-4.1_4.1.1ds2-21.diff.gz
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools$ cd gcc*/
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ ARCH=i386
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ cat ~/bin/build-gcc.sh
#!/bin/sh
export GCC_TARGET=$ARCH
debian/rules control
dpkg-buildpackage -us -uc -rfakeroot -b > ../gcc.build 2>&1 || echo 'Build error'
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ ~/bin/build-gcc.shs~/bin/build-gcc.shh~/bin/build-gcc.sh ~/bin/build-gcc.sh-~/bin/build-gcc.shx~/bin/build-gcc.sh ~/bin/build-gcc.sh
+ export GCC_TARGET=
+ GCC_TARGET=
+ debian/rules control

supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ sh -x ~/bin/build-gcc.shAsh -x ~/bin/build-gcc.shRsh -x ~/bin/build-gcc.shCsh -x ~/bin/build-gcc.shHsh -x ~/bin/build-gcc.sh=sh -x ~/bin/build-gcc.shish -x ~/bin/build-gcc.sh3sh -x ~/bin/build-gcc.sh8sh -x ~/bin/build-gcc.sh6sh -x ~/bin/build-gcc.sh sh -x ~/bin/build-gcc.sh
+ export GCC_TARGET=i386
+ GCC_TARGET=i386
+ debian/rules control
: # unpack gcc tarball
mkdir stamps
if [ -d /home/supaplex/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2/src ]; then \
	  echo >&2 "Source directory /home/supaplex/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2/src exists. Delete by hand"; \
	  false; \
	fi
rm -rf gcc-4.1.1
case gcc-4.1.1-dfsg.tar.bz2 in \
	  *.bz2) tar -x --bzip2 -f gcc-4.1.1-dfsg.tar.bz2;; \
	  *.gz)  tar -x --gzip  -f gcc-4.1.1-dfsg.tar.bz2;; \
	  *)     false; \
	esac
make: *** [stamps/01-unpack-stamp-gcc-4.1.1-dfsg.tar.bz2] Interrupt

supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ ARCH=i386 sh -x ~/bin/build-gcc.sh                                  ARCH=i386 sh -x ~/bin/build-gcc.shsh -x ~/bin/build-gcc.sh          cat ~/bin/build-gcc.sh                        
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ 
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ cat ~/bin/build-gcc.sh
#!/bin/sh

ARCH=$1
export GCC_TARGET=$ARCH
debian/rules control
dpkg-buildpackage -us -uc -rfakeroot -b > ../gcc.build 2>&1 || echo 'Build error'
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ ~/bin/build-gcc.sh i386s~/bin/build-gcc.sh i386h~/bin/build-gcc.sh i386 ~/bin/build-gcc.sh i386-~/bin/build-gcc.sh i386x~/bin/build-gcc.sh i386 ~/bin/build-gcc.sh i386
+ ARCH=i386
+ export GCC_TARGET=i386
+ GCC_TARGET=i386
+ debian/rules control
: # unpack gcc tarball

....snip ~5500 lines


CANNOT FIND debian/*FFI*
make[1]: Leaving directory `/home/supaplex/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2'
+ dpkg-buildpackage -us -uc -rfakeroot -b
+ echo 'Build error'
Build error
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ tail -n 15 ../gcc.build
checking for unistd.h... yes
checking for C locale to use... gnu
checking for msgfmt... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for library containing gettext... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[3]: *** [configure-target-libstdc++-v3] Error 1
make[3]: Leaving directory `/home/supaplex/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/supaplex/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/home/supaplex/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2'
make: *** [stamps/05-build-stamp] Error 2
supaplex@li:~/usr/src/build-my_i486-linux-gnu_cross-tools/gcc-4.1-4.1.1ds2$ exit

Script done on Wed 07 Nov 2007 06:41:35 PM EST

Reply to: