NetBSD-Users archive

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

Can't build 5.1 kernel on i386

I have a bunch of AMD64 machines and one i386.  I need to build a
custom kernel on all of them to increase SYSV resources.  I have one
copy of the sources on the cluster which I NFS mount.  All the AMD
machines build fine but the i386 gives me this.

#   compile  compat/kern_resource_43.o
-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-p rototypes -Wswitch
-Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wn
o-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra
-Wno-unused-parameter  - Werror -march=i486 -mtune=pentiumpro -Di386
-I../../. -I/usr/src/sys/../common/in clude -I/usr/src/sys/arch
-I/usr/src/sys -nostdinc -DLKM -DPAE -DMAXUSERS=64 -D_K ERNEL
-D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/u sr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/usr/src/sys/lib/libkern /../../../common/lib/libc/arch/i386/string
-I/usr/src/sys/external/isc/atheros_ha l/dist
-I/usr/src/sys/../common/includ e -I/usr/src/sys/dist/ipf    -nostdinc
-isystem /usr/obj/usr/src/destdir.i386/usr /include
-c    /usr/src/sys/compat/common/kern_resource_43.c -o
kern_resource_43.o /usr/obj/usr/src/tooldir.NetBSD-5.1-i386/bin/i386--netbsdelf-objcopy
-x kern_resource_43.o
sh: /usr/obj/usr/src/tooldir.NetBSD-5.1-i386/bin/i386--netbsdelf-objcopy:
not found

*** Failed target:  kern_resource_43.o
*** Failed
command: /usr/obj/usr/src/tooldir.NetBSD-5.1-i386/bin/i386--netbsdelf-objcopy
-x kern_resource_43.o *** Error code 127

The i386--netbsdelf-objcopy file exists in the named place and is
executable.  It's a binary so no shebang issue.  Has anyone else seen
this?  Here is my config file.

include "arch/i386/conf/GENERIC"

#ident          "INSTALL-$Revision: 1.80 $"

options SEMMNI=200
options SEMMNS=1200
options SEMUME=100
options SEMMNU=300
options SHMMAXPGS=4096

options PAE
options NMBCLUSTERS=4096

D'Arcy J.M. Cain <>

Home | Main Index | Thread Index | Old Index