[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <a6f90bdb-8459-4d33-8874-7e724bd22d9f@app.fastmail.com>
Date: Fri, 21 Mar 2025 18:33:19 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Guenter Roeck" <linux@...ck-us.net>,
"Alessandro Carminati" <acarmina@...hat.com>, linux-kselftest@...r.kernel.org
Cc: "Dave Airlie" <airlied@...il.com>,
Maíra Canal <mcanal@...lia.com>,
"Dan Carpenter" <dan.carpenter@...aro.org>,
"Kees Cook" <keescook@...omium.org>,
Daniel Díaz <daniel.diaz@...aro.org>,
"David Gow" <davidgow@...gle.com>,
"Arthur Grillo" <arthurgrillo@...eup.net>,
"Brendan Higgins" <brendan.higgins@...ux.dev>,
"Naresh Kamboju" <naresh.kamboju@...aro.org>,
"Maarten Lankhorst" <maarten.lankhorst@...ux.intel.com>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Maxime Ripard" <mripard@...nel.org>,
Ville Syrjälä <ville.syrjala@...ux.intel.com>,
"Daniel Vetter" <daniel@...ll.ch>,
"Thomas Zimmermann" <tzimmermann@...e.de>,
"Alessandro Carminati" <alessandro.carminati@...il.com>,
"Jani Nikula" <jani.nikula@...el.com>, dri-devel@...ts.freedesktop.org,
kunit-dev@...glegroups.com, Linux-Arch <linux-arch@...r.kernel.org>,
linux-arm-kernel@...ts.infradead.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-parisc@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-riscv@...ts.infradead.org,
linux-s390@...r.kernel.org, linux-sh@...r.kernel.org,
loongarch@...ts.linux.dev, x86@...nel.org,
"Linaro Kernel Functional Testing" <lkft@...aro.org>,
"Heiko Carstens" <hca@...ux.ibm.com>,
"Vasily Gorbik" <gor@...ux.ibm.com>,
"Alexander Gordeev" <agordeev@...ux.ibm.com>
Subject: Re: [PATCH v4 10/14] s390: Add support for suppressing warning backtraces
On Fri, Mar 21, 2025, at 18:05, Guenter Roeck wrote:
> On 3/13/25 04:43, Alessandro Carminati wrote:
>
> gcc 10.3.0 and later do not have this problem. I also tried s390 builds
> with gcc 9.4
> and 9.5 but they both crash for unrelated reasons.
>
> If this is a concern, the best idea I have is to make KUNIT_SUPPRESS_BACKTRACE
> depend on, say,
> depends on CC_IS_CLANG || (CC_IS_GCC && GCC_VERSION >= 100300)
>
> A more complex solution might be to define an architecture flag such
> as HAVE_SUPPRESS_BACKTRACE, make that conditional on the gcc version
> for s390 only, and make KUNIT_SUPPRESS_BACKTRACE depend on it.
That is probably fine, there are very few users on s390 that build
their own kernels, and they likely all have modern compilers anyway.
I should still send a patch to raise the minimum compiler version to
gcc-8.1, but unfortunately that is not enough here.
Arnd
Powered by blists - more mailing lists