Hi,
I am getting "Illegal Instruction" for some go executable and google suggested it may related to no FPU or FPU emulation is not enabled in kernel.
FastFPE math emulation (EXPERIMENTAL) looks enabled by default, I am not sure why it's not working. So I am trying to re-compile kernal with "NWFPE math emulation" or VPF-format floating points maths support. Unfortunately kernel compile failed with below error. Any idea?
~/asuswrt-merlin/release/src-rt-7.14.114.x/src/$ make kernel
:
:
:
make[2]: Entering directory '/home/thx/asuswrt-merlin/release/src/router/compressed'
arm-brcm-linux-uclibcgnueabi-objcopy -O binary -R .note -R .note.gnu.build-id -R .comment -S /home/thx/asuswrt-merlin/release/src-rt-7.14.114.x/src/linux/linux-2.6/vmlinux piggy
/home/thx/asuswrt-merlin/release/src-rt-7.14.114.x/src/ctools/lzma_4k e piggy piggz
arm-brcm-linux-uclibcgnueabi-ld -no-warn-mismatch -T piggy.lds -r -o piggy.o -b binary piggz -b elf32-littlearm
arm-brcm-linux-uclibcgnueabi-ld -static --gc-sections -no-warn-mismatch -T vmlinux.lds -o vmlinux bootarm.o aisdram_ca9.o siutils.o hndarm_ca9.o pcieinit_ca9.o sbutils.o aiutils.o nicpci.o pcie_core.o load.o hndchipc.o hndpmu.o min_osl.o bcmutils.o bcmstdlib.o sromstubs.o nvramstubs.o -L /home/thx/asuswrt-merlin/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/bin/../lib/gcc/arm-brcm-linux-uclibcgnueabi/4.5.3 -lgcc piggy.o
hndpmu.o: In function `si_pmu_chipcontrol':
/home/thx/asuswrt-merlin/release/src-rt-7.14.114.x/src/shared/hndpmu.c:150: undefined reference to `si_pmu_corereg'
Thank you.
I am getting "Illegal Instruction" for some go executable and google suggested it may related to no FPU or FPU emulation is not enabled in kernel.
FastFPE math emulation (EXPERIMENTAL) looks enabled by default, I am not sure why it's not working. So I am trying to re-compile kernal with "NWFPE math emulation" or VPF-format floating points maths support. Unfortunately kernel compile failed with below error. Any idea?
~/asuswrt-merlin/release/src-rt-7.14.114.x/src/$ make kernel
:
:
:
make[2]: Entering directory '/home/thx/asuswrt-merlin/release/src/router/compressed'
arm-brcm-linux-uclibcgnueabi-objcopy -O binary -R .note -R .note.gnu.build-id -R .comment -S /home/thx/asuswrt-merlin/release/src-rt-7.14.114.x/src/linux/linux-2.6/vmlinux piggy
/home/thx/asuswrt-merlin/release/src-rt-7.14.114.x/src/ctools/lzma_4k e piggy piggz
arm-brcm-linux-uclibcgnueabi-ld -no-warn-mismatch -T piggy.lds -r -o piggy.o -b binary piggz -b elf32-littlearm
arm-brcm-linux-uclibcgnueabi-ld -static --gc-sections -no-warn-mismatch -T vmlinux.lds -o vmlinux bootarm.o aisdram_ca9.o siutils.o hndarm_ca9.o pcieinit_ca9.o sbutils.o aiutils.o nicpci.o pcie_core.o load.o hndchipc.o hndpmu.o min_osl.o bcmutils.o bcmstdlib.o sromstubs.o nvramstubs.o -L /home/thx/asuswrt-merlin/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/bin/../lib/gcc/arm-brcm-linux-uclibcgnueabi/4.5.3 -lgcc piggy.o
hndpmu.o: In function `si_pmu_chipcontrol':
/home/thx/asuswrt-merlin/release/src-rt-7.14.114.x/src/shared/hndpmu.c:150: undefined reference to `si_pmu_corereg'
Thank you.