[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2b4a3215-1620-40c9-a00c-ca833ebbb7b6@csgroup.eu>
Date: Mon, 13 Oct 2025 08:46:48 +0200
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Vishal Chourasia <vishalc@...ux.ibm.com>, christophe.leroy@...roup.eu,
maddy@...ux.ibm.com, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com,
"llvm@...ts.linux.dev" <llvm@...ts.linux.dev>,
Nathan Chancellor <nathan@...nel.org>
Subject: Re: [PATCH] arch/powerpc: Remove .interp section in vmlinux
+CLANG ppl
Hi,
Le 13/10/2025 à 06:01, Vishal Chourasia a écrit :
> While debugging a ppc64le QEMU guest on an x86_64 host, I observed GDB crashes
> when attempting to attach to the remote target:
>
> (gdb) target remote :1234
>
> Investigation revealed that cross-compiling the Linux kernel for ppc64le on an
> x86_64 host using Clang produces a vmlinux binary containing an empty .interp
> section. This empty .interp section is responsible for the GDB crashes.
Which version of CLANG is it ?
>
> This issue does not occur when:
> - Building for ppc64le target using GCC on x86_64 host
> - Building for ppc64le target using Clang on ppc64le host
Is it the same CLANG version ?
> - Building for ppc64le target using GCC on ppc64le host
>
> For details refer [1]
>
> [1] https://sourceware.org/bugzilla/show_bug.cgi?id=33481
Christophe
Powered by blists - more mailing lists