Hello,

The error appears while compiling HQ2xScaler.cc.
Compilation finish successfully but it needs more time
than is allowed before raising TERM signal.


I had tested it locally, and on was able to reproduce
the error with signal TERM on cavium board.

On that board, time of HQ2xScaler.cc compilation is about 194 min,
while TERM appears after 150 min.


If O0 optimization is used instead of O3, for mips,
I was able to reduce time of compilation to about 20 min.

Patch that reduce optimization to O0 for mips is attached.

Could you please consider including this patch?


The other way to successfully build openmsx for mips,
could by using some other (faster) buildd machines,
beside cavium. 


Best Regards,
Dejan
diff -uNr openmsx-0.10.1.orig/build/flavour-debian.mk openmsx-0.10.1/build/flavour-debian.mk
--- openmsx-0.10.1.orig/build/flavour-debian.mk	2014-08-07 13:06:40.000000000 +0000
+++ openmsx-0.10.1/build/flavour-debian.mk	2014-08-07 13:50:07.000000000 +0000
@@ -14,7 +14,12 @@
         # Do not enable -O3 to work around GCC bug <http://bugs.debian.org/647552>.
         CXXFLAGS += -O2
     else
-        CXXFLAGS += -O3
+	ifeq ($(DEB_HOST_ARCH_CPU),mips)
+            # Use -O0 to reduce time of compilation on mips <https://bugs.debian.org/754757>
+            CXXFLAGS += -O0
+        else
+            CXXFLAGS += -O3
+        endif
     endif
 endif
 

Reply via email to