severe gcc problems
severe gcc problems
- Subject: severe gcc problems
- From: Tomas Zahradnicky <email@hidden>
- Date: Sun, 17 Jul 2005 12:15:01 +0200
Hi,
I'm trying to compile some scientific application. I've problems with gcc
4.0.0 (Apple Computer, Inc. build 5026)
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:
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
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)
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden