Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2021 16:56:17 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        FreeBSD Stable ML <stable@freebsd.org>
Subject:   Re: Kernel build fails for stable
Message-ID:  <CAN6yY1v%2Bw08RAb4HuWa7UkDUF54DwrcCgYiOLwqsuFsTM89qTw@mail.gmail.com>
In-Reply-To: <CANCZdfqXdU9Bbxmd_vAC7kLYno5DuTKoEaEySYtro_GVz-vrYQ@mail.gmail.com>
References:  <CAN6yY1vkDpMdL9NOh-fzhML3DkRRnA3JQLodt%2Bi048ukEP7CGA@mail.gmail.com> <CANCZdfqbGxLo7BgUfaxkX4VnOEmwjacaPtpkKBQyjhe5SHdqoA@mail.gmail.com> <CANCZdfqXdU9Bbxmd_vAC7kLYno5DuTKoEaEySYtro_GVz-vrYQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000022bc705c76e9218
Content-Type: text/plain; charset="UTF-8"

No problem, thanks!

I assume this ties to the lkpi update today for the iwlwifi drivers by bz.
The note in UPDATING states:
Bump __FreeBSD_version to 1300512 after merging LinuxKPI, OFED,
        net80211, and driver changes in order to support building
        Intel wireless iwlwifi drivers.  This is especially needed for
        drm-kmod which needs updates after this.

So, are updates available or am I just stuck until they are done. (BTW,
trying to build the drm-fbsd13-kmod port yields similar errors.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


On Sun, Jul 18, 2021 at 4:36 PM Warner Losh <imp@bsdimp.com> wrote:

> Scratch that... sorry for the hair trigger.. too many pings elsewhere.
>
> Warner
>
> On Sun, Jul 18, 2021, 5:31 PM Warner Losh <imp@bsdimp.com> wrote:
>
>> You need to grab the awk fix listed in UPDATING.
>>
>> Warner
>>
>>
>> On Sun, Jul 18, 2021, 5:29 PM Kevin Oberman <rkoberman@gmail.com> wrote:
>>
>>> I updated sources and did a buildworld for 13/stable updated about
>>> 2021-07-18 22:50. Still trying to figure out how to get the hash. Sorry.
>>>
>>> buildkernel dies building
>>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi.
>>> Build of linux_compat.o fails with the rather long chain of includes
>>> with:
>>> In file included from
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:36:
>>> In file included from
>>>
>>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/kobject.h:4:
>>> In file included from
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:37:
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:118:2: error:
>>> implicit declaration of function '__stringify' is invalid in C99
>>> [-Werror,-Wimplicit-function-declaration]
>>>         WARN_ON(release == NULL);
>>>         ^
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:128:7: note:
>>> expanded from macro 'WARN_ON'
>>>                     __stringify(cond), __FILE__, __LINE__);     \
>>>                     ^
>>>                     ^
>>> In file included from
>>>
>>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/src/linux_compat.c:10:
>>> In file included from
>>>
>>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/pci.h:10:
>>> In file included from
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
>>> In file included from
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:37:
>>> In file included from
>>>
>>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/device.h:4:
>>> In file included from
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:36:
>>> In file included from
>>>
>>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/kobject.h:4:
>>> In file included from
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:37:
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:118:2: error:
>>> format specifies type 'char *' but the argument has type 'int'
>>> [-Werror,-Wformat]
>>>         WARN_ON(release == NULL);
>>>         ^~~~~~~~~~~~~~~~~~~~~~~~
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:128:7: note:
>>> expanded from macro 'WARN_ON'
>>>                     __stringify(cond), __FILE__, __LINE__);     \
>>>
>>> Are others seeing this? Any idea what's wrong? I didn't even realize that
>>> the lkpi and drm module had been moved into the kernel build.
>>>
>>> I mostly would like to see if something is broken in my environment
>>> before
>>> opening a ticket. Full build log available on request.
>>> --
>>> Kevin Oberman, Part time kid herder and retired Network Engineer
>>> E-mail: rkoberman@gmail.com
>>> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>>>
>>

--000000000000022bc705c76e9218--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1v%2Bw08RAb4HuWa7UkDUF54DwrcCgYiOLwqsuFsTM89qTw>