[Bug target/65251] sh4: internal compiler error: Bus error when compiling cpp-netlib

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 3 10:07:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65251

--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to John Paul Adrian Glaubitz from comment #5)
> Hmm, the build now failed due to "out of memory" apparently [1]:
> 
> [  7%] Building CXX object
> libs/network/src/CMakeFiles/cppnetlib-uri.dir/uri/uri.cpp.o
> cd /<<BUILDDIR>>/cpp-netlib-0.11.2+dfsg1/obj-sh4-linux-gnu/libs/network/src
> && /usr/bin/c++   -DBOOST_NETWORK_ENABLE_HTTPS -DBOOST_TEST_DYN_LINK
> -Dcppnetlib_uri_EXPORTS -g -O2 -fstack-protector-strong -Wformat
> -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -fPIC
> -I/<<BUILDDIR>>/cpp-netlib-0.11.2+dfsg1    -o
> CMakeFiles/cppnetlib-uri.dir/uri/uri.cpp.o -c
> /<<BUILDDIR>>/cpp-netlib-0.11.2+dfsg1/libs/network/src/uri/uri.cpp
> virtual memory exhausted: Cannot allocate memory
> 
> Any ideas?

Could be something in the compiler running in a loop.
Can you get the preprocessed source?


More information about the Gcc-bugs mailing list