Gcc 4.4.1 Compile error On Tru645.1b (432 Views)
Matthew Murdock
Posts: 49
Registered: ‎08-25-2001
Message 1 of 3 (432 Views)

Gcc 4.4.1 Compile error On Tru645.1b

Im not much for debuggin, just buggin...When I use gnu make to compile the newe GCC4.4.1 from source (since I cannot find binary), I get the following error. Any help would be greatly appreciated.

"cc1: out of memory allocating 8016 bytes after a total of 129393888 bytes >>>This is the place.

make[3]: *** [c-common.o] Error 1
make[3]: Leaving directory `/usr3/gcc-4.4.1/host-alphaev67-dec-osf5.1b/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/usr3/gcc-4.4.1'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/usr3/gcc-4.4.1'
make: *** [all] Error 2"
Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 2 of 3 (432 Views)

Re: Gcc 4.4.1 Compile error On Tru645.1b

How much memory and swap space do you have
on that (unidentified) system? Perhaps you
just ran out.

I can't activate my Tru64 system at the
moment, but my notes suggest that the last
GCC which I've built on it was 4.3.0. I
can't be sure for a week or so, but I'd guess
that I haven't gotten anything newer to go
through. (I can't be sure what I've tried,
either, but I'd guess 4.4.0.) In any case,
I claim that I did get 4.3.0 working. After
that, no bets.

I do seem to have tried 4.4.0 on HP-UX
(11.31, IA64), with no success. I'm still
using 4.3.3 there. This stuff seems not to
be entirely fool-proof.
Honored Contributor
Martin Moore
Posts: 214
Registered: ‎03-19-2003
Message 3 of 3 (432 Views)

Re: Gcc 4.4.1 Compile error On Tru645.1b

It sounds like you're hitting the session's data segment size limit. Check the soft and hard limits with "ulimit -d" and "ulimit -dH" respectively. If the soft limit is less than the hard limit (and it probably is), try "ulimit -d unlimited" before compiling. This will increase the session limit from the soft limit up to the value of the hard limit.

Every complex problem has a solution that is simple, elegant--and utterly wrong.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.