Date: Mon, 10 Mar 2014 21:47:13 +0100 From: Milan Obuch <freebsd-mips@dino.sk> To: freebsd-mips@freebsd.org Subject: make buildkernel error for mips64 target Message-ID: <20140310214713.1f8d9fcc@zeta.dino.sk>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, I am trying to upgrade my EdgeRouterLite to actual -current via source upgrade, but it fails building following modules: usb/rsufw usb/runfw usb/urtwn Error messages from build attached. If I remove these modules from build, everything compiles and resulting world/kernel runs. I did not test whether these modules builds on other 64bit platforms or no, but maybe they should be excluded for mips64... if not fixed. Regards, Milan [-- Attachment #2 --] ===> usb/rsufw/rsurtl8712fw (all) ld -d -warn-common -r -d -o rsu-rtl8712fw.ko.debug rsu-rtl8712fw.fw.fwo rsu-rtl8712fw.o ld: rsu-rtl8712fw.o: linking 32-bit code with 64-bit code ld: failed to merge target specific data of file rsu-rtl8712fw.o *** Error code 1 Stop. make: stopped in /usr/src/sys/modules/usb/rsufw/rsurtl8712fw *** Error code 1 ===> usb/runfw (all) uudecode -p /usr/src/sys/modules/usb/runfw/../../../contrib/dev/run/rt2870.fw.uu > run.fw run.fw run.fw cc -O -pipe -G0 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/ERLITE/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -G0 -fno-pic -mno-abicalls -mlong-calls -I/usr/obj/usr/src/sys/ERLITE -msoft-float -ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c runfw.c ld -d -warn-common -r -d -o runfw.ko.debug run.fw.fwo runfw.o ld: runfw.o: linking 32-bit code with 64-bit code ld: failed to merge target specific data of file runfw.o *** Error code 1 Stop. make: stopped in /usr/src/sys/modules/usb/runfw *** Error code 1 ===> usb/urtwnfw/urtwnrtl8192cT (all) uudecode -p /usr/src/sys/modules/usb/urtwnfw/urtwnrtl8192cT/../../../../contrib/dev/urtwn/urtwn-rtl8192cfwT.fw.uu > urtwn-rtl8192cfwT.fw urtwn-rtl8192cfwT.fw urtwn-rtl8192cfwT.fw cc -O -pipe -G0 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/ERLITE/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -G0 -fno-pic -mno-abicalls -mlong-calls -I/usr/obj/usr/src/sys/ERLITE -msoft-float -ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c urtwn-rtl8192cfwT.c ld -d -warn-common -r -d -o urtwn-rtl8192cfwT.ko.debug urtwn-rtl8192cfwT.fw.fwo urtwn-rtl8192cfwT.o ld: urtwn-rtl8192cfwT.o: linking 32-bit code with 64-bit code ld: failed to merge target specific data of file urtwn-rtl8192cfwT.o *** Error code 1 Stop. make: stopped in /usr/src/sys/modules/usb/urtwnfw/urtwnrtl8192cT *** Error code 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140310214713.1f8d9fcc>
