> Very often when I try to compile anything from ports using G++, a > compiler give me a "Segmentation Fault" or "Bus error". GCC works > fine. And everytime I have to start from last stage. What can you > advise? This happens on SGI O2, RM7000, 512MB of RAM. IRIX 6.5 using > MIPSpro 7.4 can compile a few days without error so I think that the > problem lies not in hardware. This is a bug in GCC 4.2.1, or just a > particular build of 4.9? How do I fix this? Or is this the only > problem I have one?
Does this only happen when working on large c++ files? If so, have you tried building with larger resources limits? The c++ compiler is unfortunately very good at allocating a lot of memory, and very bad at handling memory allocation failure. Miod