New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation broken with GCC6 #1297
Comments
|
Could you grep -r _fxsave in /usr/lib/gcc ? (Or wherever your distrib put gcc include file) |
|
|
Hum, on debian I have a 32 bits include (by the way you can grep word with -w) Do you still have a gcc 5 install? |
|
well both files are the same here. Could you post the fxsrintrin.h file? Normally the file is included by |
No, that's not possible by default in Fedora - if I want multiple GCC's, I need to compile them and then set PATH to different gcc. fxsrintrin.h - http://pastebin.com/wJENF7A3 Btw, I don't even have /usr/lib/gcc/i686-redhat-linux/6.0.0/include/fxsrintrin.h on my system. |
|
Do you have this include /usr/lib/gcc/i686-redhat-linux/6.0.0/include/ path. The file seems to be normal. (aka no change). |
|
Directory /usr/lib/gcc/i686-redhat-linux/6.0.0/include/ doesn't exist.
I have found this: |
|
I found something that might help, at least for Ubuntu: One needs to make sure that the distro is using the proper GCC and G++ versions when multiple versions are installed. I'm not familiar with how other non-Debian distros will work on that issue. I documented my results here in a non-pcsx2 context: The main thing that I know about GCC-6 is that it hasn't seen wide use/release yet among Ubuntu and Ubuntu-based distros. |
Thanks for help, but this issue is not about choosing different GCC version. It is solution to get pcsx2 compiled, but it's important to have working compilation under latest GCC - this can be achieved by reporting bug to GCC, which will probably take ages to solve or by fixing/modifying application itself. This issue is not some top priority bug - as you have said, most distributions are using older GCC versions (even Fedora does so, I am running yet to be released Fedora 24). |
|
Could you try to add this line in top of common/src/x86emitter/cpudetect.cpp |
|
Works with include added. Thanks |
|
I'm still getting this trying to build 1.4.0 on arch linux x64, even with |
|
nvm, apparently the code has changed much between 1.4.0 and current git master, so it's not trivial to just add the line - I will try getting the git snapshot to build instead. |
|
@Soukyuu PCSX2 stable won't probably work with latest GCC unless @gregory38 decides to port fixes to stable and release point release. I'd recommend you opening a new issue if you have issues with GCC 6.1. |
|
Yeah I did quite a good jobs :p |
|
The current git master compiles fine with 6.1.1, so I don't think there is anything to be done for an older stable version. |
|
fix build for me on Fedora 24+ |
|
@sergiomb2 thanks you for the patch. I pushed it in the 1.4 branch. Sorry for the delay, I just saw your patch due to another issure report. |
Compilation with GCC6 is not working. I've tried to disable simd (--no-simd) but result is same.
The text was updated successfully, but these errors were encountered: