Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2007 19:42:41 +0100
From:      Alban Hertroys <dalroi@solfertje.student.utwente.nl>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   buildkernel failure
Message-ID:  <E9DD5E3A-C727-4679-B76B-9B9E07096E10@solfertje.student.utwente.nl>

next in thread | raw e-mail | index | archive | help
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!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E9DD5E3A-C727-4679-B76B-9B9E07096E10>