Source: googletest
Version: 1.8.1-2
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/package.php?p=googletest

...
as: out of memory allocating 4072 bytes after a total of 543838208 bytes
/tmp/ccnTRJ3H.s: Assembler messages:
/tmp/ccnTRJ3H.s: Fatal error: can't close 
CMakeFiles/gmock-matchers_test.dir/test/gmock-matchers_test.cc.o: memory 
exhausted
make[3]: *** [googlemock/CMakeFiles/gmock-matchers_test.dir/build.make:66: 
googlemock/CMakeFiles/gmock-matchers_test.dir/test/gmock-matchers_test.cc.o] 
Error 1


Fix:

--- debian/rules.old    2019-01-08 12:16:26.188970969 +0000
+++ debian/rules        2019-01-08 12:16:43.685280431 +0000
@@ -9,11 +9,11 @@
 ifeq ($(DEB_HOST_ARCH),hppa)
 CXXFLAGS += -mlong-calls
 else ifeq ($(DEB_BUILD_ARCH), mips)
-CXXFLAGS += -mxgot
+CXXFLAGS += -mxgot -g1
 else ifeq ($(DEB_BUILD_ARCH), mips64el)
 CXXFLAGS += -mxgot
 else ifeq ($(DEB_BUILD_ARCH), mipsel)
-CXXFLAGS += -mxgot
+CXXFLAGS += -mxgot -g1
 endif
 
 export CXXFLAGS

Reply via email to