-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I just saw the same thing under i386 when building GENERIC.
--eli
Alban Hertroys wrote:> 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!
>
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
>
- --
Eli Dart Office: (510) 486-5629
ESnet Network Engineering Group Fax: (510) 486-6712
Lawrence Berkeley National Laboratory
PGP Key fingerprint = C970 F8D3 CFDD 8FFF 5486 343A 2D31 4478 5F82 B2B3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
iD8DBQFFv5PeLTFEeF+CsrMRArcZAJ0W4nZZKwNsBqf+t/S9AgSgDpeyPACdEBRJ
ZnFiFByzk87oQEIrYIdOlkk=pLnS
-----END PGP SIGNATURE-----