[oe-commits] org.oe.dev angstrom-uclibc.inc: Re-enable optimization for AVR32 now that we switched to gcc-4.2.2 with Atmel patches which has the ICE fixed.

gwossum commit oe at amethyst.openembedded.net
Wed Apr 30 11:40:07 UTC 2008


angstrom-uclibc.inc: Re-enable optimization for AVR32 now that we switched to gcc-4.2.2 with Atmel patches which has the ICE fixed.

Author: gwossum
Branch: org.openembedded.dev
Revision: 85aa9d44282e81ea802eaddb07462565da096dbd
ViewMTN: http://monotone.openembedded.org/revision/info/85aa9d44282e81ea802eaddb07462565da096dbd
Files:
1
conf/distro/include/angstrom-uclibc.inc
Diffs:

#
# mt diff -r8ef6f40062f322a638a7b2df52172bdcf6b2fff9 -r85aa9d44282e81ea802eaddb07462565da096dbd
#
#
#
# patch "conf/distro/include/angstrom-uclibc.inc"
#  from [bd467a8983d81901f98163052c0537bbf2909f15]
#    to [ed3615a8cce5b329c1b4354ca91a98190a64f862]
#
============================================================
--- conf/distro/include/angstrom-uclibc.inc	bd467a8983d81901f98163052c0537bbf2909f15
+++ conf/distro/include/angstrom-uclibc.inc	ed3615a8cce5b329c1b4354ca91a98190a64f862
@@ -16,8 +16,15 @@ BUILD_OPTIMIZATION = "-Os"
 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"
 






More information about the Openembedded-commits mailing list