Need Help with Memory Exhaustion During Compile

Jeffrey Walton noloader@gmail.com
Thu Jul 4 10:08:00 GMT 2013


Hi All,

A particular source file does not compile. It does not error - it just
never completes. -O0 is OK; while -O1, -O2, -O3, and -Os exhibit the
problem. Memory gets used up and the machine drops to its knees. The
source file can be seen at
http://sourceforge.net/p/cryptopp/code/541/tree/trunk/c5/integer.cpp.

$ make integer.o
g++ -DNDEBUG -g -O2 -fPIC -pipe -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk
-arch armv7 -miphoneos-version-min=5.0 -DCRYPTOPP_DISABLE_ASM=1
-DCRYPTOPP_DISABLE_SSE2=1 -DCRYPTOPP_DISABLE_SSSE3=1 -c integer.cpp
^C
{standard input}:0:Interrupted by signal 2
make: *** [integer.o] Interrupt: 2

What can I do to try and isolate the problem?

Jeff



More information about the Gcc-help mailing list