[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

googletest build fails with as: out of memory



Hi,

New upstream of googletest is failing on mips and mipsel with:

cd /<<PKGBUILDDIR>>/obj-mips-linux-gnu/googlemock && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/gmock_link_test.dir/link.txt --verbose=1
/usr/bin/c++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-
strong -Wformat -Werror=format-security -fPIC -mxgot -Wdate-time -
D_FORTIFY_SOURCE=2  -Wl,-z,relro -rdynamic CMakeFiles/gmock_link_test.dir/
test/gmock_link_test.cc.o CMakeFiles/gmock_link_test.dir/test/
gmock_link2_test.cc.o  -o gmock_link_test libgmock_main.a libgmock.a gtest/
libgtest.a -pthread 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-mips-linux-gnu'
[100%] Built target gmock_link_test
/<<PKGBUILDDIR>>/googlemock/test/gmock-matchers_test.cc: In function 'void 
__static_initialization_and_destruction_0(int, int)':
/<<PKGBUILDDIR>>/googlemock/test/gmock-matchers_test.cc:6805:1: note: variable 
tracking size limit exceeded with -fvar-tracking-assignments, retrying without
 }  // namespace testing
 ^

as: out of memory allocating 4072 bytes after a total of 556564480 bytes
/tmp/cc7Cn7f9.s: Assembler messages:
/tmp/cc7Cn7f9.s: Fatal error: can't close CMakeFiles/gmock-matchers_test.dir/
test/gmock-matchers_test.cc.o: memory exhausted

What is my best option here?

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

Thanks,
-Steve




Reply to: