Date: Sun, 18 Jul 2021 17:31:16 -0600 From: Warner Losh <imp@bsdimp.com> To: Kevin Oberman <rkoberman@gmail.com> Cc: FreeBSD Stable ML <stable@freebsd.org> Subject: Re: Kernel build fails for stable Message-ID: <CANCZdfqbGxLo7BgUfaxkX4VnOEmwjacaPtpkKBQyjhe5SHdqoA@mail.gmail.com> In-Reply-To: <CAN6yY1vkDpMdL9NOh-fzhML3DkRRnA3JQLodt%2Bi048ukEP7CGA@mail.gmail.com> References: <CAN6yY1vkDpMdL9NOh-fzhML3DkRRnA3JQLodt%2Bi048ukEP7CGA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000047b0ec05c76e382c Content-Type: text/plain; charset="UTF-8" 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 > --00000000000047b0ec05c76e382c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqbGxLo7BgUfaxkX4VnOEmwjacaPtpkKBQyjhe5SHdqoA>