This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: ecosconfig build-problem under HPUX: virtual memory exhausted
- To: hans_peter_jepsen at Danfoss dot com
- Subject: Re: [ECOS] ecosconfig build-problem under HPUX: virtual memory exhausted
- From: Bart Veer <bartv at redhat dot com>
- Date: Tue, 4 Apr 2000 16:19:04 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- References: <702549D2815ED111A6C100805FCC96BE02C96EBD@dd01-e01.drives.danfoss.dk>
- Reply-to: bartv at redhat dot com
>>>>> "Hans" == Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com> writes:
Hans> When I tried to build to ecosconfig under HPUX, the builds
Hans> dies when compiling libcdl/expr.cxx with the message
Hans> "virtual memory exhausted". Details below
Hans> Compiler is c++ 2.95.2. By monitoring top's output, I can
Hans> see, that the compiler uses more that 60 Mb.
Hans> How do I get rid of the problem? Any hints welcome.
libcdl is template-intensive, and g++ can need a lot of memory when
compiling such code: 60MB+ is definitely possible. The gcc developers
have addressed some memory usage issues in more recent snapshots, but
new ones tend to crop up as well from time to time so I do not
recommend that route. The best bet is to try to compile without
optimization, i.e. remove the -O2. There is very little code in libcdl
or the other host-side tools that is performance-critical.
Also, please note that AFAIK the host-side code has not yet been
tested under HP-UX. None of the technical support contracts to date
have specified this as a host platform.
Bart Veer // eCos net maintainer