NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/45368: cross-build of tools/gcc on Linux/amd64 fails
>Number: 45368
>Category: toolchain
>Synopsis: cross-build of tools/gcc on Linux/amd64 fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 14 16:45:00 +0000 2011
>Originator: Grégoire Sutre
>Release:
>Organization:
>Environment:
Linux yosemite 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64
GNU/Linux
>Description:
From -current sources obtained via cvs, building tools under my Linux box fails
with:
===> build.sh command: ./build.sh -U -M /tmp/build -m amd64 tools
===> build.sh started: Wed Sep 14 18:34:09 CEST 2011
===> NetBSD version: 5.99.55
===> MACHINE: amd64
===> MACHINE_ARCH: x86_64
===> Build platform: Linux 3.0.0-1-amd64 x86_64
===> HOST_SH: /bin/sh
/tmp/user/1001/Gmnr3Xoj:3: *** missing separator. Stop.
===> No $TOOLDIR/bin/nbmake, needs building.
===> Bootstrapping nbmake
[...]
checking whether the cc -m32 linker (ld -m elf_x86_64 -m elf_i386) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... configure: error: Link tests are not
allowed after GCC_NO_EXECUTABLES.
nbgmake: *** [configure-zlib] Error 1
*** Failed target: .build_done
*** Failed command: (cd build && /usr/bin/env -i gcc_cv_libc_provides_ssp=yes
gcc_cv_as_sparc_gotdata_op=no AR=ar
AWK=/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/nbawk CC=cc
CFLAGS=-O CPPFLAGS= CXX=c++ CXXFLAGS=-O
INSTALL=/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/x86_64--netbsd-install\
-c\ \ -r LDFLAGS=
LEX=/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/nblex
MAKE=/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/nbgmake
PATH="/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin:$PATH"
RANLIB=ranlib
YACC=/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/nbyacc
MACHINE=
MAKEINFO=/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/nbmakeinfo
LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS=
CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \
-DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR=
INSTALL=/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1
-amd64-x86_64/bin/x86_64--netbsd-install\ -c\ \ -r
/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/nbgmake -e
MACHINE=
MAKEINFO=/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/nbmakeinfo
LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS=
CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \
-DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR=
INSTALL=/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/x86_64--netbsd-install\
-c\ \ -r all-gcc)
*** Error code 2
Stop.
nbmake: stopped in /tmp/src.cvs/tools/gcc
*** Failed target: dependall
*** Failed command: cd "/tmp/src.cvs/tools/gcc";
/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /tmp/src.cvs/tools/gcc
*** Failed target: dependall-gcc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/tmp/src.cvs/tools" ;; *) this="${dir}/";
real="/tmp/src.cvs/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===>
${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/tmp/build/tmp/src.cvs/tooldir.Linux-3.0.0-1-amd64-x86_64/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gcc dependall
*** Error code 1
Stop.
nbmake: stopped in /tmp/src.cvs/tools
ERROR: Failed to make dependall in "tools"
*** BUILD ABORTED ***
This box is running Debian GNU/Linux amd64 (testing). The installed gcc is:
$ gcc --version
gcc (Debian 4.6.1-4) 4.6.1
>How-To-Repeat:
Cross-build tools on Linux/amd64 (gcc 4.6.1)
>Fix:
Home |
Main Index |
Thread Index |
Old Index