Description: * This patch removes -mvsx and -maltivec for go aix/ppc. These options don't seem compatible with Go stack layout.
Tests: * AIX 7.2: Configure/Build: SUCCESS Changelog: * go/gospec.c (lang_specific_driver): disable -mvsx and -maltivec for aix/ppc. Clément Chigot ATOS Bull SAS 1 rue de Provence - 38432 Échirolles - France
Index: gospec.c =================================================================== --- gospec.c (revision 269987) +++ gospec.c (working copy) @@ -427,6 +427,14 @@ lang_specific_driver (struct cl_decoded_option **i j++; #endif +#if defined(TARGET_AIX) && defined(TARGET_32BIT) + /* aix/ppc doesn't support -mvsx and -maltivec with Go */ + generate_option (OPT_mvsx, NULL, 0, CL_DRIVER, &new_decoded_options[j]); + j++; + generate_option (OPT_maltivec, NULL, 0, CL_DRIVER, &new_decoded_options[j]); + j++; +#endif + *in_decoded_options_count = j; *in_decoded_options = new_decoded_options; *in_added_libraries = added_libraries;