[coreboot] #188: gcc-4.7 miscompiles coreboot on -Os, -O1, -O2, -O3 in 3 different ways

Idwer Vollering vidwer at gmail.com
Mon Oct 15 21:56:23 CEST 2012


Please reply with "reply to all", thanks.

2012/10/15 Hristo Venev <mustrumr97 at gmail.com>:
> Fixed it by using my linux distribution's toolchain but specifying -march=i686
> Probable reason: some instructions enabled by default by gcc but not enabled at
> early stages of booting.

Hm, I suppose that i686 is not (exactly) the same as -march=i386 (?)
and therefor is not suitable as a generic solution.

>
> P.S. I didn't see any patches applied to my gcc which are not about
> _FORTIFY_SOURCE/relro/gnu hash.




More information about the coreboot mailing list