On 07.10.2015 17:36, Lynn A. Boger wrote:
Pretty sure this is the fix, but still doing some testing.

linux.h isn't included for multilib enabled builds defaulting to powerpc-linux-gnu, I am currently testing

--- gcc/config/rs6000/sysv4.h   (revision 228571)
+++ gcc/config/rs6000/sysv4.h   (working copy)
@@ -943,8 +943,9 @@
 /* On ppc64 and ppc64le, split stack is only support for
    64 bit. */
 #undef TARGET_CAN_SPLIT_STACK_64BIT
-#if TARGET_GLIBC_MAJOR > 2 \
-  || (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 18)
+#if TARGET_64BIT \
+  && (TARGET_GLIBC_MAJOR > 2 \
+      || (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 18))
 #define TARGET_CAN_SPLIT_STACK_64BIT
 #endif



Reply via email to