2012.09.07. 12:32 keltezéssel, Florian Fainelli írta: > Hello Bastian, > > On Saturday 01 September 2012 09:25:06 Gabor Juhos wrote: >> 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. > > Can you test again after r33328? This will need a complete toolchain rebuild.
IMHO, if the problem would have been caused by that toolchain bug, olsrd would be unusable on other OpenWrt MIPS platforms as well. -Gabor _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel