|
From: | Thomas Huth |
Subject: | Re: [PATCH] gitlab-ci: Use -fno-sanitize=function in the clang-user job |
Date: | Fri, 26 Jul 2024 11:09:04 +0200 |
User-agent: | Mozilla Thunderbird |
On 26/07/2024 01.33, Richard Henderson wrote:
On 7/24/24 16:08, Thomas Huth wrote:On 24/07/2024 01.25, Richard Henderson wrote:With -fsanitize=undefined, which implies -fsanitize=function, clang will add a "type signature" before functions. It accesses funcptr-8 and funcptr-4 to do so. The generated TCG prologue is directly on a page boundary, so these accesses segfault. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>What happend to Akihiko Odaki's more generic patch: 20240714-function-v1-1-cc2acb4171ba@daynix.com/">https://lore.kernel.org/qemu-devel/20240714-function-v1-1-cc2acb4171ba@daynix.com/ ?This patch does not work: https://gitlab.com/qemu-project/qemu/-/jobs/7432239478/viewer#L4956 I presume this is an argument ordering issue vs --extra-cflags.
Ok, then we should definitely go with your patch to fix the job now. ... and I just saw that you already applied it 👍
Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |