Source: googletest
Version: 1.10.0-2

The build of googletest has failed on sh4 for the last couple of
versions:

https://buildd.debian.org/status/logs.php?pkg=googletest&arch=sh4

The last attempted build ends with:

out of memory allocating 2448912 bytes after a total of 120168448 bytes

The debian/rules already does the -g1 trick for a few architectures to
reduce memory usage. Possibly this could help for sh4 as well.

 ifeq ($(DEB_HOST_ARCH),hppa)
 CXXFLAGS += -mlong-calls
 else ifeq ($(DEB_BUILD_ARCH), mips)
 CXXFLAGS += -mxgot -g1
 else ifeq ($(DEB_BUILD_ARCH), mips64el)
 CXXFLAGS += -mxgot
 else ifeq ($(DEB_BUILD_ARCH), mipsel)
 CXXFLAGS += -mxgot -g1
+else ifeq ($(DEB_BUILD_ARCH), sh4)
+CXXFLAGS += -g1
 endif


        Mattias

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to