Why does gcc keep segfaulting during ebuilds?
If gcc segfaults during ebuilds, this probably isn’t a bug with gcc and isn’t even a problem with your hardware. Most of the time this problem is due to kernel preemption being enabled. Although this option is safe on x86, it can cause cache corruption on PPC which is why it is noticed most frequently during compiles. To prevent this from happening, simply recompile the kernel with preempt turned off.