🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: org.kernel.vger.linux-hardening
1 messages
1 total messages Started by Kees Cook Wed, 07 May 2025 15:48
Re: [kees:for-next/hardening 6/14] mm/kasan/kasan_test_c.c:1504:7: warning: argument to variable-length array may be too large d...
#1
Author: Kees Cook
Date: Wed, 07 May 2025 15:48
22 lines
4386 bytes
On Wed, May 07, 2025 at 02:08:26PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/hardening
> head:   48b79238694db6e7eb3dd6153cf71107db624a11
> commit: 1ca6c23046d30abfe57d8706248ad5888aafa3bf [6/14] kbuild: Switch from -Wvla to -Wvla-larger-than=1
> :::::: branch date: 33 hours ago
> :::::: commit date: 9 days ago
> config: arm64-randconfig-002-20250502 (https://download.01.org/0day-ci/archive/20250507/202505071331.4iOzqmuE-lkp@intel.com/config)
> compiler: aarch64-linux-gcc (GCC) 8.5.0
> [...]
>    mm/kasan/kasan_test_c.c: At top level:
>    cc1: warning: unrecognized command line option '-Wno-vla-larger-than'

Man, GCC 8 and this option is pretty broken. I've update the patch
again to just do option removal instead of traditional warning
disabling:

https://web.git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?h=for-next/hardening&id=a81be1e542c0f35e171bc564d8b60785a12cff29

Thanks!

-- 
Kees Cook
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads