Tobias Hansen <tobias.han@gmx.de> (17/06/2012): > Thanks! I reported the bug: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53701 Thanks. > If it works with gcc-4.7, we could just upload a package that uses > that on ia64 or not? Or do you mean gcc-4.7 crashes on the next file? I meant gcc-4.6 crashes on the next file when the problematic file is built with gcc-4.7; building the whole package with 4.7 is OK. I'm attaching the patch I tested on merulo (hoping I didn't overlook anything, it's still before-coffee-time here). Mraw, KiBi.
--- allegro4.4-4.4.2/debian/changelog 2012-06-02 16:16:06.000000000 +0000
+++ allegro4.4-4.4.2/debian/changelog 2012-06-17 09:42:11.000000000 +0000
@@ -1,3 +1,10 @@
+allegro4.4 (2:4.4.2-3) UNRELEASED; urgency=low
+
+ * Work around ICE on ia64 by using gcc-4.7 there instead of gcc-4.6
+ on this architecture.
+
+ -- Cyril Brulebois <kibi@debian.org> Sun, 17 Jun 2012 09:30:03 +0000
+
allegro4.4 (2:4.4.2-2) unstable; urgency=low
* debian/patches/fix_ftbfs_with_sbuild.patch:
--- allegro4.4-4.4.2/debian/control 2012-05-19 14:03:11.000000000 +0000
+++ allegro4.4-4.4.2/debian/control 2012-06-17 09:31:05.000000000 +0000
@@ -21,7 +21,9 @@
libglu1-mesa-dev,
libpng-dev,
zlib1g-dev,
- libvorbis-dev
+ libvorbis-dev,
+ gcc-4.7 [ia64],
+ g++-4.7 [ia64]
Standards-Version: 3.9.3
Package: liballegro4.4
--- allegro4.4-4.4.2/debian/rules 2012-06-02 15:56:06.000000000 +0000
+++ allegro4.4-4.4.2/debian/rules 2012-06-17 09:32:42.000000000 +0000
@@ -4,6 +4,11 @@
# export DH_VERBOSE=1
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+ifeq ($(DEB_BUILD_ARCH),ia64)
+ ICE_WORKAROUND = -DCMAKE_C_COMPILER=gcc-4.7 -DCMAKE_CXX_COMPILER=g++-4.7
+endif
# Use this variable to allow options passed to cmake to be overridable.
# WANT_EXAMPLES and WANT_TESTS are set to ON only to check if they build
@@ -28,7 +33,8 @@
-DWANT_JPGALLEG=ON \
-DWANT_TOOLS=ON \
-DWANT_EXAMPLES=ON \
- -DWANT_TESTS=ON
+ -DWANT_TESTS=ON \
+ $(ICE_WORKAROUND)
DOC_DIR ?= usr/share/doc/allegro4-doc/
DOC_INFO_DIR ?= usr/share/info/
Attachment:
signature.asc
Description: Digital signature