[OpenWrt-Devel] qemu/malta build error: "consider recompiling with interlinking enabled"
Robert P. J. Day
rpjday at crashcourse.ca
Tue Sep 30 03:55:24 EDT 2014
i'm just not having a lot of luck here ... current build error for
qemu/malta image fails with:
make[8]: Entering directory '/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/lib/odbc/c_src'
make -f mipsel-openwrt-linux-gnu/Makefile TYPE=opt
make[9]: Entering directory '/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/lib/odbc/c_src'
mipsel-openwrt-linux-uclibc-gcc -Werror=return-type -Os -pipe -mno-branch-likely -mips32 -mtune=mips32 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_NETDB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SQL_H=1 -DHAVE_SQLEXT_H=1 -DHAVE_STRUCT_SOCKADDR_IN6_SIN6_ADDR=1 -DHAVE_MEMSET=1 -DHAVE_SOCKET=1 -DHAVE_PTHREAD_H=1 -DSIZEOF_VOID_P=4 -o ../priv/bin/mipsel-openwrt-linux-gnu/odbcserver ../priv/obj/mipsel-openwrt-linux-gnu/odbcserver.o -L/home/rpjday/openwrt/qemu_malta/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/usr/lib -l
odbc -L/
home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/lib/erl_interface/obj/mipsel-openwrt-linux-gnu -lpthread -lerl_interface -lei
/home/rpjday/openwrt/qemu_malta/staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: ../priv/obj/mipsel-openwrt-linux-gnu/odbcserver.o: .text+0xfb8: Direct jumps between ISA modes are not allowed; consider recompiling with interlinking enabled.
/home/rpjday/openwrt/qemu_malta/staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
mipsel-openwrt-linux-gnu/Makefile:111: recipe for target '../priv/bin/mipsel-openwrt-linux-gnu/odbcserver' failed
make[9]: *** [../priv/bin/mipsel-openwrt-linux-gnu/odbcserver] Error 1
make[9]: Leaving directory '/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/lib/odbc/c_src'
/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/make/run_make.mk:34: recipe for target 'opt' failed
make[8]: *** [opt] Error 2
make[8]: Leaving directory '/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/lib/odbc/c_src'
/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/make/otp_subdir.mk:28: recipe for target 'opt' failed
make[7]: *** [opt] Error 2
make[7]: Leaving directory '/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/lib/odbc'
/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/make/otp_subdir.mk:28: recipe for target 'opt' failed
make[6]: *** [opt] Error 2
make[6]: Leaving directory '/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/lib'
Makefile:451: recipe for target 'libs' failed
make[5]: *** [libs] Error 2
make[5]: Leaving directory '/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1'
Makefile:379: recipe for target 'noboot' failed
make[4]: *** [noboot] Error 2
make[4]: Leaving directory '/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1'
Makefile:324: recipe for target '/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/.built' failed
make[3]: *** [/home/rpjday/openwrt/qemu_malta/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/otp_src_17.1/.built] Error 2
make[3]: Leaving directory '/home/rpjday/openwrt/qemu_malta/feeds/packages/lang/erlang'
package/Makefile:174: recipe for target 'package/feeds/packages/erlang/compile' failed
make[2]: *** [package/feeds/packages/erlang/compile] Error 2
make[2]: Leaving directory '/home/rpjday/openwrt/qemu_malta'
package/Makefile:171: recipe for target '/home/rpjday/openwrt/qemu_malta/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/rpjday/openwrt/qemu_malta/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/rpjday/openwrt/qemu_malta'
/home/rpjday/openwrt/qemu_malta/include/toplevel.mk:171: recipe for target 'world' failed
make: *** [world] Error 2
a quick google brings up a few links:
https://www.google.ca/search?q=openwrt+%22consider+recompiling+with+interlinking+enabled%22&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=sb&gfe_rd=cr&ei=XWAqVMi9AqWC8QesmoA4#rls=org.mozilla:en-US:official&channel=sb&q=+%22consider+recompiling+with+interlinking+enabled%22+openwrt
but i'm unclear on whether any of them represents a solution i can
apply.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
-------------- next part --------------
_______________________________________________
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