[From nobody Tue May 26 11:07:13 2026
Received: (at submit) by bugs.debian.org; 3 Sep 2022 13:31:29 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
 (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.2 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
 DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FOURLA,FREEMAIL_FROM,GMAIL,
 HAS_PACKAGE,NML_ADSP_CUSTOM_MED,RDNS_NONE,SPF_SOFTFAIL,
 SPOOFED_FREEMAIL,SPOOFED_FREEMAIL_NO_RDNS,SPOOF_GMAIL_MID,TXREP,
 T_SCC_BODY_TEXT_LINE,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 33; hammy, 150; neutral, 121; spammy,
 0. spammytokens: hammytokens:0.000-+--python3,
 0.000-+--XDebbugsCc, 
 0.000-+--X-Debbugs-Cc, 0.000-+--bookworm, 0.000-+--sk:taint_o
Return-path: &lt;civil.over@gmail.com&gt;
Received: from [2a02:168:d811:0:2a0:a0ff:fea0:a0a1] (port=38680
 helo=[192.168.1.215]) by buxtehude.debian.org with esmtp (Exim 4.92)
 (envelope-from &lt;civil.over@gmail.com&gt;) id 1oUTFA-0001Dg-Fz
 for submit@bugs.debian.org; Sat, 03 Sep 2022 13:31:29 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Vladimir Smirnov &lt;civil.over@gmail.com&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: clang-14 fails to run with &quot;Illegal Instruction&quot;
Message-ID: &lt;166221188459.2098.15616112767617425995.reportbug@thead-910&gt;
X-Mailer: reportbug 11.5.1
Date: Sat, 03 Sep 2022 13:31:24 +0000
Delivered-To: submit@bugs.debian.org

Package: clang-14
Version: 1:14.0.6-2
Severity: important
X-Debbugs-Cc: civil.over@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&amp;,
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  &lt;none&gt;

-- no debconf information
]