Project

General

Profile

Actions

Emulator Issues #11021

closed

Dolphin does not compile with gcc-8

Added by shoegazer about 6 years ago. Updated over 5 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Linux
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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.


Related issues 1 (0 open1 closed)

Is duplicate of Emulator - Emulator Issues #11047: Compilation problems in Fedora 28 / GCC 8 / C++17Working as intended

Actions
Actions #1

Updated by spycrab0 about 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.

Actions #2

Updated by JosJuice about 6 years ago

They technically never said it was the version where the issue started :)

Actions #3

Updated by shoegazer about 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

Actions #4

Updated by jcowgill almost 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.

Actions #5

Updated by shoegazer almost 6 years ago

Thanks, jcowgill. It's not the greatest news in the world but it least it explains things.

Actions #6

Updated by Billiard26 over 5 years ago

Actions #7

Updated by Billiard26 over 5 years ago

  • Status changed from Questionable to Duplicate
Actions #8

Updated by JosJuice over 5 years ago

Actions #9

Updated by JosJuice over 5 years ago

Actions

Also available in: Atom PDF