site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, I'm trying to compile some scientific application. I've problems with gcc 4.0.0 (Apple Computer, Inc. build 5026) g++ -c -o d_iDS_d_EX_delta.o -g -O3 d_iDS_d_EX_delta.c cc1plus(1322) malloc: *** vm_allocate(size=3888427008) failed (error code=3) cc1plus(1322) malloc: *** error: can't allocate region cc1plus(1322) malloc: *** set a breakpoint in szone_error to debug Do I want too much from gcc or there's a solution to those? Tomas -- # Ing. Tomas Zahradnicky, Jr. # The Czech Technical University # Dept of Computer Science, FEE-CTU Prague _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... First problem is that I'm unable to build my analytical derivative library. When I try to compile a static lib with -03, I get after several hours of compilation: Hmm, if I switch to -O0, it works and 54M libder.a gets properly archived. I'm however unable to use this archive because of tens of thousands of errors like this one: /usr/bin/ld: libder.a(d_iDS_d_EX_ld.o) relocation overflow for relocation entry 140066 in section (__TEXT,__text) (displacement too large) This email sent to site_archiver@lists.apple.com