Re: [PATCH] kunit: fixes Compilation error on s390

2025-03-31 Thread Heiko Carstens
On Sat, Mar 29, 2025 at 03:03:20PM +, Alessandro Carminati 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 > vers

Re: [PATCH] kunit: fixes Compilation error on s390

2025-03-29 Thread David Gow
On Sat, 29 Mar 2025 at 23:04, Alessandro Carminati 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

Re: [PATCH] kunit: fixes Compilation error on s390

2025-03-29 Thread Stephen Rothwell
Hi Alessandro, On Sat, 29 Mar 2025 15:03:20 + Alessandro Carminati 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