Package Details: fex-emu-git 2406+295.g58e949e148-1

Git Clone URL: https://aur.archlinux.org/fex-emu-git.git (read-only, click to copy)
Package Base: fex-emu-git
Description: Fast usermode x86 and x86-64 emulator for Arm64
Upstream URL: https://fex-emu.com
Licenses: MIT
Conflicts: fex-emu
Provides: fex-emu
Submitter: 1ace
Maintainer: Sonicadvance1
Last Packager: Sonicadvance1
Votes: 0
Popularity: 0.000000
First Submitted: 2022-08-15 15:32 (UTC)
Last Updated: 2024-10-06 02:00 (UTC)

Latest Comments

Sonicadvance1 commented on 2024-06-28 16:25 (UTC)

Didn't even know I had maintainer rights for this. Must have missed the email thinking it was the same as the non -git package or something. I have updated the package now. Thanks for bringing this to my attention.

Ektor-5 commented on 2024-06-27 11:20 (UTC) (edited on 2024-06-27 11:21 (UTC) by Ektor-5)

Package outdated and doesn't compile with current source links, needs a refresh from upstream package. In the meantime, here's a patch:

From fd3454c4520fd4a37bf7e49c0a4dee119c6afebd Mon Sep 17 00:00:00 2001
From: Ettore Chimenti <ek5.chimenti@gmail.com>
Date: Thu, 27 Jun 2024 12:53:49 +0200
Subject: [PATCH] Bump to 2406 revision

Updated source links, dropped x86_64 support

Signed-off-by: Ettore Chimenti <ek5.chimenti@gmail.com>
---
 PKGBUILD | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index b712897..74a9849 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
 # Maintainer: Eric Engestrom <aur@engestrom.ch>

 pkgname=fex-emu-git
-pkgver=2209+6.gc987e1ef44
+pkgver=2406+295.g58e949e148
 pkgrel=1
 pkgdesc='Fast usermode x86 and x86-64 emulator for Arm64'
 url=https://fex-emu.com
-arch=(aarch64 x86_64)
+arch=(aarch64)
 license=(MIT)
-makedepends=(git cmake ninja clang)
-depends=(sdl2 libepoxy squashfs-tools squashfuse)
+makedepends=(git cmake ninja clang llvm python-setuptools)
+depends=(sdl2 libepoxy squashfs-tools squashfuse erofs-utils)
 source=("git+https://github.com/FEX-Emu/FEX"
         "git+https://github.com/catchorg/Catch2"
         "git+https://github.com/KhronosGroup/Vulkan-Headers"
@@ -21,11 +21,11 @@ source=("git+https://github.com/FEX-Emu/FEX"
         "git+https://github.com/Sonicadvance1/imgui"
         "git+https://github.com/FEX-Emu/jemalloc"
         "git+https://github.com/Sonicadvance1/json-maker"
-        "git+https://github.com/Tessil/robin-map"
+        "git+https://github.com/FEX-Emu/robin-map"
         "git+https://github.com/Sonicadvance1/tiny-json"
         "git+https://github.com/FEX-Emu/vixl"
-        "git+https://github.com/FEX-Emu/xbyak"
-        "git+https://github.com/FEX-Emu/xxhash"
+        "git+https://github.com/herumi/xbyak"
+        "git+https://github.com/Cyan4973/xxhash"
         )
 sha256sums=('SKIP'
             'SKIP'
@@ -53,7 +53,6 @@ prepare() {
   for f in \
     Catch2 \
     Vulkan-Headers \
-    cpp-optparse \
     drm-headers \
     fex-gcc-target-tests-bins \
     fex-gvisor-tests-bins \
@@ -71,6 +70,16 @@ prepare() {
   do
     git config submodule."External/$f".url "$srcdir/$f"
   done
+
+  git config submodule."External/jemalloc_glibc".url "$srcdir/jemalloc"
+
+  for f in \
+    cpp-optparse \
+    ;
+  do
+    git config submodule."Source/Common/$f".url "$srcdir/$f"
+  done
+
   git -c protocol.file.allow=always submodule update
 }

@@ -91,11 +100,6 @@ build() {
     FEX_OPTIONS+=(-D ENABLE_LLD=True)
   fi

-  if [ $CARCH = x86_64 ]
-  then
-    FEX_OPTIONS+=(-D ENABLE_X86_HOST_DEBUG=True)
-  fi
-
   CC=clang \
   CXX=clang++ \
   cmake \
-- 
2.45.2

linkmauve commented on 2023-11-29 15:26 (UTC)

Hi, this package is missing llvm in makedepends, otherwise it tries to call the CMAKE_C_COMPILER_AR-NOTFOUND command when linking .a libraries.

With that fixed, it then fails to build with this log at the end:

LLVM ERROR: Unsupported calling convention.
clang-16: error: unable to execute command: Aborted (core dumped)
clang-16: error: linker command failed due to signal (use -v to see invocation)
[218/269] Linking CXX executable Bin/CodeSizeValidation
FAILED: Bin/CodeSizeValidation 
: && /usr/lib/ccache/bin/clang++ -march=armv8-a+crypto -mtune=cortex-a53 -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/linkmauve/pkg/fex-emu-git/src=/usr/src/debug/fex-emu-git -O3 -DNDEBUG -fomit-frame-pointer -flto=thin -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now    -fPIE -pie Source/Tools/CodeSizeValidation/CMakeFiles/CodeSizeValidation.dir/Main.cpp.o -o Bin/CodeSizeValidation  FEXCore/Source/libFEXCore.a  Source/Common/libCommon.a  Source/Tools/CommonTools/libCommonTools.a  -lpthread  Source/Common/cpp-optparse/libcpp-optparse.a  External/tiny-json/libtiny-json.a  External/json-maker/libjson-maker.a  FEXCore/Source/libFEXCore_Base.a  External/fmt/libfmt.a  External/xxhash/libxxhash.a  -ldl  -lpthread && :
LLVM ERROR: Unsupported calling convention.
clang-16: error: unable to execute command: Aborted (core dumped)
clang-16: error: linker command failed due to signal (use -v to see invocation)
ninja: build stopped: subcommand failed.