Package Details: xemu-git 0.8.4.r0.g4571967472-1

Git Clone URL: https://aur.archlinux.org/xemu-git.git (read-only, click to copy)
Package Base: xemu-git
Description: Original Xbox emulator (fork of XQEMU)
Upstream URL: https://xemu.app/
Keywords: console emulation emulator game microsoft xbox xiso
Licenses: GPL-2.0-only
Conflicts: xemu
Provides: xemu
Submitter: abouvier
Maintainer: abouvier
Last Packager: abouvier
Votes: 11
Popularity: 0.122479
First Submitted: 2020-09-28 02:28 (UTC)
Last Updated: 2025-01-03 03:58 (UTC)

Dependencies (39)

Required by (0)

Sources (8)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

abouvier commented on 2022-01-31 05:02 (UTC) (edited on 2022-01-31 05:03 (UTC) by abouvier)

PKGBUILDs are not supposed to support every compiler.

It's up to you to add these variables in your environment.

Neko-san commented on 2022-01-30 23:59 (UTC)

Putting this at the top of the build function fixes compiling Xemu with clang:

    if [ "$CC" == "clang" ] || [ "$CXX" == "clang++" ]; then
        export CC=clang
        export CXX=clang++
        export CC_LD=lld
        export CXX_LD=lld
        export AR="/usr/bin/llvm-ar"

        ## The below are optional, but I use them:
        export LD="/usr/bin/ld.lld"
        export NM="/usr/bin/llvm-nm"
        export AS="/usr/bin/llvm-as"
        export RANLIB="/usr/bin/llvm-ranlib"
        export STRIP="/usr/bin/llvm-strip"
        export OBJCOPY="/usr/bin/llvm-objcopy"
    fi

Neko-san commented on 2021-09-20 21:43 (UTC)

Aaaaand, it did get removed, partially They kept the LD export but not exactly as it's required for Xemu as mentioned in the Github conversation

Not be overly negative but... it's stuff like this that makes me not want to contribute to the wiki :/

Neko-san commented on 2021-09-17 23:24 (UTC)

I just added it.

In my experience, contributing to the Arch Wiki just gets my additions removed but we'll see if it doesn't this time :/

abouvier commented on 2021-09-17 20:07 (UTC)

It's time to edit the wiki at https://wiki.archlinux.org/title/Clang to add your discoveries ;)

Neko-san commented on 2021-09-17 08:58 (UTC)

I mean, yeah, I did that but this info isn't in the Arch Wiki and anyone else happening upon it probably would have to goose-chase to find out :v

abouvier commented on 2021-09-17 06:22 (UTC) (edited on 2021-09-17 17:57 (UTC) by abouvier)

Why not add these variables/flags in your makepkg.conf file like you did for CC/CXX? :p

It will fix every PKGBUILD that you're building with clang+LTO.

Neko-san commented on 2021-09-16 05:59 (UTC)

@abouvier Apparently, exporting these variables:

https://github.com/mborgerson/xemu/issues/456#issuecomment-920591226

in the PKGBUILD fixes the LTO error.

Maybe add a detection handling for when Clang is used and when LTO is active?

I'd offer a suggestion but I'm not as experienced with understanding what makepkg does and doesn't like in these kinds of scenarios :V

abouvier commented on 2021-09-16 01:36 (UTC)

Enabling lto works with gcc, but apparently not with clang. You should report it upstream :p

Neko-san commented on 2021-09-16 01:25 (UTC)

Yeah, sorry Lol

I edited and mentioned I have a different issue now