Turns out the G4 doesn't support the full GPOPT instruction set (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24913) so we can't use that flag.
~Austin
arobison@sci.utah.edu wrote:
Author: arobison
Date: Wed Dec 5 01:13:18 2007
New Revision: 1908
Modified:
trunk/CMake/ConfigCompilerFlags.cmake
Log:
removing -mpowerpc-gpopt flag for G4 processors for a compiler bug workaround.
Modified: trunk/CMake/ConfigCompilerFlags.cmake
==============================================================================
--- trunk/CMake/ConfigCompilerFlags.cmake (original)
+++ trunk/CMake/ConfigCompilerFlags.cmake Wed Dec 5 01:13:18 2007
@@ -117,7 +117,7 @@
## Apple
##############################################################
IF (APPLE_G4)
- APPEND_TO_STRING(GCC_OPT "-falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -mpowerpc-gpopt -force_cpusubtype_ALL -mtune=G4 -mcpu=G4 -faltivec -mabi=altivec -mpowerpc-gfxopt")
+ APPEND_TO_STRING(GCC_OPT "-falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -force_cpusubtype_ALL -mtune=G4 -mcpu=G4 -faltivec -mabi=altivec -mpowerpc-gfxopt")
ENDIF (APPLE_G4)
# G5 Workstation.
Archive powered by MHonArc 2.6.16.