[Debian-astro-commits] [cpl] 01/01: Switch off optimization of cpl_imagelist_basic.c on MIPS. Closes: #813777

Ole Streicher olebole at moszumanska.debian.org
Sat Feb 20 13:32:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch debian
in repository cpl.

commit 1ba3887d7517d88eb0a8b1b3da5105d7ce1febe4
Author: Ole Streicher <olebole at debian.org>
Date:   Sat Feb 20 14:17:02 2016 +0100

    Switch off optimization of cpl_imagelist_basic.c on MIPS. Closes: #813777
---
 debian/changelog                           |  6 ++++++
 debian/patches/series                      |  1 +
 debian/patches/workaround_mips_ftbfs.patch | 17 +++++++++++++++++
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8578a90..bc41cd4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cpl (7.0-2) unstable; urgency=medium
+
+  * Switch off optimization of cpl_imagelist_basic.c on MIPS. Closes: #813777
+
+ -- Ole Streicher <olebole at debian.org>  Sat, 20 Feb 2016 14:13:30 +0100
+
 cpl (7.0-1) unstable; urgency=low
 
   * New upstream version. Switch back to unstable.
diff --git a/debian/patches/series b/debian/patches/series
index fafea54..71bac4b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ no_compiletime_cpucheck.patch
 fix_required_versions.patch
 serial-tests
 reproducible_build.patch
+workaround_mips_ftbfs.patch
diff --git a/debian/patches/workaround_mips_ftbfs.patch b/debian/patches/workaround_mips_ftbfs.patch
new file mode 100644
index 0000000..30adebb
--- /dev/null
+++ b/debian/patches/workaround_mips_ftbfs.patch
@@ -0,0 +1,17 @@
+Author: Ole Streicher <olebole at debian.org>
+Bug: https://bugs.debian.org/813777
+Description: Switch off optimization for cpl_imagelist_basic.c on MIPS
+ There is a loop optimization problem around cpl_imagelist_basic_body.h:111
+--- a/cplcore/cpl_imagelist_basic.c
++++ b/cplcore/cpl_imagelist_basic.c
+@@ -29,6 +29,10 @@
+ #include <config.h>
+ #endif
+ 
++#ifdef __mips__
++#pragma GCC optimize ("-O0") /* workaround for #813777: gcc bug? */
++#endif
++
+ /*-----------------------------------------------------------------------------
+                                 Includes
+  -----------------------------------------------------------------------------*/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/cpl.git



More information about the Debian-astro-commits mailing list