Package Details: pcsx2-git 1.7.3519.r285.ga346cff47-1

Git Clone URL: (read-only, click to copy)
Package Base: pcsx2-git
Description: A Sony PlayStation 2 emulator
Upstream URL:
Licenses: GPL2, GPL3, LGPL3, LGPL2.1
Conflicts: pcsx2
Provides: pcsx2-qt
Submitter: alucryd
Maintainer: rafaelff (weirdbeard)
Last Packager: weirdbeard
Votes: 124
Popularity: 1.05
First Submitted: 2014-03-26 14:17 (UTC)
Last Updated: 2022-12-08 05:03 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 49 Next › Last »

weirdbeard commented on 2022-10-05 16:16 (UTC)

Yeah, and I hate it. I mean that with no joke. PCSX2 + Link Time Optimization is faster than no Link Time Optimization.

PCSX2 with Clang Link Time Optimization is even faster, however enabling that optimized out AR location and its a fuckin pain in my neck :D

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)"


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.

weirdbeard commented on 2022-10-02 14:43 (UTC)

Just tested with the official zstd. Seems like they did add the missing CMake headers

rafaelff commented on 2022-10-02 09:15 (UTC)

zstd in official repos now have CMake files, maybe it is worth trying to build PCSX2 without zstd-cmake?