[llvm-bugs] [Bug 50746] New: clang crashes on riscv64
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 17 00:52:42 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50746
Bug ID: 50746
Summary: clang crashes on riscv64
Product: clang
Version: 11.0
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: unassignedclangbugs at nondot.org
Reporter: serge.vakulenko at gmail.com
CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
richard-llvm at metafoo.co.uk
I use Debian 11 installed on RISC-V platform: Nezha board with Allwinner D1
processor.
I installed clang as usual: "sudo apt install clang". The version is
1:11.0-51+nmu5. The source of the packages is
http://ftp.ports.debian.org/debian-ports/.
When I run clang from command line without parameters, it crashes with message:
$ clang
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang
1. Compilation construction
/usr/lib/riscv64-linux-gnu/libLLVM-11.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x28)[0x3fec874c08]
Illegal instruction
Other compilers seem to work fine. I checked gcc, rustc, go.
Information about the system:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
$ uname -a
Linux nezha 5.4.61 #68 PREEMPT Tue Jun 1 04:18:22 UTC 2021 riscv64 GNU/Linux
$ /usr/sbin/hwinfo --short
cpu:
rv64imafdcvu
keyboard:
/dev/ttyS0 serial console
network:
eth0 ARM Ethernet controller
wlan0 ARM Ethernet controller
Network controller
network interface:
eth0 Ethernet network interface
lo Loopback network interface
sit0 Network Interface
wlan0 WLAN network interface
disk:
/dev/mmcblk0 Disk
partition:
/dev/mmcblk0p1 Partition
/dev/mmcblk0p2 Partition
/dev/mmcblk0p3 Partition
/dev/mmcblk0p4 Partition
/dev/mmcblk0p5 Partition
/dev/mmcblk0p6 Partition
/dev/mmcblk0p7 Partition
/dev/mmcblk0p8 Partition
hub:
Linux Foundation 2.0 root hub
Linux Foundation 1.1 root hub
memory:
Main Memory
Thanks,
--Serge
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210617/792a5f99/attachment.html>
More information about the llvm-bugs
mailing list