Why specifically Clang12 though?
Search Criteria
Package Details: pcsx2-git v1.7.3963.r0.g553a5cc45-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy) |
---|---|
Package Base: | pcsx2-git |
Description: | A Sony PlayStation 2 emulator |
Upstream URL: | https://www.pcsx2.net |
Licenses: | GPL2, GPL3, LGPL3, LGPL2.1 |
Conflicts: | pcsx2 |
Provides: | pcsx2-qt |
Submitter: | alucryd |
Maintainer: | rafaelff (weirdbeard) |
Last Packager: | weirdbeard |
Votes: | 124 |
Popularity: | 0.37 |
First Submitted: | 2014-03-26 14:17 (UTC) |
Last Updated: | 2023-01-26 13:47 (UTC) |
Dependencies (31)
- ffmpeg (ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-intel-full-git, ffmpeg-yt-dlp-bin, ffmpeg-shinobi, ffmpeg-git, ffmpeg-ndi, ffmpeg-mmal, ffmpeg-nocuda, ffmpeg-obs, ffmpeg-cuda, ffmpeg-decklink, ffmpeg-headless, ffmpeg-amd-full-git, ffmpeg-amd-full, ffmpeg-libfdk_aac, ffmpeg-gpl-bin, ffmpeg-v4l2-request-git, ffmpeg-full, ffmpeg-full-git, ffmpeg-jxl)
- libaio (libaio-git)
- libgl (glshim-git, libhybris-libgl-git, nvidia-340xx-utils, libglvnd-git, amdgpu-pro-libgl-cfe, amdgpu-pro-oglp, libglvnd)
- libjpeg-turbo (libjpeg-turbo-minimal-git, mozjpeg-git, libjpeg-turbo-git, mozjpeg)
- libpcap (libpcap-git)
- libpulse (libpulse-bluedio, pulseaudio-pali, pulseaudio-dummy, libpulse-nosystemd-git, libpulse-nosystemd, libpulse-nosystemd-minimal-git, libpulse-airplay, pulseaudio-git)
- libsamplerate (libsamplerate-git, libsamplerate-minimal-git)
- libxrender
- libzip (libzip-git)
- linux-api-headers (linux-api-headers-git)
- portaudio
- qt6-base (qt6-base-git, qt6-base-headless)
- qt6-svg
- qt6-tools
- qt6-wayland
- rapidyaml (rapidyaml-git)
- sdl2 (sdl2-minimal-git, sdl2-minimal-x11-git, sdl2-nox, sdl2-nox-git, sdl2-git)
- soundtouch (soundtouch-git)
- wayland (wayland-git, wayland-nodocs-git)
- xorg-xrandr (xorg-xrandr-git)
- Show 11 more dependencies...
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 51 Next › Last »
Neko-san commented on 2022-12-17 11:00 (UTC)
weirdbeard commented on 2022-12-16 17:41 (UTC)
At stenz's request, I changed to clang with llvm
Dreamkey commented on 2022-10-05 16:11 (UTC)
@weirdbeard thank you it does compile now!
weirdbeard commented on 2022-10-04 22:46 (UTC)
I already fixed the issue
Neko-san commented on 2022-10-04 22:45 (UTC)
Try setting CMAKE_C_COMPILER_AR
and CMAKE_CXX_COMPILER_AR
(according to the log you showed)
I don't have this problem, so it's the only advice left I can give
Dreamkey commented on 2022-10-04 17:38 (UTC)
@Neko-san @weirdbeard it doesn't work even with this modification (also tried with export
). My makepkg.conf
is pretty much untouched, I left all the OPTIONS
by default.
weirdbeard commented on 2022-10-04 04:05 (UTC)
It's because of clang / LTO. If you turn either off the issue will go away. Which, I hate because LTO + clang is actually faster
Neko-san commented on 2022-10-03 22:23 (UTC) (edited on 2022-10-03 22:27 (UTC) by Neko-san)
@Dreamkey You can define AR
in /etc/makepkg.conf
like so:
AR="$(which ar)"
or:
AR="$(which llvm-ar)"
if you use clang instead of gcc.
Dreamkey commented on 2022-10-03 21:59 (UTC)
Hello, I can't compile the package anymore because it can't find "ar" anymore, even if binutils is installed on my system:
[1/527] Linking C static library 3rdparty/rcheevos/librcheevos.a
FAILED: 3rdparty/rcheevos/librcheevos.a
: && /usr/bin/cmake -E rm -f 3rdparty/rcheevos/librcheevos.a && "CMAKE_C_COMPILER_AR-NOTFOUND" cr 3rdparty/rcheevos/librcheevos.a [...]
/bin/sh: line 1: CMAKE_C_COMPILER_AR-NOTFOUND: command not found
[2/527] Linking CXX static library 3rdparty/discord-rpc/libdiscord-rpc.a
FAILED: 3rdparty/discord-rpc/libdiscord-rpc.a
: && /usr/bin/cmake -E rm -f 3rdparty/discord-rpc/libdiscord-rpc.a && "CMAKE_CXX_COMPILER_AR-NOTFOUND" cr 3rdparty/discord-rpc/libdiscord-rpc.a [...]
/bin/sh: line 1: CMAKE_CXX_COMPILER_AR-NOTFOUND: command not found
ninja: build stopped: subcommand failed.
Pinned Comments