Date: Sun, 31 Jan 2021 12:44:24 +0200 From: Rich Dunkle <rdunkle@smallcatbrain.com> To: freebsd-riscv@freebsd.org Subject: lldb11 - invalid architecture --arch RISCV Message-ID: <77fa1aba-36ce-fe85-d274-b86076262783@smallcatbrain.com>
next in thread | raw e-mail | index | archive | help
I compiled llvm11 on Poudriere using Qemu static. llvm11 options BE_NATIVE Backend(s) for this architecture (RISCV) OPTIONS_FILE_SET+=BE_NATIVE I am running: 13.0-CURRENT FreeBSD 13.0-CURRENT #0 main-c255641-gf2b794e1e90: Thu Jan 7 04:25:53 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv $ pkg info | grep llvm llvm11-11.0.1 LLVM and Clang $ clang -g -S test.c $ clang -o test test.s $ lldb11 test (lldb) target create "test" error: '/home/richd/chap2/test' doesn't contain any 'host' platform architectures: $ lldb11 test --arch RISCV error: invalid architecture in the -a or --arch option: 'RISCV' It appears lldb11 does not recognize it's own architecture.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77fa1aba-36ce-fe85-d274-b86076262783>