|
Message-ID:
<OSYP286MB0181504A6C859DE003400CDCFE030@OSYP286MB0181.JPNP286.PROD.OUTLOOK.COM>
Date: Fri, 16 Oct 2020 17:09:25 +0800
From: "Chen Wang" <unicorn_wang@...look.com>
To: musl <musl@...ts.openwall.com>
Cc: unicorn_wang <unicorn_wang@...look.com>
Subject: Please help check configuration to buld musl targeting risc-v
Hello,
I am trying to build musl with clang for risc-v.
Following is my configuration input:
ARCH=riscv \
CROSS_COMPILE=riscv64-unknown-linux-gnu- \
CFLAGS="-v --gcc-toolchain=/opt/riscv64 --sysroot=/opt/riscv64/sysroot/" \
CC=../../llvm-project/install/bin/clang \
./configure --prefix=/home/u/ws/test-musl/install --exec-prefix=/home/u/ws/test-musl/install --disable-shared
"../../llvm-project/install/bin/clang" is what my clang locates, it is 10.0.1 and built by me from source, it's configured for RISC-V and I have used it to built execuation and it works well.
"/opt/riscv64" is the path where my gnu toolchain locates.
After configraton, I run make and it makes llvm/clang oops when compile "src/complex/catan.c".
> clang-10: error: clang frontend command failed due to signal (use -v to see invocation)
It looks like an issue from llvm, but before I submit this issue to llvm, I just want to double check here if my configration is ok for building musl with clang and target for risc-v.
Thanks in adv.
Best Regards
Wang Chen
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.