Re: [PATCH] gitlab-ci: Use -fno-sanitize=function in the clang-user job

2024-07-26 Thread Thomas Huth
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 g

Re: [PATCH] gitlab-ci: Use -fno-sanitize=function in the clang-user job

2024-07-25 Thread Richard Henderson
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 bou

Re: [PATCH] gitlab-ci: Use -fno-sanitize=function in the clang-user job

2024-07-24 Thread Richard Henderson
On 7/24/24 20:52, Daniel P. Berrangé wrote: On Wed, Jul 24, 2024 at 09:25:42AM +1000, 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 prolog

Re: [PATCH] gitlab-ci: Use -fno-sanitize=function in the clang-user job

2024-07-24 Thread Daniel P . Berrangé
On Wed, Jul 24, 2024 at 09:25:42AM +1000, 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, >

Re: [PATCH] gitlab-ci: Use -fno-sanitize=function in the clang-user job

2024-07-23 Thread Thomas Huth
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. Si

[PATCH] gitlab-ci: Use -fno-sanitize=function in the clang-user job

2024-07-23 Thread Richard Henderson
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 --- Does anyone