Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't link single-float modules with double-float modules #2

Open
sunqingyao opened this issue May 25, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@sunqingyao
Copy link

commented May 25, 2019

Here is the error message: log.txt

The toolchain is built from https://github.com/riscv/riscv-gnu-toolchain, with

./configure --prefix=/opt/riscv-toolchain --enable-multilib

System information

$ gcc --version
gcc-8 (Homebrew GCC 8.3.0) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ uname -a
Darwin s-MacBook-puro.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64

What's more, when switching to the official toolchain, kendryte-toolchain-osx-mojave-8.2.0-20190213.tar.gz, an earlier error occurs

Scanning dependencies of target kendryte
[  2%] Building C object lib/CMakeFiles/kendryte.dir/bsp/crt.S.obj
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S: Assembler messages:
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:79: Error: unrecognized opcode `fmv.d.x f0,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:80: Error: unrecognized opcode `fmv.d.x f1,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:81: Error: unrecognized opcode `fmv.d.x f2,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:82: Error: unrecognized opcode `fmv.d.x f3,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:83: Error: unrecognized opcode `fmv.d.x f4,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:84: Error: unrecognized opcode `fmv.d.x f5,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:85: Error: unrecognized opcode `fmv.d.x f6,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:86: Error: unrecognized opcode `fmv.d.x f7,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:87: Error: unrecognized opcode `fmv.d.x f8,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:88: Error: unrecognized opcode `fmv.d.x f9,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:89: Error: unrecognized opcode `fmv.d.x f10,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:90: Error: unrecognized opcode `fmv.d.x f11,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:91: Error: unrecognized opcode `fmv.d.x f12,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:92: Error: unrecognized opcode `fmv.d.x f13,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:93: Error: unrecognized opcode `fmv.d.x f14,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:94: Error: unrecognized opcode `fmv.d.x f15,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:95: Error: unrecognized opcode `fmv.d.x f16,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:96: Error: unrecognized opcode `fmv.d.x f17,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:97: Error: unrecognized opcode `fmv.d.x f18,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:98: Error: unrecognized opcode `fmv.d.x f19,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:99: Error: unrecognized opcode `fmv.d.x f20,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:100: Error: unrecognized opcode `fmv.d.x f21,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:101: Error: unrecognized opcode `fmv.d.x f22,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:102: Error: unrecognized opcode `fmv.d.x f23,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:103: Error: unrecognized opcode `fmv.d.x f24,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:104: Error: unrecognized opcode `fmv.d.x f25,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:105: Error: unrecognized opcode `fmv.d.x f26,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:106: Error: unrecognized opcode `fmv.d.x f27,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:107: Error: unrecognized opcode `fmv.d.x f28,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:108: Error: unrecognized opcode `fmv.d.x f29,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:109: Error: unrecognized opcode `fmv.d.x f30,x0'
/Users/nalzok/Developer/kendryte-openmv/lib/bsp/crt.S:110: Error: unrecognized opcode `fmv.d.x f31,x0'
make[2]: *** [lib/CMakeFiles/kendryte.dir/bsp/crt.S.obj] Error 1
make[1]: *** [lib/CMakeFiles/kendryte.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.