NetBSD-Bugs archive

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

toolchain/51186: Cross-compile for evbmips fails on libgcc with "Unable to determine architecture"



>Number:         51186
>Category:       toolchain
>Synopsis:       Cross-compile for evbmips fails on libgcc with "Unable to determine architecture"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 30 02:45:00 +0000 2016
>Originator:     Sevan Janiyan
>Release:        HEAD
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

>Description:
Attempting to build a release for evbmips64-el fails when cross-compiling on Mac OS X Tiger on a PowerPC Mac.

This is a recent regression as it was possible earlier this month, Leemote Fuloong 2F running a release built on OS X Tiger:
http://dmesgd.nycbug.org/index.cgi?do=view&id=2972

#    create  libgcc/_clzdi2.d
CC=/Sandbox/src/obj/tooldir.Darwin-8.11.0-Power_Macintosh/bin/mips64el--netbsd-gcc /Sandbox/src/obj/tooldir.Darwin-8.11.0-Power_Macintosh/bin/nbmkdep -f _clzdi2.d.tmp  --      --sysroot=/Sandbox/src/obj/destdir.evbmips -I/Sandbox/src/external/gpl3/gcc.old/lib/libgcc/libgcc -I/Sandbox/src/external/gpl3/gcc.old/lib/libgcc/arch/mips64el -I/Sandbox/src/external/gpl3/gcc.old/usr.bin/gcc/arch/mips64el -DIN_GCC -DIN_LIBGCC2 -I/Sandbox/src/external/gpl3/gcc.old/dist/libgcc -I/Sandbox/src/external/gpl3/gcc.old/dist/libgcc/. -I/Sandbox/src/external/gpl3/gcc.old/dist/libgcc/../gcc -I/Sandbox/src/external/gpl3/gcc.old/dist/libgcc/../include  -fPIC -fbuilding-libgcc -fno-stack-protector -I/Sandbox/src/external/gpl3/gcc.old/dist/gcc/config/mips -I/Sandbox/src/external/gpl3/gcc.old/dist/gcc/ginclude -I/Sandbox/src/external/gpl3/gcc.old/dist/libgcc -I/Sandbox/src/external/gpl3/gcc.old/dist/libgcc/config -I/Sandbox/src/external/gpl3/gcc.old/dist/gcc -I/Sandbox/src/external/gpl3/gcc.old/dist/include -
 I.     -x assembler-with-cpp _clzdi2.S &&  mv _clzdi2.d.tmp _clzdi2.d
In file included from _clzdi2.S:2:0:
/Sandbox/src/external/gpl3/gcc.old/dist/libgcc/config/arm/lib1funcs.S:116:2: error: #error Unable to determine architecture.
 #error Unable to determine architecture.
  ^
nbmkdep: compile failed.



>How-To-Repeat:
run ./build.sh -U -m evbmips64-el cleandir release on OS X Tiger PowerPC
>Fix:



Home | Main Index | Thread Index | Old Index