Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / dotnet-core-8.0
Commits: 770d093e by loqs at 2025-11-26T17:25:25+00:00 Switch to llvm20/clang20 - Fixes failure to build from source with llvm21/clang21. - Upstream issue https://github.com/dotnet/runtime/issues/119706. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -5,7 +5,7 @@ pkgbase = dotnet-core-8.0 arch = x86_64 license = MIT makedepends = bash - makedepends = clang + makedepends = clang20 makedepends = cmake makedepends = dotnet-sdk-8.0 makedepends = dotnet-source-built-artifacts-8.0 @@ -16,7 +16,7 @@ pkgbase = dotnet-core-8.0 makedepends = libunwind makedepends = libxml2 makedepends = lldb - makedepends = llvm + makedepends = llvm20 makedepends = lttng-ust2.12 makedepends = nodejs makedepends = openssl ===================================== PKGBUILD ===================================== @@ -19,7 +19,7 @@ url=https://dotnet.microsoft.com license=(MIT) makedepends=( bash - clang + clang20 cmake dotnet-sdk-8.0 dotnet-source-built-artifacts-8.0 @@ -30,7 +30,7 @@ makedepends=( libunwind libxml2 lldb - llvm + llvm20 lttng-ust2.12 nodejs openssl @@ -92,7 +92,9 @@ build() { export VERBOSE=1 export OPENSSL_ENABLE_SHA1_SIGNATURES=1 - export PATH="/usr/lib/llvm18/bin:$PATH" + # .NET crashes when compiled with clang 21.1 on Fedora 43 #119706 + # https://github.com/dotnet/runtime/issues/119706 + export PATH="/usr/lib/llvm20/bin:$PATH" # this uses malloc_usable_size, which is incompatible with fortification level 3 CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core-8.0/-/commit/770d093ebbfac867870a281f88428932815dd0a0 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core-8.0/-/commit/770d093ebbfac867870a281f88428932815dd0a0 You're receiving this email because of your account on gitlab.archlinux.org.
