All of lore.kernel.org
 help / color / mirror / Atom feed
From: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Kees Cook <kees@kernel.org>,
	nathan@kernel.org, hch@lst.de,
	Madhavan Srinivasan <maddy@linux.ibm.com>,
	LKML <linux-kernel@vger.kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: [linux-next-20250422] Build failure: Wvla-larger-than=0 is meaningless
Date: Sat, 26 Apr 2025 10:51:24 +0530	[thread overview]
Message-ID: <850ba4bc-a703-4e1e-b19f-ccf09b38b2cd@linux.ibm.com> (raw)
In-Reply-To: <7780883c-0ac8-4aaa-b850-469e33b50672@linux.ibm.com>


On 23/04/25 7:11 pm, Venkat Rao Bagalkote wrote:
> Hello,
>
>
> I am observing linux-next build failure on IBM Power8 server.
>
>
> Repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>
> Branch: master
>
> GCC: 8.5.0 20210514
>
> ldd (GNU libc) 2.28
>
> Attached is the .config file.
>
>
> Build errors:
>
>
> [[01m^[[Kcc1:^[[m^[[K ^[[01;36m^[[Knote: ^[[m^[[K-Wvla-larger-than=0 
> is meaningless
> ^[[01m^[[Kcc1:^[[m^[[K ^[[01;36m^[[Knote: ^[[m^[[K-Wvla-larger-than=0 
> is meaningless
> ^[[01m^[[Kcc1:^[[m^[[K ^[[01;36m^[[Knote: ^[[m^[[K-Wvla-larger-than=0 
> is meaningless
> ^[[01m^[[Kcc1:^[[m^[[K ^[[01;36m^[[Knote: ^[[m^[[K-Wvla-larger-than=0 
> is meaningless
> ^[[01m^[[Kcc1:^[[m^[[K ^[[01;36m^[[Knote: ^[[m^[[K-Wvla-larger-than=0 
> is meaningless
> make[1]: *** [/home/upstreamci/linux/Makefile:2011: .] Error 2
> make: *** [Makefile:248: __sub-make] Error 2
>

I am seeing this failure on 6.15.0-rc3-next-20250424 kernel as well. Can 
someone please help in fixing this.


Regards,

Venkat.

>
> Git bisect is pointing to first bad commit as: 
> 4e5222bc2eef69252277f837880c876bf0ffee04
>
>
> Git Bisect log:
>
>
> git bisect start
> # status: waiting for both good and bad commits
> # good: [9c32cda43eb78f78c73aee4aa344b777714e259b] Linux 6.15-rc3
> git bisect good 9c32cda43eb78f78c73aee4aa344b777714e259b
> # status: waiting for bad commit, 1 good commit known
> # bad: [2c9c612abeb38aab0e87d48496de6fd6daafb00b] Add linux-next 
> specific files for 20250422
> git bisect bad 2c9c612abeb38aab0e87d48496de6fd6daafb00b
> # good: [d1da62193ce9715a3cd25a6007b32284aef3725e] Merge branch 
> 'drm-next' of https://gitlab.freedesktop.org/drm/kernel.git
> git bisect good d1da62193ce9715a3cd25a6007b32284aef3725e
> # good: [165991dc7afd1eec364a4b980cf6befdfca84404] next-20250414/tip
> git bisect good 165991dc7afd1eec364a4b980cf6befdfca84404
> # good: [feaa817f7fbb1bb50f3c6b119098c5940c2e2532] Merge branch 
> 'togreg' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
> git bisect good feaa817f7fbb1bb50f3c6b119098c5940c2e2532
> # good: [b7d37856d1bddb8e79a7e27a8605dfbb82fe8e9a] Merge branch 
> 'for-next' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git
> git bisect good b7d37856d1bddb8e79a7e27a8605dfbb82fe8e9a
> # good: [77fe94f0d068193c22ce8cfd7ee6317ab2f679c2] Merge branch 
> 'kunit' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git
> git bisect good 77fe94f0d068193c22ce8cfd7ee6317ab2f679c2
> # good: [627d1af4ec321f81d7ca76f541aef908d5a0e4bd] Merge branch 
> 'ntb-next' of https://github.com/jonmason/ntb.git
> git bisect good 627d1af4ec321f81d7ca76f541aef908d5a0e4bd
> # good: [f34fa2aef257678d9534cb3debbceaf453df02cc] Merge branch 
> 'pin-init-next' of https://github.com/Rust-for-Linux/linux.git
> git bisect good f34fa2aef257678d9534cb3debbceaf453df02cc
> # good: [9b7c1e4703dbff94ee0a545445f706518fccb73a] Merge branch 
> 'bitmap-for-next' of https://github.com/norov/linux.git
> git bisect good 9b7c1e4703dbff94ee0a545445f706518fccb73a
> # bad: [685b6cba6fcbdc4a3b1708ac70aef556f594907c] Merge branch 
> 'for-next/kspp' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
> git bisect bad 685b6cba6fcbdc4a3b1708ac70aef556f594907c
> # good: [431f4fcea79ffe17f396c10cf42d226494d2f489] kunit/usercopy: 
> Disable u64 test on 32-bit SPARC
> git bisect good 431f4fcea79ffe17f396c10cf42d226494d2f489
> # good: [89860db3b0405ccf4419e76eff487544aab4e4d4] overflow: Clarify 
> expectations for getting DEFINE_FLEX variable sizes
> git bisect good 89860db3b0405ccf4419e76eff487544aab4e4d4
> # bad: [c5b45570cac5302cb650531a35142eab8231853c] mod_devicetable: 
> Enlarge the maximum platform_device_id name length
> git bisect bad c5b45570cac5302cb650531a35142eab8231853c
> # bad: [4e5222bc2eef69252277f837880c876bf0ffee04] kbuild: Switch from 
> -Wvla to -Wvla-larger-than=0
> git bisect bad 4e5222bc2eef69252277f837880c876bf0ffee04
> # first bad commit: [4e5222bc2eef69252277f837880c876bf0ffee04] kbuild: 
> Switch from -Wvla to -Wvla-larger-than=0
>
>
> I tried reverting the bad commit, but build fails with something like 
> this.
>
>
> Build Error after reverting the first bad commit
>
> kernel/watchdog.c: In function 'lockup_detector_reconfigure':
> kernel/watchdog.c:936:2: error: too many arguments to function 
> '__lockup_detector_reconfigure'
>   __lockup_detector_reconfigure(false);
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> kernel/watchdog.c:926:13: note: declared here
>  static void __lockup_detector_reconfigure(void)
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> kernel/watchdog.c: In function 'lockup_detector_setup':
> kernel/watchdog.c:940:2: error: too many arguments to function 
> '__lockup_detector_reconfigure'
>   __lockup_detector_reconfigure(false);
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> kernel/watchdog.c:926:13: note: declared here
>  static void __lockup_detector_reconfigure(void)
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> kernel/watchdog.c: In function 'proc_watchdog_update':
> kernel/watchdog.c:962:2: error: too many arguments to function 
> '__lockup_detector_reconfigure'
>   __lockup_detector_reconfigure(thresh_changed);
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> kernel/watchdog.c:926:13: note: declared here
>  static void __lockup_detector_reconfigure(void)
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> kernel/watchdog.c: At top level:
> cc1: warning: unrecognized command line option 
> '-Wno-unterminated-string-initialization'
> make[3]: *** [scripts/Makefile.build:203: kernel/watchdog.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [scripts/Makefile.build:461: kernel] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [/root/linux-next/Makefile:2011: .] Error 2
> make: *** [Makefile:248: __sub-make] Error 2
>
>
> If you happen to fix this issue, please add below tag.
>
>
> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
>
>
> Regards,
>
> Venkat.

  reply	other threads:[~2025-04-26  5:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-23 13:41 [linux-next-20250422] Build failure: Wvla-larger-than=0 is meaningless Venkat Rao Bagalkote
2025-04-26  5:21 ` Venkat Rao Bagalkote [this message]
2025-04-26  5:50 ` Kees Cook
2025-04-26 14:53   ` Venkat Rao Bagalkote

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=850ba4bc-a703-4e1e-b19f-ccf09b38b2cd@linux.ibm.com \
    --to=venkat88@linux.ibm.com \
    --cc=hch@lst.de \
    --cc=kees@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=maddy@linux.ibm.com \
    --cc=nathan@kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.