[OpenWrt-Devel] network/znc: Package binaries appear to be broken by MIPS16

Jonas Gorski jogo at openwrt.org
Tue Feb 17 08:13:14 EST 2015


On Mon, Jan 19, 2015 at 9:04 AM, Oliver
<olipro at 8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa> wrote:
> Having compiled an image yesterday with ZNC with a MIPS24kc target and
> MIPS16 enabled, I found that it would eventually crash after starting so I
> ran it in the console and found the segfault was due to an "illegal hardware
> instruction" - consequently I edited the Makefile to disable MIPS16
> compilation for ZNC and reflashed it. This time there were no such issues.
> Can anyone else confirm this to be the case? Obviously it would be better if
> MIPS16 compilation could be fixed but I'm not able to get visibility into
> where the bad code is generated.

Interesting. Are you using trunk/CC or BB? I had random (seldom)
crashes on my router, but these seem to have gone away after switching
to libstdcpp. I didn't backport it yet to BB though.

My main router also does not have mips16 enabled (built using gcc
4.6), so I can't test that issue easily, but I'll disable it
regardless - the gains of mips16 are questionable anyway. This is also
blocking 1.6.0 for now, as 1.6.0 requires C++11 support, which 4.6
doesn't provide, and I want to at least run it for a few days 24/7
first.


Jonas
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list