kernel build dies with "unknown option"

David Wolfskill david at catwhisker.org
Wed Feb 13 23:35:26 UTC 2019


On Wed, Feb 13, 2019 at 06:29:33PM -0500, Robert Huff wrote:
> 
> 	On a system running:
> 
> FreeBSD 13.0-CURRENT r343080 16 Jan 2019  amd64
> 
> 	I updated the source tree as of midnight US Eastern time, then
> ran buildworld.  That completed successfully.
> 	Then:
> 
> huff at jerusalem> make buildkernel KERNCONF=JERUSALEM
> make[1]: "/usr/src/Makefile.inc1" line 349: SYSTEM_COMPILER: libclang will be built for bootstrapping a cross-compiler.
> make[1]: "/usr/src/Makefile.inc1" line 352: SYSTEM_LINKER: Determined that LD=ld matches the source tree.  Not bootstrapping a cross-linker.
> 
> --------------------------------------------------------------
> >>> Kernel build for JERUSALEM started on Wed Feb 13 18:20:44 EST 2019
> --------------------------------------------------------------
> ===> JERUSALEM
> mkdir -p /usr/obj/usr/src/amd64.amd64/sys
> 
> --------------------------------------------------------------
> >>> stage 1: configuring the kernel
> --------------------------------------------------------------
> cd /usr/src/sys/amd64/conf;  PATH=/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin::/sbin:/bin:/usr/sbin:/usr/bin  config  -d /usr/obj/usr/src/amd64.amd64/sys/JERUSALEM  -I '/usr/src/sys/amd64/conf' '/usr/src/sys/amd64/conf/JERUSALEM'
> /usr/src/sys/amd64/conf/JERUSALEM: unknown option "AH_SUPPORT_AR5416"
> *** Error code 1
> 
> 	I do have:
> 
> options         AH_SUPPORT_AR5416  # enable AR5416 tx/rx descriptors
> options         AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
> options         ATH_ENABLE_11N     # Enable 802.11n support for AR5416 and later
> 
> 	in the config file.  (Full config file is appended.)
> ....

"svn log conf/NOTES" shows:

------------------------------------------------------------------------
r343427 | avos | 2019-01-25 05:48:40 -0800 (Fri, 25 Jan 2019) | 4 lines

Garbage collect AH_SUPPORT_AR5416 config option.

It does nothing since r318857.

------------------------------------------------------------------------

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Snow despite global warming is as expected as requiring energy to refrigerate.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20190213/0a2dddad/attachment.sig>


More information about the freebsd-current mailing list