[Olsr-dev] [OpenWrt-Devel] package olsr / compiler bug on ARM / MIPS when using -Os

Bastian Bittorf (spam-protected)
Fri Aug 31 21:28:48 CEST 2012


> Only the Truemobile 2300 and the the Asus WL-500G was mentioned in
> the thread
> and both of them is based on BCM4702/4710. An old post [1] on the
> linux-mips
> list indicates that those SoCs may have problems with the
> 'branch-likely'
> instructions, so this might not be a compiler bug at all.

Thats a very good catch!

I have to add  Atheros AR2313 / MIPS 4Kc V0.10 to the
list of "obscure" platforms, but at the moment recent trunk
is working.

So: if this is not a compiler but a cpu-bug, how can this
circumvented in a clean way? We cannot "ifdef" every package...

bye, bastian





More information about the Olsr-dev mailing list