https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115408
--- Comment #5 from gagan sidhu (broly) <broly at mac dot com> --- hi andrew, i tried compiling another program that wasn't openssl and a similar issue arose. something is seriously wrong in 14.1.0 in terms of -mips16 and -minterlink-mips16 mode this is kinda urgent now: /Volumes/xtoolshit/hdr3/le/cross/bin/../lib/gcc/mips64el-none-linux-gnu/14.1.0/../../../../mips64el-none-linux-gnu/bin/ld: /tmp/ccPV2gsV.lto.o: in function `do_upgrade_post': /Volumes/xtoolshit/misc/dd-wrt/src/router/httpd/modules/upgrade.c:402:(.text.do_upgrade_post+0x498): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /Volumes/xtoolshit/hdr3/le/cross/bin/../lib/gcc/mips64el-none-linux-gnu/14.1.0/../../../../mips64el-none-linux-gnu/bin/ld: /Volumes/xtoolshit/hdr3/le/cross/bin/../lib/gcc/mips64el-none-linux-gnu/14.1.0/../../../../mips64el-none-linux-gnu/bin/ld: DWARF error: could not find abbrev number 85 /tmp/ccPV2gsV.lto.o: in function `ej_get_currate': <artificial>:(.text.ej_get_currate+0x84): undefined reference to `__mips16_call_stub_df_0' /Volumes/xtoolshit/hdr3/le/cross/bin/../lib/gcc/mips64el-none-linux-gnu/14.1.0/../../../../mips64el-none-linux-gnu/bin/ld: <artificial>:(.text.ej_get_currate+0x96): undefined reference to `__mips16_gtdf2' something to do with the stubs is screwed up, it seems.