Current-Users archive

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

Modular kernel build failure on port-amd64



Sources are up-to-date as of a couple hours ago... Kernel config has all of the filesystem options removed, since I'm hoping to use the new modules. I do, however, have "root on ffs" in the config. It appears that this requires me to include the ffs filesystem in the kernel, rather than being able to load the module dynamically at boot time?

#   compile  LIGHTNING/vector.o
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -x 
assembler-with-cpp -traditional-cpp -D_LOCORE -Wa,-fatal-warnings -Damd64 
-Dx86_64 -I. -I/build/netbsd-local/src/sys/../common/include 
-I/build/netbsd-local/src/sys/arch -I/build/netbsd-local/src/sys -nostdinc 
-DMODULAR -DDIAGNOSTIC -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT 
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string
 -I/build/netbsd-local/src/sys/../common/include 
-I/build/netbsd-local/src/sys/dist/ipf -c 
/build/netbsd-local/src/sys/arch/amd64/amd64/vector.S
#   compile  LIGHTNING/param.o
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -mcmodel=kernel 
-mno-red-zone -ffreestanding -fno-zero-initialized-in-bss -g -O2 
-fno-omit-frame-pointer -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 
-Wextra -Wno-unused-parameter -Werror -Damd64 -Dx86_64 -I. 
-I/build/netbsd-local/src/sys/../common/include 
-I/build/netbsd-local/src/sys/arch -I/build/netbsd-local/src/sys -nostdinc 
-DMODULAR -DDIAGNOSTIC -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT 
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string
 -I/build/netbsd-local/src/sys/../common/include 
-I/build/netbsd-local/src/sys/dist/ipf -c param.c
#   compile  LIGHTNING/vers.o
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc  -mcmodel=kernel 
-mno-red-zone -ffreestanding -fno-zero-initialized-in-bss -g -O2 
-fno-omit-frame-pointer -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 
-Wextra -Wno-unused-parameter  -Werror   -Damd64 -Dx86_64 -I.  
-I/build/netbsd-local/src/sys/../common/include 
-I/build/netbsd-local/src/sys/arch  -I/build/netbsd-local/src/sys -nostdinc 
-DMODULAR -DDIAGNOSTIC -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT 
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/build/netbsd-local/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string
   -I/build/netbsd-local/src/sys/../common/include 
-I/build/netbsd-local/src/sys/dist/ipf  -c vers.c
#      link  LIGHTNING/netbsd
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-ld -Map netbsd.map 
--cref -T /build/netbsd-local/src/sys/arch/amd64/conf/kern.ldscript -Ttext 
0xffffffff80100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
swapnetbsd.o:(.data+0x20): undefined reference to `ffs_mountroot'
*** [netbsd] Error code 1
1 error
nbmake: stopped in 
/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/LIGHTNING

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index