buildkernel failure

Alban Hertroys dalroi at solfertje.student.utwente.nl
Tue Jan 30 18:42:45 UTC 2007


Building a kernel of a freshly updated RELENG_6 source tree reveals  
the following:

===> firmware (all)
cc -O2 -fno-strict-aliasing -pipe -march=athlon64 -Werror -D_KERNEL - 
DKLD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include / 
build/obj/build/src/sys/BOLTTHROWER/opt_global.h -I. -I@ -I@/contrib/ 
altq -I@/../include -finline-limit=8000 -fno-common  -fno-omit-frame- 
pointer -I/build/obj/build/src/sys/BOLTTHROWER -mcmodel=kernel -mno- 
red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft- 
float -fno-asynchronous-unwind-tables -ffreestanding -Wall - 
Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing- 
prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions - 
std=c99 -c /build/src/sys/modules/firmware/../../kern/subr_firmware.c
/build/src/sys/modules/firmware/../../kern/subr_firmware.c: In  
function `firmware_get':
/build/src/sys/modules/firmware/../../kern/subr_firmware.c:192:  
warning: implicit declaration of function `linker_release_module'
/build/src/sys/modules/firmware/../../kern/subr_firmware.c:192:  
warning: nested extern declaration of `linker_release_module'
*** Error code 1

Stop in /build/src/sys/modules/firmware.
*** Error code 1

Stop in /build/src/sys/modules.
*** Error code 1

Stop in /build/obj/build/src/sys/BOLTTHROWER.
Exit 1

System is amd64 with a custom kernel. I don't know what might be  
dependent on subr_firmware, but the error doesn't seem to point to a  
missing kernel option or device.

In the CVS logs I can see that this function was added recently;  
maybe something was forgotten in the MFC?

--
Alban Hertroys

		"Memory expensive?!?
		 My computer has free memory!"



!DSPAM:74,45bf91649342038170548!




More information about the freebsd-stable mailing list