Port-sparc64 archive

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

Cross-building GENERIC32



All,

for updating an Ultra 1 to netbsd-5, I wanted to cross-build the
distribution on i386. No problem for the standard distribution, but
building a GENERIC32 kernel (as well as my machine specific 32 bit kernel)
dies quickly with

[...]
CC=/u/netbsd-builds/5/sparc64/tools/bin/sparc--netbsdelf-gcc
/u/netbsd-builds/5/sparc64/tools/bin/nbmkdep -f acardide.d --  -mno-fpu
-ffreestanding -fno-zero-initialized-in-bss  -O2 -std=gnu99
-fno-strict-aliasing   -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow
-Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare
-Wno-pointer-sign -Wno-attributes  -Werror -Wa,-Av8plus    -Dsparc64
-D__sparc64__ -m32 -Wa,-Av8plusa -mcpu=ultrasparc -I.
-I/public/netbsd-5/sys/../common/include -I/public/netbsd-5/sys/arch
-I/public/netbsd-5/sys -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL
-D_KERNEL_OPT-I/public/netbsd-5/sys/lib/libkern/../../../common/lib/libc/quad
-I/public/netbsd-5/sys/lib/libkern/../../../common/lib/libc/string
-I/public/netbsd-5/sys/lib/libkern/../../../common/lib/libc/arch/sparc/string
-I/public/netbsd-5/sys/external/isc/atheros_hal/dist
-I/public/netbsd-5/sys/external/isc/atheros_hal/ic
-I/public/netbsd-5/sys/dist/ip--- aarp.d ---
public/netbsd-5/sys/netatalk/aarp.c
--- ac97.d ---
public/netbsd-5/sys/dev/ic/ac97.c
--- acardide.d ---
f  /public/netbsd-5/sys/dev/pci/acardide.c
--- aarp.d ---
nbmkdep: /u/netbsd-builds/5/sparc64/tools/bin/sparc--netbsdelf-gcc: not
found: No such file or directory
--- ac97.d ---
nbmkdep: /u/netbsd-builds/5/sparc64/tools/bin/sparc--netbsdelf-gcc: not
found: No such file or directory
--- acardide.d ---
nbmkdep: /u/netbsd-builds/5/sparc64/tools/bin/sparc--netbsdelf-gcc: not
found: No such file or directory
--- aarp.d ---
*** [aarp.d] Error code 1
--- ac97.d ---
*** [ac97.d] Error code 1
--- acardide.d ---
*** [acardide.d] Error code 1
3 errors

nbmake: stopped in
/var/obj/netbsd-builds/5/sparc64/sys/arch/sparc64/compile/GENERIC32

ERROR: Failed to make depend in
/var/obj/netbsd-builds/5/sparc64/sys/arch/sparc64/compile/GENERIC32
*** BUILD ABORTED ***


-- Where does the spurious *--netbsdelf-gcc come from, when the regular
distribution builds and uses sparc--netbsd-gcc?

        hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index