[oe-commits] Khem Raj : libcdio: Workaround gcc ICE in thumb code when compiling with -O1

git version control git at git.openembedded.org
Sun Oct 10 07:08:56 UTC 2010


Module: openembedded.git
Branch: master
Commit: 4dd166181f9da5c7b44cf31e863df8bc3d033b78
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4dd166181f9da5c7b44cf31e863df8bc3d033b78

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Oct  9 23:51:18 2010 -0700

libcdio: Workaround gcc ICE in thumb code when compiling with -O1

* This is a known bug in GCC 4.5 when compiling for thumb mode
  thats why we only override it for thumb
  DEBUG_OPTIMIZATION_thumb = "-Os -fno-omit-frame-pointer -g

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/libcdio/libcdio.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/libcdio/libcdio.inc b/recipes/libcdio/libcdio.inc
index 1ccc791..4125cf6 100644
--- a/recipes/libcdio/libcdio.inc
+++ b/recipes/libcdio/libcdio.inc
@@ -21,3 +21,4 @@ python populate_packages_prepend () {
         glibdir = bb.data.expand('${libdir}', d)
         do_split_packages(d, glibdir, '^lib(.*)\.so\..*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
 }
+DEBUG_OPTIMIZATION_thumb = "-Os -fno-omit-frame-pointer -g"





More information about the Openembedded-commits mailing list