Bug#1053655: Cherry-pick upstream patch D142688 to fix the build failure on loong64
Li Chen
chenli at loongson.cn
Sun Oct 8 07:01:49 BST 2023
Package: llvm-toolchain-16
Version: 1:16.0.6-16
Severity: important
Tags: patch
User: debian-devel at lists.debian.org
Usertags: loongarch64
Dear Maintainer,
llvm-toolchain-16 run into a build failure on loong64. It fails at
stage2 build because of lacking of multiarch triple information[1].
Without the information above, clang does not work well on loong64 on
Debian system.
This issue is fixed at llvmorg-17.0.0-rc1 version[2]. LoongArch is
supported since llvm16, thus only llvm-toolchain-16 has the problem.
The attached patch is backported from llvmorg-17.0.0-rc1 to fix the
issue in llvm-toolchain-16.
Please consider the patch attached.
Thanks.
[1]
https://buildd.debian.org/status/logs.php?pkg=llvm-toolchain-16&ver=1%3A16.0.6-15&arch=loong64
[2] https://reviews.llvm.org/D142688
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cherry-pick-upstream-patch-D142688-to-fix-the-build.patch
Type: text/x-patch
Size: 13014 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20231008/3fd0156d/attachment.bin>
More information about the Pkg-llvm-team
mailing list