NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/52834: NetBSD/sparc cross-build failure
>Number: 52834
>Category: toolchain
>Synopsis: NetBSD/sparc cross-build failure
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 17 10:15:00 +0000 2017
>Originator: Shinichi Doyashiki
>Release: NetBSD 8.99.9
>Organization:
at home
>Environment:
System: NetBSD mizuki.csel.org 8.99.9 NetBSD 8.99.9 (XCYMINIPC) #8: Sun Dec 17 04:14:46 JST 2017 clare%mizuki.csel.org@localhost:/export/stage/hack/sys/arch/amd64/compile/XCYMINIPC amd64
Architecture: x86_64
Machine: amd64
>Description:
NetBSD/sparc build fails as following:
# create libgcc_s/_clzdi2.d
CC=/export/stage/tools/bin/sparc--netbsdelf-gcc /export/stage/tools/bin/nbmkdep -f _clzdi2.d.tmp -- --sysroot=/export/stage/destdir/sparc -I/export/stage/hack/src/external/gpl3/gcc.old/lib/libgcc/libgcc_s -I/export/stage/hack/src/external/gpl3/gcc.old/lib/libgcc/arch/sparc -I/export/stage/hack/src/external/gpl3/gcc.old/usr.bin/gcc/arch/sparc -DIN_GCC -DIN_LIBGCC2 -I/export/stage/hack/src/external/gpl3/gcc.old/dist/libgcc -I/export/stage/hack/src/external/gpl3/gcc.old/dist/libgcc/. -I/export/stage/hack/src/external/gpl3/gcc.old/dist/libgcc/../gcc -I/export/stage/hack/src/external/gpl3/gcc.old/dist/libgcc/../include -fPIC -fbuilding-libgcc -fno-stack-protector -I/export/stage/hack/src/external/gpl3/gcc.old/dist/gcc/config/sparc -I/export/stage/hack/src/external/gpl3/gcc.old/dist/gcc/ginclude -I/export/stage/hack/src/external/gpl3/gcc.old/dist/libgcc -I/export/stage/hack/src/external/gpl3/gcc.old/dist/libgcc/config -I/export/stage/hack/src/external/gpl3/gcc.old/dist/libgcc/config/s
parc -I/export/stage/hack/src/external/gpl3/gcc.old/dist/gcc -I/export/stage/hack/src/external/gpl3/gcc.old/dist/include -I. -I/export/stage/tmp/external/gpl3/gcc.old/usr.bin/backend -x assembler-with-cpp _clzdi2.S && mv _clzdi2.d.tmp _clzdi2.d
In file included from _clzdi2.S:2:0:
/export/stage/hack/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.
*** [_clzdi2.d] Error code 1
>How-To-Repeat:
run build.sh as following script:
#!/bin/sh
date=`/bin/date +%Y%m%d`
workdir=`pwd`
echo "===> deleting objdir"
rm -rf /export/stage/tmp
mkdir -p /export/stage/tmp
rm -rf /export/stage/objdir
mkdir -p /export/stage/objdir
rm -rf /export/stage/tools
mkdir -p /export/stage/tools
rm -rf /export/stage/destdir
mkdir -p /export/stage/destdir
OBJMACHINE=yes
export OBJMACHINE
TOOLDIR=/export/stage/tools
export TOOLDIR
for machine in amd64 i386 evbarm sparc; do
cd ${workdir}/src || exit
releasedir=/export/stage/release/${date}
destdir=/export/stage/destdir/${machine}
objdir=/export/stage/tmp
echo "===> deleting ${destdir}"
rm -rf ${destdir}
mkdir -p ${destdir}
./build.sh -m ${machine} -x -j4 \
-U \
-O ${objdir} \
-D ${destdir} \
-R ${releasedir} \
release ${options} \
2>&1 | tee ${workdir}/make-${machine}.log
done
>Fix:
Unknown.
Home |
Main Index |
Thread Index |
Old Index