[PATCH] kunit: fixes Compilation error on s390
Stephen Rothwell
sfr at canb.auug.org.au
Sat Mar 29 22:09:46 UTC 2025
Hi Alessandro,
On Sat, 29 Mar 2025 15:03:20 +0000 Alessandro Carminati <acarmina at redhat.com> wrote:
>
> The current implementation of suppressing warning backtraces uses __func__,
> which is a compile-time constant only for non -fPIC compilation.
> GCC's support for this situation in position-independent code varies across
> versions and architectures.
>
> On the s390 architecture, -fPIC is required for compilation, and support
> for this scenario is available in GCC 11 and later.
>
> Fixes: d8b14a2 ("bug/kunit: core support for suppressing warning backtraces")
>
> Signed-off-by: Alessandro Carminati <acarmina at redhat.com>
Please keep all the commit message tags together at the end of the
commit message.
--
Cheers,
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250330/6409829c/attachment-0001.sig>
More information about the dri-devel
mailing list