aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-08-11 22:44:40 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-08-11 22:46:07 +0200
commit0dee8eb3458f655ff7e21a898178051c521e5891 (patch)
tree192a7ed19090aaf4905ed955d228dd1be1add182 /conf
parent02b206798943259214336d2a6ffbacfdf5562e44 (diff)
downloadopenembedded-0dee8eb3458f655ff7e21a898178051c521e5891.tar.gz
openembedded-0dee8eb3458f655ff7e21a898178051c521e5891.tar.bz2
openembedded-0dee8eb3458f655ff7e21a898178051c521e5891.zip
eglibc: build with -ggdb3 as workaround for alignment traps
* 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>
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/include/sane-toolchain-eglibc.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/distro/include/sane-toolchain-eglibc.inc b/conf/distro/include/sane-toolchain-eglibc.inc
index 1e370d0b8c..149f61ed3e 100644
--- a/conf/distro/include/sane-toolchain-eglibc.inc
+++ b/conf/distro/include/sane-toolchain-eglibc.inc
@@ -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"