Why specifically Clang12 though?
Search Criteria
Package Details: pcsx2-git 1.7.5703.r0.g070068366f-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://github.com/PCSX2/pcsx2 |
Licenses: | GPL2, GPL3, LGPL3, LGPL2.1 |
Conflicts: | pcsx2 |
Provides: | pcsx2 |
Submitter: | alucryd |
Maintainer: | rafaelff (weirdbeard) |
Last Packager: | weirdbeard |
Votes: | 127 |
Popularity: | 0.42 |
First Submitted: | 2014-03-26 14:17 (UTC) |
Last Updated: | 2024-04-13 15:10 (UTC) |
Dependencies (31)
- alsa-lib
- ffmpeg (ffmpeg-intel-full-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-full-gitAUR, ffmpeg-nocudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-headlessAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libaio (libaio-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libpcap (libpcap-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libxrandr (libxrandr-gitAUR)
- lld (llvm-rocm-gitAUR, llvm-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- shaderc-non-semantic-debugAUR
- soundtouch (soundtouch-gitAUR)
- wayland (wayland-gitAUR, wayland-chromiumAUR, wayland-asan-gitAUR)
- xcb-util-cursor (xcb-util-cursor-gitAUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- git (git-gitAUR) (make)
- Show 11 more dependencies...
Required by (3)
- libretro-pcsx2-launcher (requires pcsx2)
- libretro-pcsx2-launcher-git (requires pcsx2)
- pcsx2-plugin-usbqemu-wheel (requires pcsx2)
Sources (11)
- git+https://github.com/biojppm/c4core.git
- git+https://github.com/biojppm/cmake.git
- git+https://github.com/biojppm/debugbreak.git
- git+https://github.com/biojppm/rapidyaml.git
- git+https://github.com/fastfloat/fast_float.git
- git+https://github.com/fmtlib/fmt.git
- git+https://github.com/google/googletest.git
- git+https://github.com/PCSX2/pcsx2.git
- git+https://github.com/PCSX2/pcsx2_patches.git
- pcsx2-qt.sh
- vulkan-headers
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 56 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