2012.08.31. 21:28 keltezéssel, Bastian Bittorf írta: >> 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...
You can add '-mno-branch-likely' option to CFLAGS. The option ensures that such instructions will not be emitted by the toolchain. -Gabor _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel