summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-11-08 12:18:38 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-11-08 12:18:38 +0000
commit3b174c870a838ff5c0b557c308df21d27421b469 (patch)
treef1205ea6c251579c9a44202a2a846a3f9931435f
parente849694c364244ebb3e3230404edb07e0737286b (diff)
downloadportage-3b174c870a838ff5c0b557c308df21d27421b469.tar.gz
portage-3b174c870a838ff5c0b557c308df21d27421b469.tar.bz2
portage-3b174c870a838ff5c0b557c308df21d27421b469.zip
Updated make.conf.ppc as requested by lu_zero (#102656)
svn path=/main/trunk/; revision=2263
-rw-r--r--cnf/make.conf.ppc29
1 files changed, 18 insertions, 11 deletions
diff --git a/cnf/make.conf.ppc b/cnf/make.conf.ppc
index e3af54be3..3cf2c7369 100644
--- a/cnf/make.conf.ppc
+++ b/cnf/make.conf.ppc
@@ -44,31 +44,38 @@ CHOST="powerpc-unknown-linux-gnu"
# to optimize your code for. Code generated under those options will run best
# on that processor, and may not run at all on others.
#
-# GCC 3.2 supports many powerpc processor types including: rios, rios1, rsc,
-# rios2, rs64a, 601, 602, 603, 603e, 604, 604e, 620, 630, 740, 7400, 7450, 750,
-# power, power2, powerpc, 403, 505, 801, 821, 823, and 860 and common.
+# GCC 3.4 supports many powerpc processor types including: 401, 403, 405,
+# 405fp, 440, 440fp, 505, 601, 602, 603, 603e, 604, 604e, 620, 630, 740, 7400,
+# 7450, 750, 801, 821, 823, 860, 970, 8540, common, ec603e, G3, G4, G5, power,
+# power2, power3, power4, power5, powerpc, powerpc64, rios, rios1, rios2, rsc,
+# and rs64a
#
-# Recommended settings for GCC 3.2 only (Gentoo 1.4 or newer) :
+# Recommended settings for GCC 3.4 only :
#
-# -maltivec enables optional (still limited) altivec support and should be used
+# -maltivec enables optional altivec support and should be used
# only for G4 processors, on GCC 3.2 or newer. It also requires that you have
# the alitvec option compiled into your kernel to take full advantage of this
-# feature. Note: you should also include -mabi=altivec flag if using this option.
+# feature. Note: you should also include -mabi=altivec flag if using this
+# option.
+#
+# The newer gcc has a stricter aliasing ruleset that makes type punned
+# expression faulty compiled if -fstrict-aliasing is enabled.
+# That option is implied by -O2 -Os and -O3. Make SURE you don't have that
+# option enabled by adding -fno-strict-aliasing to your CFLAGS and CXXFLAGS
#
# Long term testing has shown that -O3 opts can be unreliable on G4's but work
-# on G3 series processors or earlier. Use on a G4 at your own risk =)
+# on G3 series processors or earlier.
#
-# Due to some failures with the cpu string of 7450, the dev team recommends
-# using -mcpu=7400 for all G4 series processors until GCC 3.2 is more mature
+# The following is the suggested CFLAGS for a generic G4 cpu
#
-#CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
+#CFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
#
#
# All non G4 PPC boxen should choose this next option. It will work fine for
# all G3 and pre machines. (note it will not hurt pre G3 machines either to
# use this mcpu option as it is the default for gcc 3.2.x anyway)
#
-#CFLAGS="-O3 -pipe -mcpu=750"
+#CFLAGS="-O3 -pipe -mcpu=G3 -fno-strict-aliasing"
# Recommended settings for GCC 2.95.3 only (Gentoo 1.2 or older):
#