Reduce optimization level to -02 on mips, as gcc -03 spits ICE.
Martin Quinson
10 years ago
|
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 |
|
0 | 7 |
widelands (1:18-1) unstable; urgency=medium
|
1 | 8 |
|
2 | 9 |
* New upstream release. Upstream changes:
|
7 | 7 |
===================================================================
|
8 | 8 |
--- a/CMakeLists.txt
|
9 | 9 |
+++ b/CMakeLists.txt
|
10 | |
@@ -271,7 +271,7 @@
|
|
10 |
@@ -273,7 +273,7 @@
|
11 | 11 |
ENDIF (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2")
|
12 | 12 |
ENDIF (CMAKE_COMPILER_IS_GNUCXX)
|
13 | 13 |
|
6 | 6 |
Forwarded-Upstream: not yet, should be.
|
7 | 7 |
|
8 | 8 |
---
|
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(-)
|
11 | 11 |
|
|
12 |
Index: b/CMakeLists.txt
|
|
13 |
===================================================================
|
12 | 14 |
--- a/CMakeLists.txt
|
13 | 15 |
+++ b/CMakeLists.txt
|
14 | 16 |
@@ -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 |
|
0 | 0 |
kfreebsd-FTBFS
|
|
1 |
mips_gcc_ICE
|
1 | 2 |
s390
|
2 | 3 |
dbg_symbols
|
3 | 4 |
PATH_MAX
|