Bug#1117654: OMP not built anymore on riscv64

Aurelien Jarno aurel32 at debian.org
Tue Dec 2 21:55:44 GMT 2025


control: tag -1 + patch

On 2025-10-09 10:57, Matthias Klose wrote:
> Package: src:llvm-toolchain-21
> Version: 1:21.1.2-4
> Severity: important
> Tags: sid forky
> X-Debbugs-CC: debian-riscv at lists.debian.org
> 
> llvm-defaults and 19 has support for OMP, but that is not available in the
> 21 package, while it looks to be supported upstream.  That will introduce a
> regression when making 21 the default.

It appears that this has already been fixed in commit 50f2349bb016 [1]. 
That said, in addition to OMP support, I added offload support upstream 
in llvm-20 [2]. On the debian packaging side, this requires to apply the 
attached patch.

Note that the extra -latomics makes the offload part to fail to build 
(also true on amd64 if forced). As it is not needed anymore, I have 
removed riscv64 from the list of architectures needing that.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                     http://aurel32.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-riscv64-offload.patch
Type: text/x-diff
Size: 2384 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20251202/47a340a1/attachment.patch>


More information about the Pkg-llvm-team mailing list