On Nov 3, 2013, at 11:46 AM, Matthew M. Dean wrote:

> mysql does not compile with mips16 enabled, here is the fix.

Well, it's *a* fix. The underlying gcc bug is #51931 "No support for MIPS16 
long branches", and happens when functions get really large. In this case, it's 
the bison-generated SQL parser.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51931

Quoting the bug report, "The bug only triggers for very large functions and at 
least these days there's a workaround: add __attribute__((nomips16))." We could 
also append -mno-mips16 to CFLAGS for the .yy -> .cc file.

Turning off mips16 for the whole package doesn't bother me much. It doesn't 
bother me enough to patch their build systems. :-) I don't think I have a MIPS 
box big enough to run a MythTV backend.

Jay
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to