NetBSD-Bugs archive

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

toolchain/46204: Cross compiling amd64 tools on arm linux fails



>Number:         46204
>Category:       toolchain
>Synopsis:       Cross compiling amd64 tools on arm linux fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 16 01:50:00 +0000 2012
>Originator:     Alexander Nasonov
>Release:        recent -current
>Organization:
home sweet home
>Environment:
Linux magr 2.6.38-1000-ac100 #1-Ubuntu SMP PREEMPT Mon Sep 26 20:05:34 UTC 2011 
armv7l armv7l armv7l GNU/Linux
>Description:
Cross compiling of evbarm and i386 tools succeeds but amd64 tools can't be 
build on Ubuntu/arm.
>How-To-Repeat:
$ ./build.sh -U -m and64 tools
...
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if cc  -mfloat-abi=hard supports -fno-rtti -fno-exceptions... no
checking for cc  -mfloat-abi=hard option to produce PIC... -fPIC -DPIC
checking if cc  -mfloat-abi=hard PIC flag -fPIC -DPIC works... yes
checking if cc  -mfloat-abi=hard static flag -static works... no
checking if cc  -mfloat-abi=hard supports -c -o file.o... yes
checking if cc  -mfloat-abi=hard supports -c -o file.o... (cached) yes
checking whether the cc  -mfloat-abi=hard linker (ld) 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=/home/alnsn/netbsd-current/src/obj/tooldir.Linux-2.6.38-1000-ac100-armv7l/bin/nbawk
 CC=cc CFLAGS=-O CPPFLAGS
= CXX=c++ CXXFLAGS=-O 
INSTALL=/home/alnsn/netbsd-current/src/obj/tooldir.Linux-2.6.38-1000-ac100-armv7l/bin/x86_6
4--netbsd-install\ -c\ \ -r LDFLAGS= 
LEX=/home/alnsn/netbsd-current/src/obj/tooldir.Linux-2.6.38-1000-ac100-armv7
l/bin/nblex 
M4=/home/alnsn/netbsd-current/src/obj/tooldir.Linux-2.6.38-1000-ac100-armv7l/bin/nbm4
 MAKE=/home/alns
n/netbsd-current/src/obj/tooldir.Linux-2.6.38-1000-ac100-armv7l/bin/nbgmake 
PATH="/home/alnsn/netbsd-current/src/
obj/tooldir.Linux-2.6.38-1000-ac100-armv7l/bin:$PATH" RANLIB=ranlib 
YACC=/home/alnsn/netbsd-current/src/obj/toold
ir.Linux-2.6.38-1000-ac100-armv7l/bin/nbyacc MACHINE= 
MAKEINFO=/home/alnsn/netbsd-current/src/obj/tooldir.Linux-2
.6.38-1000-ac100-armv7l/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= 
INSTALL_LIBGCC= EXTRA_PARTS= CPPFL
AGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ -DTARGET_SYSTEM_ROOT_RELOCATABLE 
AR=ar RANLIB=ranlib BISON=true DES
TDIR= 
INSTALL=/home/alnsn/netbsd-current/src/obj/tooldir.Linux-2.6.38-1000-ac100-armv7l/bin/x86_64--netbsd-install\
 -c\ \ -r 
/home/alnsn/netbsd-current/src/obj/tooldir.Linux-2.6.38-1000-ac100-armv7l/bin/nbgmake
 -e MACHINE= 
MAKEINFO=/home/alnsn/netbsd-current/src/obj/tooldir.Linux-2.6.38-1000-ac100-armv7l/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=/home/alnsn/netbsd-current/src/obj/tooldir.Linux-2.6.38-1000-ac100-armv7l/bin/x86_64--netbsd-install\
 -c\ \ -r all-gcc)

>Fix:



Home | Main Index | Thread Index | Old Index