You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to build the toolchain with the Makefile. Here is the error log:
mkdir -p /users/hemmat/MyRepos/ara/install/riscv-gcc
# Apply patch on riscv-binutils
cd /users/hemmat/MyRepos/ara/toolchain/riscv-gnu-toolchain/riscv-binutils && git reset --hard && git apply /users/hemmat/MyRepos/ara/patches/0001-riscv-binutils-patch
HEAD is now at c5ef83e Revert "Change the return type of `match_func` and `constraints` flag to `bfd_boolean`."
cd /users/hemmat/MyRepos/ara/toolchain/riscv-gnu-toolchain && rm -rf build && mkdir -p build && cd build && \
CC=gcc-7.2.0 CXX=g++-7.2.0 ../configure --prefix=/users/hemmat/MyRepos/ara/install/riscv-gcc --with-arch=rv64gcv --with-cmodel=medlow --enable-multilib && \
make MAKEINFO=true -j4
checking for gcc... gcc-7.2.0
checking whether the C compiler works... no
configure: error: in `/users/hemmat/MyRepos/ara/toolchain/riscv-gnu-toolchain/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [/users/hemmat/MyRepos/ara/install/riscv-gcc] Error 77
It looks like by default you are expecting the user to have gcc-7.2.0 which is set here:
I am unable to build the toolchain with the Makefile. Here is the error log:
It looks like by default you are expecting the user to have gcc-7.2.0 which is set here:
ara/Makefile
Line 31 in 251ca46
I propose to use only
gcc
andg++
without any specific version attach to it. Refer to this PR: #25The text was updated successfully, but these errors were encountered: