Bug#1019056: clang-14 fails to run with "Illegal Instruction"

Vladimir Smirnov civil.over at gmail.com
Sat Sep 3 14:31:24 BST 2022


Package: clang-14
Version: 1:14.0.6-2
Severity: important
X-Debbugs-Cc: civil.over at gmail.com

Dear Maintainer,

When I'm trying to run clang-14 (actually happens for all clang
versions) it wails with Illegal Instruction. Full stacktrace:

# clang-14
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang-14
1. Compilation construction
#0 0x0000003fc9ac0b0c llvm::sys::PrintStackTrace(llvm::raw_ostream&,
int) (/usr/lib/riscv64-linux-gnu/libLLVM-14.so.1+0xe7db0c)
Illegal instruction


I expect it to actually run and work fine. Also I'm sure it used to work
some time ago, but I haven't used that board for a few months and after
package upgrade it starts to fail consistently.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
merged-usr: no
Architecture: riscv64

Kernel: Linux 5.10.4 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages clang-14 depends on:
ii  binutils                2.38.90.20220713-2
ii  libatomic1              12.2.0-1
ii  libc6                   2.34-7
ii  libc6-dev               2.34-7
ii  libclang-common-14-dev  1:14.0.6-2
ii  libclang-cpp14          1:14.0.6-2
ii  libclang1-14            1:14.0.6-2
ii  libgcc-12-dev           12.2.0-1
ii  libgcc-s1               12.2.0-1
ii  libllvm14               1:14.0.6-2
ii  libobjc-12-dev          12.2.0-1
ii  libstdc++-12-dev        12.2.0-1
ii  libstdc++6              12.2.0-1
ii  llvm-14-linker-tools    1:14.0.6-2

Versions of packages clang-14 recommends:
ii  llvm-14-dev  1:14.0.6-2
ii  python3      3.10.6-1

Versions of packages clang-14 suggests:
pn  clang-14-doc  <none>

-- no debconf information



More information about the Pkg-llvm-team mailing list