eglibc: build with -ggdb3 as workaround for alignment traps
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 11 Aug 2010 20:44:40 +0000 (22:44 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 11 Aug 2010 20:46:07 +0000 (22:46 +0200)
* I've seen it only with eglibc-2.12 built with gcc-4.5 that's why I bumped PR only in 2.12
* can be removed as soon as gcc bug is fixed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
conf/distro/include/sane-toolchain-eglibc.inc
recipes/eglibc/eglibc_2.12.bb

index 1e370d0..149f61e 100644 (file)
@@ -4,6 +4,8 @@
 # [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os"
 
 FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
+# Work-around for alignment traps when eglibc-2.12 is built with gcc-4.5*
+FULL_OPTIMIZATION_pn-eglibc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -ggdb3"
 FULL_OPTIMIZATION_pn-perl = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1"
 FULL_OPTIMIZATION_sparc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
 
index ea22134..f34cbb4 100644 (file)
@@ -4,7 +4,7 @@ DEFAULT_PREFERENCE = "-1"
 DEPENDS += "gperf-native"
 FILESPATHPKG =. "eglibc-svn:"
 PV = "2.12"
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 PR_append = "+svnr${SRCPV}"
 SRCREV="11187"
 EGLIBC_BRANCH="eglibc-2_12"