NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/48630: sun4v support causes sparc/sparc64 build failure on netbsd-5/i386 host
>Number: 48630
>Category: toolchain
>Synopsis: sun4v support causes sparc/sparc64 build failure on
>netbsd-5/i386 host
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 02 13:40:00 +0000 2014
>Originator: John D. Baker
>Release: NetBSD/sparc-6.99.33 (src), NetBSD/i386-5.2_STABLE (host)
>Organization:
>Environment:
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #13:
Wed Dec 18 05:44:53 CST 2013
sysop%verthandi.technoskunk.fur@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI
i386
>Description:
Following addition of sun4v support, building sparc{,64} sun4u kernels
fail on my NetBSD/i386-5.2_STABLE build host as follows (for sparc):
[...]
# compile GENERIC_SUN4U/locore.o
/d0/build/current/tools/i386/bin/sparc--netbsdelf-gcc -Wa,-Av8plusa -x
assembler-with-cpp -D_LOCORE -Wa,--fatal-warnings
--sysroot=/d0/build/current/DEST/sparc -Dsparc64 -D__sparc64__ -m32
-Wa,-Av8plusa -mcpu=ultrasparc -I. -I/x/current/src/sys/../common/include
-I/x/current/src/sys/arch -I/x/current/src/sys -nostdinc -DDIAGNOSTIC
-DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -std=gnu99
-I/x/current/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/x/current/src/sys/lib/libkern/../../../common/lib/libc/string
-I/x/current/src/sys/lib/libkern/../../../common/lib/libc/arch/sparc/string
-I/x/current/src/sys/external/bsd/ipf
-I/x/current/src/sys/external/isc/atheros_hal/dist
-I/x/current/src/sys/external/isc/atheros_hal/ic -c
/x/current/src/sys/arch/sparc64/sparc64/locore.s
/x/current/src/sys/arch/sparc64/sparc64/locore.s: Assembler messages:
/x/current/src/sys/arch/sparc64/sparc64/locore.s:5958: Error: bignum invalid
*** [locore.o] Error code 1
nbmake[2]: stopped in
/d0/build/current/obj/sparc/sys/arch/sparc/compile/GENERIC_SUN4U
1 error
nbmake[2]: stopped in
/d0/build/current/obj/sparc/sys/arch/sparc/compile/GENERIC_SUN4U
*** [kern-GENERIC_SUN4U] Error code 2
nbmake[1]: stopped in /x/current/src/etc
1 error
nbmake[1]: stopped in /x/current/src/etc
*** [release] Error code 2
nbmake: stopped in /x/current/src
1 error
nbmake: stopped in /x/current/src
ERROR: Failed to make release
*** BUILD ABORTED ***
The line about which the assembler complains:
5958 sethi %hh(A_SUN4V_TLB_TSB_LOCK), %g5
A sparc64 build is in progress, but I expect kernels to fail in the
same way.
The builds are being done starting with completely empty (nonesistent)
$TOOLDIR, $OBJDIR, $DESTDIR $RELEASEDIR.
As the nightly builds are succeeding and the autobuild hosts are
running NetBSD/amd64-6.1.x, I would assume that tools are being mis-
configured on a NetBSD-5 host.
My 'build.sh' command line:
./build.sh -U -m sparc -T /d0/build/current/tools/i386 \
-O /d0/build/current/obj/sparc -D /d0/build/current/DEST/sparc \
-R /d0/build/current/REL -X ../xsrc -x -u -j 2 tools release
>How-To-Repeat:
Using NetBSD-5 host system, attempt to build 6.99.33 sources for sparc
or sparc64 targets.
>Fix:
Home |
Main Index |
Thread Index |
Old Index