SUMMARY: Partial: Compiling GCC

J Springer <[email protected]> Thu, 26 Mar 2009 15:15:39 -0500
Newsgroups gmane.os.tru64.managers
Message-ID <[email protected]>
Thanks to Steve V. and James S. for suggesting that I increase the data segment 
size.  I am no longer hitting the 'out of memory' error.

At this point, however, I am failing:

/usr/install/gcc-4.3.3/alphaev68-dec-osf5.1b/libstdc++-v3/include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp:108: 
error: invalid use
of incomplete type 'class __gnu_pbds::detail::thin_heap_<Value_Type, Cmp_Fn, 
Allocator>'

/usr/install/gcc-4.3.3/alphaev68-dec-osf5.1b/libstdc++-v3/include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp:87: 
error: declaration of 'class
__gnu_pbds::detail::thin_heap_<Value_Type, Cmp_Fn, Allocator>'

make[4]: *** [alphaev68-dec-osf5.1b/bits/extc++.h.gch/O2g.gch] Error 1

I don't know enough about c++ attempt to correct this.  Thanks in advance for 
any help.



-----------ORIGINAL PROBLEM------------
Tru64 5.1B PK6
GCC 4.3.3
4G memory

When compiling gcc:

cc1: out of memory allocating 8016 bytes after a total of 131439120 bytes

Virtual Memory Statistics: (pagesize = 8192)
   procs      memory        pages                            intr       cpu
   r   w   u  act free wire fault  cow zero react  pin pout  in  sy  cs us sy id
   6 409  43 406K  52K  49K   704   33  418     0  166    0  98  2K  1K 51  2 46
**4 401  43 397K  60K  49K 15154  175  13K     0  157    0 165  3K  1K 40 12 48
   4 399  43 397K  61K  49K   605   61 1370     0  266    0 135  2K  1K  2  3 96


I've found conflicting information regarding ulimit settings, tuning the kernel,
previous gcc bugs with this memory error and source code modifications.

Any assistance with getting past this would be appreciated.