Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th August 2018, 18:09   #1  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
[SOLVED] Impossible to compile GCC 8.x through Zeranoe's build scripts

The GCC build scripts by Zeranoe were OK for compiling GCC up to versions 7.x, but now, they are unsuitable for building GCC 8.x, and I have no idea of what changed drastically between versions 7.x and versions 8.x

All I had to do was edit the script(s) that I downloaded from Nevcairiel's repository:

https://files.1f0.de/mingw/scripts/

—but now the trick doesn't work anymore.

Below is what the file build.log says:

Code:
make[1]: *** [Makefile:18996: intrincs/lib32_libkernel32_a-rdtsc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f intrincs/.deps/lib32_libkernel32_a-readfsbyte.Tpo intrincs/.deps/lib32_libkernel32_a-readfsbyte.Po
mv -f intrincs/.deps/lib32_libkernel32_a-RtlSecureZeroMemory.Tpo intrincs/.deps/lib32_libkernel32_a-RtlSecureZeroMemory.Po
mv -f intrincs/.deps/lib32_libkernel32_a-readfsword.Tpo intrincs/.deps/lib32_libkernel32_a-readfsword.Po
rm lib32/msvcr90d.def lib32/msvcr110.def lib32/msvcr100.def lib32/msvcr120.def lib32/msvcr120d.def lib32/msvcr90.def
make[1]: Leaving directory '/newsystem/build/crt'
make: *** [Makefile:7778: all] Error 2
error

See build.log for more details.
n.h:41,
                 from R:/MAKE6T4/newsystem/source/mingw-w64-5.0.3/mingw-w64-crt/intrincs/rdtsc.c:10:
r:\make6t4\newsystem\mingw-w64-i686\i686-w64-mingw32\include\psdk_inc\intrin-impl.h:1412:18: note: previous definition of '_xgetbv' was here
 unsigned __int64 _xgetbv(unsigned int index)
                  ^~~~~~~
make[1]: *** [Makefile:18996: intrincs/lib32_libkernel32_a-rdtsc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f intrincs/.deps/lib32_libkernel32_a-readfsbyte.Tpo intrincs/.deps/lib32_libkernel32_a-readfsbyte.Po
mv -f intrincs/.deps/lib32_libkernel32_a-RtlSecureZeroMemory.Tpo intrincs/.deps/lib32_libkernel32_a-RtlSecureZeroMemory.Po
mv -f intrincs/.deps/lib32_libkernel32_a-readfsword.Tpo intrincs/.deps/lib32_libkernel32_a-readfsword.Po
rm lib32/msvcr90d.def lib32/msvcr110.def lib32/msvcr100.def lib32/msvcr120.def lib32/msvcr120d.def lib32/msvcr90.def
make[1]: Leaving directory '/newsystem/build/crt'
make: *** [Makefile:7778: all] Error 2

Last edited by Midzuki; 29th August 2018 at 20:58. Reason: update
Midzuki is offline   Reply With Quote
Old 29th August 2018, 21:03   #2  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
I really need more coffee...
GCC 8 just requires a recent version of the MinGW-w64 thing...
replacing "5.0.3" with "git" or with "5.0.4" in the build script is the (obvious) solution.
Midzuki is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.