On Wed, May 11, 2011 at 09:46:29AM +0300, ??????? ???????? wrote: > 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? > > Best Regards
I am seeing a lot of build failures in ports too, but most are related to ld/bfd failing. Could you try to isolate a piece of code that would trigger the failures and post it here? Also, if you can get a backtrace of gcc dumps core? -- Cheers, Jasper "Capable, generous men do not create victims, they nurture them."