[Bug 241848] lib/googletest/gtest/tests: compiling gmock-matchers_test.cc requires a pathological amount of memory to compile

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 9 23:46:48 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241848

            Bug ID: 241848
           Summary: lib/googletest/gtest/tests: compiling
                    gmock-matchers_test.cc requires a pathological amount
                    of memory to compile
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: fuz at fuz.su

During a compilation of FreeBSD 12.1 for the Raspberry Pi 2B, the build failed
at the file

    /usr/src/contrib/googletest/googlemock/test/gmock-matchers_test.cc

with an out of memory condition.  Further analysis revealed, that it takes more
than 1.5 GB memory to build this file.  Far too much for my puny computer. 
This makes it impossible to finish a FreeBSD build and given the lack of binary
upgrade possibilities, makes it very difficult for me to upgrade to FreeBSD
12.1.

Please find out what causes this pathological memory usage and make it possible
to build FreeBSD on a machine with no more than 1 GB of RAM as it was before. 
Not that 1 GB of RAM (mostly due to having to build clang) isn't already an
annoyingly high memory requirement for upgrading your system from source.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list