Package Details: clang-prefixed-release 21.1.2-1

Git Clone URL: https://aur.archlinux.org/clang-prefixed-release.git (read-only, click to copy)
Package Base: clang-prefixed-release
Description: Up to date official clang releases installed at /opt/clang/latest to avoid system wide usage/impact
Upstream URL: https://llvm.org/
Licenses: custom:Apache 2.0 with LLVM Exception
Submitter: sirspudd
Maintainer: sirspudd
Last Packager: sirspudd
Votes: 6
Popularity: 0.145910
First Submitted: 2023-01-26 02:02 (UTC)
Last Updated: 2025-09-26 06:13 (UTC)

Latest Comments

1 2 3 Next › Last »

sirspudd commented on 2025-09-16 18:56 (UTC)

@oech3 this package tracks/allows for clang experimentation outside of the rootfs since clang/llvm is a broadly used system dependency. There is also a fair amount of latency between clang releases and these being updated in Arch, so this serves a purpose on that front.

sirspudd commented on 2025-09-16 18:51 (UTC)

I am not sure why I am getting a deletion request for an actively maintained package which tracks pre-released versions of clang outside of the systems critical path (since clang/llvm are broad dependencies)

sirspudd commented on 2025-08-28 18:22 (UTC) (edited on 2025-09-16 19:11 (UTC) by sirspudd)

as of 21.1 I tried using my own clang to build linux v6.17-rc3-49

something spiked latencies on my machine not present when using the Arch 20.1.8 clang; no clear sign of load, extreme latency on every keystroke in kitty

This issue evaporated with subsequent upstream kernel changes.

sirspudd commented on 2024-06-27 06:29 (UTC) (edited on 2024-06-27 06:29 (UTC) by sirspudd)

@mazieres: Sorry, just read through to completion; I have no clue how/when the internal libunwind is linked against vs an external unwind.

/opt/clang/latest/include/__libunwind_config.h
/opt/clang/latest/include/libunwind.h
/opt/clang/latest/include/libunwind.modulemap
/opt/clang/latest/include/mach-o/compact_unwind_encoding.h
/opt/clang/latest/include/mach-o/compact_unwind_encoding.modulemap
/opt/clang/latest/include/unwind.h
/opt/clang/latest/include/unwind_arm_ehabi.h
/opt/clang/latest/include/unwind_itanium.h
/opt/clang/latest/lib/clang/18/include/unwind.h
/opt/clang/latest/lib/x86_64-unknown-linux-gnu/libunwind.so
/opt/clang/latest/lib/x86_64-unknown-linux-gnu/libunwind.so.1
/opt/clang/latest/lib/x86_64-unknown-linux-gnu/libunwind.so.1.0

I agree with you it is getting built, but can't tell you why if this version is being linked against it is failing.

sirspudd commented on 2024-06-27 06:26 (UTC)

@mazieres: thank you, added libunwind as a dependency to the PKGBUILD, shouldn't fail there anymore

mazieres commented on 2024-06-27 03:21 (UTC) (edited on 2024-06-27 03:21 (UTC) by mazieres)

@sirspudd Sorry, I had to dig in a bit further. It seems internal tools are failing to find libunwind. This is what I get when building 18.1.8 on a system that's just been updated with pacman -Syu on June 26, 2024 but still has clang-prefixed-release 18.1.3-1 installed:

/var/tmp/clang-prefixed-release/src/_build/bin/llvm-min-tblgen -gen-riscv-target-def -I /var/tmp/clang-prefixed-release/src/llvm-project-llvmorg-18.1.8/llvm/lib/Target/RISCV/ -I /var/tmp/clang-prefixed-release/src/llvm-project-llvmorg-18.1.8/llvm/include/llvm/TargetParser -I/var/tmp/clang-prefixed-release/src/_build/include -I/var/tmp/clang-prefixed-release/src/llvm-project-llvmorg-18.1.8/llvm/include /var/tmp/clang-prefixed-release/src/llvm-project-llvmorg-18.1.8/llvm/lib/Target/RISCV/RISCV.td --write-if-changed -o include/llvm/TargetParser/RISCVTargetParserDef.inc -d include/llvm/TargetParser/RISCVTargetParserDef.inc.d
/var/tmp/clang-prefixed-release/src/_build/bin/llvm-min-tblgen: error while loading shared libraries: libunwind.so.1: cannot open shared object file: No such file or directory

It seems like the source tree contains it own libunwind, but this error is occurring before libunwind is built. I don't understand how these tools are getting linked. When I delete them from _build/bin/ and run ninja -v it doesn't print anything about how the tools are being linked.

Any ideas?

sirspudd commented on 2024-06-27 01:55 (UTC)

@mazieres

it builds fine for me locally and you did not actually include the error from the compiler which would help me in remotely advising you/debugging the failure point.

mazieres commented on 2024-06-27 01:33 (UTC)

18.1.3 built fine for me, but now on 18.1.8 I get a build error:

[835/8900] Building CXX object projects/compiler-rt/lib/msan/CMakeFiles/clang_rt.msan-x86_64.dir/msan_interceptors.cpp.o [836/8900] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o ninja: build stopped: subcommand failed.

sirspudd commented on 2024-01-30 21:49 (UTC)

Cool; I have verified 18.1 rc1 builds with gcc (without libc) and builds with clang 17 (it does not build with the clang in the Arch repos)