[OpenBIOS] cross-pcc compilation issue with GCC 4.5.0

Segher Boessenkool segher at kernel.crashing.org
Mon Apr 26 18:09:34 CEST 2010


>> Newer GCC is using a part of the ABI that older GCC did not.  This  
>> creates
>> better code, and is not a bug.  What _is_ arguably a bug is not  
>> using the
>> libgcc that comes with the compiler, but something else.
>> Why can OpenBIOS not use libgcc?
>
> Good question. Blue came up with a patch here: http:// 
> lists.openbios.org/pipermail/openbios/2010-January/004475.html but  
> while it worked at compile time, it failed at runtime. If you could  
> fix that, we'd all be very grateful :)

That patch [which doesn't display in the mail archive btw] seems to  
remove
-print-libgcc-file-name, and uses -lgcc instead -- not such a hot idea?

I don't even know how to build OpenBIOS, so I'm not going to fix it,  
sorry.
I'll do my best with directed questions of course :-)


Segher




More information about the OpenBIOS mailing list