[From nobody Tue May 26 11:07:16 2026
Received: (at submit) by bugs.debian.org; 1 Aug 2023 05:36:03 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-11.3 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,HAS_PACKAGE,RDNS_NONE,
 SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,XMAILER_REPORTBUG
 autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 52; hammy, 150; neutral, 82; spammy,
 0. spammytokens: hammytokens:0.000-+--H*M:reportbug,
 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug,
 0.000-+--H*UA:reportbug, 0.000-+--afaik
Return-path: &lt;stuart@macintosh.nz&gt;
Received: from [122.102.109.243] (port=55858 helo=mx.macintosh.nz)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;stuart@macintosh.nz&gt;)
 id 1qQi36-003qIP-S9
 for submit@bugs.debian.org; Tue, 01 Aug 2023 05:36:03 +0000
Received: from mx.macintosh.nz (localhost [127.0.0.1])
 by mx.macintosh.nz (Postfix) with ESMTP id 4RFNsw6LqgzDnrJ
 for &lt;submit@bugs.debian.org&gt;; Tue,  1 Aug 2023 17:27:48 +1200 (NZST)
Authentication-Results: mx.macintosh.nz (amavis); dkim=pass (4096-bit key)
 reason=&quot;pass (just generated, assumed good)&quot; header.d=macintosh.nz
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=macintosh.nz; h=
 date:x-mailer:message-id:subject:to:from
 :content-transfer-encoding:mime-version:content-type; s=dkim; t=
 1690867667; x=1691731668; bh=VWUTubkfzis9VmsovPKwYJoV6b+VEx+Gs6y
 DyKxMF5o=; b=isva9sSQO8X+D2NreEX88KmH1BCL5Ug1NY44jMOumGwLEVnQJR0
 SwGKv2DDbYwKnT0Ewh3EYO5CVzm8ZUWY/eXIRIxBjfphqmUNvteHz/yb8lSl8bQa
 tORzSFvHtMWcC5LijFtMN7fHzXxBHpMJFHmoHnzm4irxPTcHdY/UfKKs/T1xNC/S
 QLARkGAZRcivcmMSrzEEMRGhpZB539OgcNe8rmZJzhmRSyeysTMj5q42RFU1xPBp
 3fCb8paTcdQX11+wNM0lZOkLILVbW3CmNiMKQQuMaerxJkBeftlRSNOjAOVssKvz
 avJaKXTpIx9tVxpoOb7p1ICkJ1bxWbw0QTVZOlGtNzE3a1zRrvQuQ++kt304Y5BG
 Hh2oL8sBH1VXsDKBlNWbV9NR7HhNggNfIFdVcHDIJyDCFNekZURAxZy8yA1gzk11
 nNUDBxb5oc2djvmlMrDZWNm27oUbW6cQnsGkQe0Q2NukAl/IzGEHOMvBZLsiO/+P
 92iaOxxmIClMBDNdmlZeAoQ0fPwHQ/M0zGt7MVLmGzN5k3ym6DZuPwI+zIWCDdwm
 NVho6W2Lx6H9k0FqzdCuF+OzHqqYX+uJzvRVaCaV/+StALeP9LX6sn8hbqHLvgVS
 +A1cXrrIPidUMLdw33YCS2TtxAqiUSLJznloK7xGwGVOiM+TyKNby2yA=
X-Virus-Scanned: Debian amavis at mx.macintosh.nz
Received: from mx.macintosh.nz ([127.0.0.1])
 by mx.macintosh.nz (mx.macintosh.nz [127.0.0.1]) (amavis, port 10024)
 with ESMTP id CFcBchmrLQSm for &lt;submit@bugs.debian.org&gt;;
 Tue,  1 Aug 2023 17:27:47 +1200 (NZST)
Received: from app.touge.nz (unknown [122.102.109.246])
 by mx.macintosh.nz (Postfix) with ESMTP id 4RFNsr2SBgzDnrD;
 Tue,  1 Aug 2023 17:27:43 +1200 (NZST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Stuart MacIntosh &lt;stuart@macintosh.nz&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libllvm14: SIGILL Illegal Instructions on POWER5 in libLLVM-14.so
Message-ID: &lt;169086766197.103313.8743317761911030590.reportbug@app.touge.nz&gt;
X-Mailer: reportbug 12.0.0
Date: Tue, 01 Aug 2023 17:27:41 +1200
X-Greylist: delayed 482 seconds by postgrey-1.36 at buxtehude;
 Tue, 01 Aug 2023 05:35:59 UTC
Delivered-To: submit@bugs.debian.org

Package: libllvm14
Version: 1:14.0.6-12
Severity: critical
Justification: breaks unrelated software

Hello, 
I think the libLLVM-14 contains some instructions not found on IBM POWER5+ (gs) -- vxor is not found in it's IBM reference manual: https://www.ibm.com/docs/en/ssw_aix_72/assembler/assembler_pdf.pdf

Maybe this library was built for more recent CPUs but the debian ppc64 support goes back to POWER5 AFAIK(?)
$ objdump --disassemble /lib/powerpc64-linux-gnu/libLLVM-14.so.1 |grep vxor

As a result there is some difficulty running applications linked to libLLVM, for example rust installation fails with SIGILL, there are likely other affected programs.

Thank you
Stuart

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: ppc64

Kernel: Linux 5.15.123 (SMP w/2 CPU threads)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libllvm14 depends on:
ii  libc6       2.37-6
ii  libedit2    3.1-20221030-2
ii  libffi8     3.4.4-1
ii  libgcc-s1   13.2.0-1
ii  libstdc++6  13.2.0-1
ii  libtinfo6   6.4+20230625-2
ii  libxml2     2.9.14+dfsg-1.3
ii  libz3-4     4.8.12-3.1
ii  zlib1g      1:1.2.13.dfsg-1

libllvm14 recommends no packages.

libllvm14 suggests no packages.

-- no debconf information
]