Fails with -Werror=strict-aliasing. CompilationError: CompilationError(err=""" In file included from /var/tmp/portage/dev-python/pypy3_10-exe-7.3.17/work/pypy3.10-v7.3.17-src/rpython/translator/c/src/thread.c:24: /var/tmp/portage/dev-python/pypy3_10-exe-7.3.17/work/pypy3.10-v7.3.17-src/rpython/translator/c/src/thread_pthread.c: In function 'RPyThreadStartEx': /var/tmp/portage/dev-python/pypy3_10-exe-7.3.17/work/pypy3.10-v7.3.17-src/rpython/translator/c/src/thread_pthread.c:134:34: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] 134 | return (Signed) *(Signed *) &th; | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors """) Reproducible: Always
Created attachment 907387 [details] Build log.
https://github.com/pypy/pypy/blob/88f15bafdfc3fcd686167b4fd69c2ff51f1b531c/rpython/translator/c/src/thread_pthread.c#L134