Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #73890 > unrolled thread

Bug#1001083: linux-headers-5.16.0-rc3-common: KBUILD_CFLAGS contains quoted string "-Wimplicit-fallthrough=5"

Started byAndreas Beckmann <anbe@debian.org>
First post2021-12-03 22:00 +0100
Last post2021-12-08 10:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1001083: linux-headers-5.16.0-rc3-common: KBUILD_CFLAGS contains quoted string "-Wimplicit-fallthrough=5" Andreas Beckmann <anbe@debian.org> - 2021-12-03 22:00 +0100
    Bug#1001083: marked as done (linux-headers-5.16.0-rc3-common:  KBUILD_CFLAGS contains quoted string "-Wimplicit-fallthrough=5") "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-12-08 10:10 +0100

#73890 — Bug#1001083: linux-headers-5.16.0-rc3-common: KBUILD_CFLAGS contains quoted string "-Wimplicit-fallthrough=5"

FromAndreas Beckmann <anbe@debian.org>
Date2021-12-03 22:00 +0100
SubjectBug#1001083: linux-headers-5.16.0-rc3-common: KBUILD_CFLAGS contains quoted string "-Wimplicit-fallthrough=5"
Message-ID<DqnOV-6L-3@gated-at.bofh.it>
Source: linux
Version: 5.16~rc3-1~exp1
Severity: important
Control: block 1001007 with -1

KBUILD_CFLAGS in 5.16 contains a quoted string, and at some point of
passing the flags through the build system of the kernel and third
party modules, the quotes get "protected" and finally passed as part of
an argument to gcc, which fails with

gcc-11: error: "-Wimplicit-fallthrough=5": linker input file not found: No such file or directory

This has so far been reported for the nvidia kernel module (#1001007),
but I would expect that it can happen for other modules as well.

The origin of this quoted value: it's a quoted string in .config:

/usr/src/linux-headers-5.16.0-rc3-amd64/.config:CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5"
/usr/src/linux-headers-5.16.0-rc3-common/Makefile:KBUILD_CFLAGS += $(KBUILD_CFLAGS-y) $(CONFIG_CC_IMPLICIT_FALLTHROUGH)

Probably
    KBUILD_CFLAGS += $(KBUILD_CFLAGS-y) $(patsubst "%",%,$(CONFIG_CC_IMPLICIT_FALLTHROUGH))
would be sufficient to fix this.


Andreas

[toc] | [next] | [standalone]


#73909 — Bug#1001083: marked as done (linux-headers-5.16.0-rc3-common: KBUILD_CFLAGS contains quoted string "-Wimplicit-fallthrough=5")

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-12-08 10:10 +0100
SubjectBug#1001083: marked as done (linux-headers-5.16.0-rc3-common: KBUILD_CFLAGS contains quoted string "-Wimplicit-fallthrough=5")
Message-ID<Ds17z-24x-7@gated-at.bofh.it>
In reply to#73890

[Multipart message — attachments visible in raw view] — view raw

Your message dated Wed, 08 Dec 2021 09:00:09 +0000
with message-id <E1muso5-000Gnr-H4@fasolo.debian.org>
and subject line Bug#1001083: fixed in linux 5.16~rc4-1~exp1
has caused the Debian Bug report #1001083,
regarding linux-headers-5.16.0-rc3-common: KBUILD_CFLAGS contains quoted string "-Wimplicit-fallthrough=5"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1001083: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001083
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web