Current-Users archive

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

cross build of mips64 fails in librump



Hi,

trying to cross build a mips64eb release, using the following command

build.sh -U -O /var/work/NetBSD-current/obj -T /var/work/NetBSD-current/tools 
-R /var/pub/NetBSD-current -u -a mips64eb -m sgimips release

I see a failure in compat/[...]/librump due, ultimately, to missing symbol
ARCH_ELFSIZE.. interestingly this is supplied by the framework in
lib/librump but not under compat.. why not?

dependall ===> lib/librump
#   compile  librump/subr_kobj.o
/var/work/NetBSD-current/tools/bin/mips64--netbsd-gcc -O2 -ffreestanding 
-fno-strict-aliasing -G 0 -ffixed-23 -msym32 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional 
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wextra -Wno-unused-parameter -Wno-format-zero-length 
-Wno-pointer-sign -Werror -Wa,--fatal-warnings  
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/include  -D_RUMPKERNEL 
-D_KERNEL -DMULTIPROCESSOR -D_MODULE -DMODULAR -DMAXUSERS=32 -DDIAGNOSTIC 
-DCOMPAT_50 -DDEBUGPRINT -I/var/cvs/NetBSD-current/src/lib/librump -I. 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../../common/include 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../arch 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/include 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpkern/opt 
-nostdinc -I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/.. 
-D__NetBSD__ 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpkern 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpvfs 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpnet 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpdev 
-DARCH_ELFSIZE=32 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/arch/mips
   
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/lib/libc/quad
 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/lib/libc/string
 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/lib/libc/arch/mips/string
 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/include
 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../../common/lib/libc/atomic
  -c    
/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../kern/subr_kobj.c -o 
subr_kobj.o


dependall ===> compat/mips64/64/../../../lib/librump
#   compile  librump/subr_kobj.o
/var/work/NetBSD-current/tools/bin/mips64--netbsd-gcc -O2 -ffreestanding 
-fno-strict-aliasing -G 0 -ffixed-23 -msym32 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional 
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wextra -Wno-unused-parameter -Wno-format-zero-length 
-Wno-pointer-sign -Werror -mabi=64 -mabi=64 -mabi=64 -mabi=64 
-Wa,--fatal-warnings -mabi=64 -mabi=64 -mabi=64 -mabi=64 -mabi=64 -mabi=64 
-mabi=64 -mabi=64 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/include  -D_RUMPKERNEL 
-D_KERNEL -DMULTIPROCESSOR -D_MODULE -DMODULAR -DMAXUSERS=32 -DDIAGNOSTIC 
-DCOMPAT_50 -DDEBUGPRINT -I/var/cvs/NetBSD-current/src/lib/librump -I. 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../../common/include 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../arch 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/include 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpkern/opt 
-nostdinc -I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/.. 
-D__NetBSD__ 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpkern 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpvfs 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpnet 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/librump/rumpdev 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/arch/mips
   
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/lib/libc/quad
 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/lib/libc/string
 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/lib/libc/arch/mips/string
 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../lib/libkern/../../../common/include
 
-I/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../../common/lib/libc/atomic
  -c    
/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../kern/subr_kobj.c -o 
subr_kobj.o
/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../kern/subr_kobj.c: In 
function 'kobj_load':
/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../kern/subr_kobj.c:204: 
error: 'ELF64_MACHDEP_ID_CASES' undeclared (first use in this function)
/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../kern/subr_kobj.c:204: 
error: (Each undeclared identifier is reported only once
/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../kern/subr_kobj.c:204: 
error: for each function it appears in.)
/var/cvs/NetBSD-current/src/lib/librump/../../sys/rump/../kern/subr_kobj.c:206: 
error: expected ';' before 'default'


iain


Home | Main Index | Thread Index | Old Index