Package Details: dolphin-emu-qt-git 5.0.r4723.ba356f78d1-1

Git Clone URL: https://aur.archlinux.org/dolphin-emu-git.git (read-only)
Package Base: dolphin-emu-git
Description: A GameCube / Wii / Triforce emulator
Upstream URL: http://www.dolphin-emu.org/
Licenses: GPL
Submitter: None
Maintainer: alucryd
Last Packager: alucryd
Votes: 89
Popularity: 1.765402
First Submitted: 2011-08-20 13:05
Last Updated: 2017-07-15 17:48

Latest Comments

sleepyoh commented on 2017-07-16 01:12

I can confirm that it build's fine now! =)

Thank's!

alucryd commented on 2017-07-15 17:49

Re-enabled PIE and disabled LTO for the Qt build. Arch now enforces PIE for everything.

sleepyoh commented on 2017-07-15 17:15

I say the same as aphirst and krakn, build error 45%, not using any front-end only makepkg.

aphirst commented on 2017-07-14 21:32

I'm getting build/link errors at the same place that "krakn" does, except I don't seem to have -fno-pie set anywhere.

WeenieHut commented on 2017-07-13 21:57

CommandLine Error: Option 'help-list' registered more than once!

Whenever I try to run a game or change a setting Dolphin crashes with the error above. I've read that its an upstream LLVM error. Can anyone else confirm the issue and which LLVM I should be using to compile?

I was using LLVM-svn which I had last compiled from source last year. I'm guessing stable repo LLVM has surpassed the year old svn version I had built. Removed SVN and installed latest stable. Compiling now. Will update with results.

Switching to LLVM stable fixed the issue!! All the dank Vulkan performance <3

krakn commented on 2017-07-13 04:14

Build fails with:

```
-DCMAKE_CXX_FLAGS='-fno-pie'
```

```
[ 45%] Linking CXX executable ../../../Binaries/traversal_server
/usr/bin/ld: /tmp/ccG45bps.ltrans0.ltrans.o: relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/Common/CMakeFiles/traversal_server.dir/build.make:95: Binaries/traversal_server] Error 1
make[1]: *** [CMakeFiles/Makefile2:965: Source/Core/Common/CMakeFiles/traversal_server.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
```

Compiling with:

```
CFLAGS+=('-fPIC')
CXXFLAGS+=('-fPIC')
```

```
[ 45%] Linking CXX executable ../../../Binaries/traversal_server
/usr/bin/ld: /tmp/ccKaaibk.ltrans0.ltrans.o: relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/Common/CMakeFiles/traversal_server.dir/build.make:95: Binaries/traversal_server] Error 1
make[1]: *** [CMakeFiles/Makefile2:965: Source/Core/Common/CMakeFiles/traversal_server.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
```

Build Environment:
```
#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fPIC"
CXXFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fPIC"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j 32"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
```

If you need anything else, just let me know.

hcorion commented on 2017-06-29 21:18

Please remove the

-DENABLE_LTO='TRUE' \

in CMake.
Qt doesn't work with LTO for some reason, it builds fine, but the GUI is non-functional.
See: https://github.com/dolphin-emu/dolphin/wiki/Building-With-Qt

DocMAX commented on 2017-06-16 17:39

home/docmax/.cache/pacaur/dolphin-emu-git/src/dolphin-emu/Externals/wxWidgets3/include/wx/bitmap.h:188:20: Warnung: »GetScaleFactor« verletzt die One-Definition-Rule von C++ [-Wodr]
virtual double GetScaleFactor() const { return 1.0; }
^
/home/docmax/.cache/pacaur/dolphin-emu-git/src/dolphin-emu/Externals/wxWidgets3/include/wx/bitmap.h:188:20: Anmerkung: »GetScaleFactor« wurde vorher hier deklariert
virtual double GetScaleFactor() const { return 1.0; }
^
In Elementfunktion »operator 70«,
eingefügt von »ParseCommandLine« bei/home/docmax/.cache/pacaur/dolphin-emu-git/src/dolphin-emu/Source/Core/DolphinWX/Main.cpp:166:88:
/home/docmax/.cache/pacaur/dolphin-emu-git/src/dolphin-emu/Externals/wxWidgets3/include/wx/cmdargs.h:54:39: Warnung: Argument 1 Wert »18446744073709551615« übersteigt maximale Objektgröße 9223372036854775807 [-Walloc-size-larger-than=]
m_argsA = new char *[count];
^
/home/docmax/.cache/pacaur/dolphin-emu-git/src/dolphin-emu/Externals/wxWidgets3/include/wx/cmdargs.h: In Elementfunktion »ParseCommandLine«:
/usr/include/c++/7.1.1/new:122:7: Anmerkung: in einem Aufruf der hier deklarierten Allokationsfunktion »operator new []«
void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^
/usr/lib/libavutil.so: undefined reference to `clReleaseMemObject@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clGetPlatformInfo@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clCreateProgramWithSource@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clCreateCommandQueue@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clCreateBuffer@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clBuildProgram@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clGetDeviceInfo@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clReleaseContext@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clGetPlatformIDs@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clReleaseCommandQueue@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clSetKernelArg@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clEnqueueUnmapMemObject@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clCreateContextFromType@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clEnqueueMapBuffer@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clGetProgramBuildInfo@OPENCL_1.0'
/usr/lib/libavutil.so: undefined reference to `clGetDeviceIDs@OPENCL_1.0'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/build.make:2348: Binaries/dolphin-emu] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:1184: Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Fehler 2
make: *** [Makefile:152: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
:: Konnte dolphin-emu-git-Paket(e) nicht erstellen

alucryd commented on 2017-06-04 20:04

Must have been fixed upstream, works here now.

gourdcaptain commented on 2017-06-04 03:55

I'm getting a bunch of warnings trying to compile this ending with the error:
/home/gourdcaptain/.cache/pacaur/dolphin-emu-git/src/dolphin-emu/Externals/wxWidgets3/include/wx/cmdargs.h: In member function ‘ParseCommandLine’:
void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)"
EDIT: Later experimentation notes the build works if you disable the QT UI and that package, for the record.

All comments