main/gcc: disable -fsplit-stack on non-glibc targets
The -fsplit-stack option requires specific fields at hardcoded offsets in the pthread_t TCB, musl does not have these fields. Therefore, enabling this compiler option on musl causes silent memory corruptions in the pthread_t TCB. gcc-go enables this option by default if it is available (x86 and s390x). This commit fixes bootstrapping of Google's Go implementation with gcc-go on s390x (see !27944). See https://www.openwall.com/lists/musl/2012/10/16/12
parent
8a7aff86
No related branches found
No related tags found
Please register or sign in to comment