-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Hello,
I encountered an error while building the riscv-gnu-toochain
using the following configuration:
./configure --prefix=$RISCV --enable-llvm --enable-linux --with-arch=rv64ima_zicsr --with-abi=lp64
The error message is as follows:
CMake Error at /home/yiteng/riscv-gnu-toolchain/llvm/libunwind/src/CMakeLists.txt:102 (message): Compiler doesn't support generation of unwind tables if exception support is disabled. Building libunwind DSO with runtime dependency on C++ ABI library is not supported.
It seems to be related to the dependency on the C++ ABI library for building libunwind
. I am unsure how to resolve this issue.
Could you provide guidance on how to fix this error or suggest the correct configuration flags to avoid it?
Thank you in advance for your assistance!