On 01/22/2017 18:28, Joshua Kinard wrote: > I think I've run into a really odd gcc-6.3.x miscompile bug here on IP27. > But I'm not sure. I've reproduced the issue on 4.9.5, 4.8.17, and now > 4.7.10 (which I KNOW should boot). If I recompile the same 4.7.10 kernel > with gcc-5.4.0, though, it boots as expected. The fault appears to be in > the assembly for _raw_spin_lock_irq. > Figured it out. Not 100% sure WHY, but gcc-6.3.x is causing kbuild to parse the arch/mips/sgi-ip32/Platform file for some reason on both IP27 and IP30 builds, and is thusly appending -mr10k-cache-barrier=load-store to the kernel CFLAGS. It did this on my Octane's kernel as well, but the Octane seems to be unaffected by the extraneous cache barriers. I sent a fix in for this a long time ago, but it never got accepted. So I'll try again... -- Joshua Kinard Gentoo/MIPS kumba@xxxxxxxxxx 6144R/F5C6C943 2015-04-27 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic