Emulator Issues #11021
closedDolphin does not compile with gcc-8
0%
Description
As of commit c51c044142fd0c91839ddc242d9da6efcbb4a526, Dolphin does not compile with gcc-8. Attempts to compile yield the following:
/usr/lib/gcc/x86_64-linux-gnu/8/include/immintrin.h:113:10: fatal error: movdirintrin.h: No such file or directory
Note that gcc-7 compiles fine. Tested on Linux kernel 4.15, x64.
Updated by spycrab0 over 6 years ago
- Status changed from New to Questionable
- Operating system Linux added
- Operating system deleted (
N/A)
The bisect is total nonsense: https://github.com/dolphin-emu/dolphin/commit/c51c044142fd0c91839ddc242d9da6efcbb4a526
This commit does not touch any code, it only updates the translation files.
The error message you provide gives me the impression that there's something wrong with your GCC 8 installation.
Also: GCC 8 has not been released yet (See https://gcc.gnu.org/).
Could you provide the exact version of the compilers you were using to test this (gcc-7 --version and gcc-8 --version, respectively)?
Also please attach a full build log.
Updated by JosJuice over 6 years ago
They technically never said it was the version where the issue started :)
Updated by shoegazer over 6 years ago
That was not from a bisect, it was just to show that the most recent commit as of this writing does not compile against gcc-8. I didn't bisect because I assumed no part of master has supported gcc-8 (though in fairness, past updates to gcc have always been fully backwards compatible and I've never had issues of this sort before).
There doesn't seem to be anything wrong with my gcc installation, I've been following the same update path as with prior updates and other projects seem to compile fine with gcc-8.
GCC-8 was just released to the Ubuntu repo: https://launchpad.net/ubuntu/+source/gcc-8
Versions:
Compiles: gcc-7.3.0
Does not compile: gcc-8.0.1
Updated by jcowgill over 6 years ago
The version of gcc-8 shipped with Ubuntu 18.04 is indeed bust and missing that header. If you use 8.1.0 currently in Cosmic, then it should get further but you will probably run into the errors in issue 11047.
Updated by shoegazer over 6 years ago
Thanks, jcowgill. It's not the greatest news in the world but it least it explains things.
Updated by Billiard26 over 5 years ago
- Related to Emulator Issues #11047: Compilation problems in Fedora 28 / GCC 8 / C++17 added
Updated by Billiard26 over 5 years ago
- Status changed from Questionable to Duplicate
Updated by JosJuice over 5 years ago
- Related to deleted (Emulator Issues #11047: Compilation problems in Fedora 28 / GCC 8 / C++17)
Updated by JosJuice over 5 years ago
- Is duplicate of Emulator Issues #11047: Compilation problems in Fedora 28 / GCC 8 / C++17 added