Codebase list widelands / debian/1%18-2
Reduce optimization level to -02 on mips, as gcc -03 spits ICE. Martin Quinson 10 years ago
5 changed file(s) with 44 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
0 widelands (1:18-2) unstable; urgency=medium
1
2 * Reduce optimization level to -02 on mips, as "gcc -03" spits ICE.
3 Thanks to Teppo Maenpaa for the hint about how to solve that FTBFS.
4
5 -- Martin Quinson <mquinson@debian.org> Fri, 28 Feb 2014 22:33:11 +0100
6
07 widelands (1:18-1) unstable; urgency=medium
18
29 * New upstream release. Upstream changes:
77 ===================================================================
88 --- a/CMakeLists.txt
99 +++ b/CMakeLists.txt
10 @@ -271,7 +271,7 @@
10 @@ -273,7 +273,7 @@
1111 ENDIF (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2")
1212 ENDIF (CMAKE_COMPILER_IS_GNUCXX)
1313
66 Forwarded-Upstream: not yet, should be.
77
88 ---
9 src/CMakeLists.txt | 6 +++++-
10 1 file changed, 5 insertions(+), 1 deletion(-)
9 CMakeLists.txt | 10 +++++++---
10 1 file changed, 7 insertions(+), 3 deletions(-)
1111
12 Index: b/CMakeLists.txt
13 ===================================================================
1214 --- a/CMakeLists.txt
1315 +++ b/CMakeLists.txt
1416 @@ -326,7 +326,9 @@
0 Description: Set compilation level to -02 on mips.
1 .
2 Optimizing further drives gcc nuts and produce ICE.
3 .
4 https://buildd.debian.org/status/fetch.php?pkg=widelands&arch=mips&ver=1%3A18-1&stamp=1393243179
5 Author: Martin Quinson
6 Forwarded-Upstream: no
7
8 ---
9 CMakeLists.txt | 6 ++++--
10 1 file changed, 4 insertions(+), 2 deletions(-)
11
12 Index: b/CMakeLists.txt
13 ===================================================================
14 --- a/CMakeLists.txt
15 +++ b/CMakeLists.txt
16 @@ -264,10 +264,12 @@
17 OUTPUT_VARIABLE WLBUILD_COMPILERVERSION
18 )
19 STRING(REGEX REPLACE ".*(4)\\.(5)\\.([0-9]).*" "\\1.\\2.\\3" WLBUILD_COMPILERVERSION_REP ${WLBUILD_COMPILERVERSION})
20 - IF (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2")
21 - message("Detected gcc ${WLBUILD_COMPILERVERSION_REP}")
22 + IF (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2" OR PROCESSOR_ARCHITECTURE STREQUAL "mips64" OR PROCESSOR_ARCHITECTURE STREQUAL "mips")
23 + message("Detected gcc ${WLBUILD_COMPILERVERSION_REP} on ${PROCESSOR_ARCHITECTURE}")
24 message("Suffering from gcc bug, disabling -O3")
25 set (WL_COMPILERFLAG_OPTIMIZATIONS "-O2")
26 + else (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2" OR PROCESSOR_ARCHITECTURE STREQUAL "mips64" OR PROCESSOR_ARCHITECTURE STREQUAL "mips")
27 + message("Detected architecture: ${PROCESSOR_ARCHITECTURE}")
28 ENDIF (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2")
29 ENDIF (CMAKE_COMPILER_IS_GNUCXX)
30
00 kfreebsd-FTBFS
1 mips_gcc_ICE
12 s390
23 dbg_symbols
34 PATH_MAX