kernel build dies with "unknown option"
Ian Lepore
ian at freebsd.org
Wed Feb 13 23:36:53 UTC 2019
On Wed, 2019-02-13 at 18:29 -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/s
> bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.a
> md64/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.)
> Googling found nothing useful; didn't find anything in
> src/UPDATING.
> Is this me, or is the problem elsewhere?
>
> [...]
It looks like that option is no longer valid, and we neglected to make
an entry in UPDATING (avos@ cc'd), so you can safely remove it from
your config.
Author: avos
Date: Fri Jan 25 13:48:40 2019
New Revision: 343427
URL: https://svnweb.freebsd.org/changeset/base/343427
Log:
Garbage collect AH_SUPPORT_AR5416 config option.
It does nothing since r318857.
-- Ian
More information about the freebsd-current
mailing list