summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-04-30 11:45:25 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-04-30 11:45:25 +0000
commit2eebccf63414618a6da891784eef7635a885e33e (patch)
tree18f260a22143c4a495ea660bdaa2e34632f96cdf /conf
parent97a1321ef27cb993f15464c2c43e02f81543a401 (diff)
parent0970057a1b0c654384a46c2361888322eb614d5e (diff)
merge of '26a2db272eb8a8c45759850000cba2e07e5de47e'
and 'c7279b542db917aa1365c575fa3b2d81439abf03'
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/angstrom-2008.1.conf10
-rw-r--r--conf/distro/include/angstrom-uclibc.inc11
2 files changed, 14 insertions, 7 deletions
diff --git a/conf/distro/angstrom-2008.1.conf b/conf/distro/angstrom-2008.1.conf
index 16c7b7d14f..eb83cbcbb5 100644
--- a/conf/distro/angstrom-2008.1.conf
+++ b/conf/distro/angstrom-2008.1.conf
@@ -119,11 +119,11 @@ require conf/distro/include/preferred-gpe-versions-2.8.inc
require conf/distro/include/preferred-e-versions.inc
require conf/distro/include/preferred-xorg-versions-X11R7.3.inc
-#avr32 only has patches for binutils 2.17 and gcc 4.2.1 in OE
-PREFERRED_VERSION_gcc_avr32 = "4.2.1"
-PREFERRED_VERSION_gcc-cross_avr32 = "4.2.1"
-PREFERRED_VERSION_gcc-cross-sdk_avr32 = "4.2.1"
-PREFERRED_VERSION_gcc-cross-initial_avr32 = "4.2.1"
+#avr32 only has patches for binutils 2.17 and gcc 4.2.2 in OE
+PREFERRED_VERSION_gcc_avr32 = "4.2.2"
+PREFERRED_VERSION_gcc-cross_avr32 = "4.2.2"
+PREFERRED_VERSION_gcc-cross-sdk_avr32 = "4.2.2"
+PREFERRED_VERSION_gcc-cross-initial_avr32 = "4.2.2"
PREFERRED_VERSION_binutils_avr32 = "2.17"
PREFERRED_VERSION_binutils-cross_avr32 = "2.17"
PREFERRED_VERSION_binutils-cross-sdk_avr32 = "2.17"
diff --git a/conf/distro/include/angstrom-uclibc.inc b/conf/distro/include/angstrom-uclibc.inc
index 7e8e60d7dd..7c713e65ea 100644
--- a/conf/distro/include/angstrom-uclibc.inc
+++ b/conf/distro/include/angstrom-uclibc.inc
@@ -16,8 +16,15 @@ FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-reg
BUILD_OPTIMIZATION = "-Os"
#Gcc will die with 'internal consistency error when using the above optimizations
-FULL_OPTIMIZATION_avr32 = ""
-BUILD_OPTIMIZATION_avr32 = ""
+#with gcc-4.2.1-atmel.1.0.3 (and probably most other avr32 gcc ports).
+#However, some packages require optimizations to compile (e.g. libmad).
+#It appears the guilty optimization is "-frename-registers", leaving that one
+#out allows the build to proceed normally. -fexpensive-optimizations may be OK,
+#it was removed while debugging an issue that ultimately turned out to be due
+#to the ICE fixed by gcc-pr32889.patch. It needs to be tested again.
+#Note that this testing was done without the gcc-pr32889.patch.
+FULL_OPTIMIZATION_avr32 = "-Os -fomit-frame-pointer"
+
CXXFLAGS += "-fvisibility-inlines-hidden"