ArdxWe / intern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unknown ABI used in --with-abi=lp64 when build Zfinx

mollybuild opened this issue · comments

Zfinx的编译报错,完全按照下面这个步骤来的:

branch: riscv-gcc-10.2.0-zfinx
commit: 66ae94a003c26721913c21a1b07e38a775770d74

$ git clone https://github.com/pz9115/riscv-gcc
$ cd riscv-gcc
$ ./configure --prefix=/opt/rv64zfinx/ --with-arch=rv64imaczfinx --with-abi=lp64 --with-abi=lp64 --with-multilib-generator="rv64imaczfinx-lp64--"
$ make
$ make install

make的时候报错,报错的信息:

Unknown ABI used in --with-abi=lp64
make[2]: *** [Makefile:4443: configure-stage1-gcc] Error 1
make[2]: Leaving directory '/home/cxo/repos/riscv-gcc'
make[1]: *** [Makefile:24483: stage1-bubble] Error 2
make[1]: Leaving directory '/home/cxo/repos/riscv-gcc'
make: *** [Makefile:999: all] Error 2

fixed: c3ab1dc