Previous Thread
Next Thread
Print Thread
Page 38 of 43 1 2 36 37 38 39 40 42 43
Joined: Jan 2012
Posts: 1,162
Likes: 7
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,162
Likes: 7
Bit of a head scratcher here, this is on an i7-4790K (four physical cores), 16GB and a dedicated fast SSD, on Windows 10

MAME compilation for some time has become very slow, over 1h for a SUBTARGET=MESS build with -j9

The build environment is MSYS64 from the current tools. If you look at the statistics for the eight virtual cores, they're all busy but maybe at 10-20% maximum.

Now I have kept an old set of build tools that was manually updated from the 2016 archive ... I tried that today, and all virtual cores are at roughly 90%, the same build is done in just over 20min.

What's happening here?


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: May 2004
Posts: 1,705
Likes: 3
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,705
Likes: 3
unrelated, but I don't recommend using an SSD drive for compilation, you'll smash the write limit on them very quickly and end up with a dead SSD, compiling is very I/O intensive.


Last edited by Haze; 09/28/17 08:47 PM.
Joined: May 2004
Posts: 961
Likes: 23
D
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 961
Likes: 23
That might have been true for very old SSDs, but it's really a non-issue now. Even the cheap ones support writing terabytes of data. I don't even have a traditional HDD in my system anymore.

Joined: Aug 2012
Posts: 74
Member
Offline
Member
Joined: Aug 2012
Posts: 74
having some trouble compiling the latest build from git. Part way through I get this:

Code
mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: unable to rename '../../../../mingw-gcc/bin/x64/Release/mame_mame/libie15.a'; reason: File exists
ie15.make:265: recipe for target '../../../../mingw-gcc/bin/x64/Release/mame_mame/libie15.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/mame_mame/libie15.a] Error 1

Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
Try a make clean and a re-make. It sounds like a file got stuck somehow.

Joined: Aug 2012
Posts: 74
Member
Offline
Member
Joined: Aug 2012
Posts: 74
Just tried that and I get the same error but at a different spot.

Code
4/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: unable to rename '../Archiving libvsystem.a...
Compiling src/mame/video/crt.cpp...
../../../mingw-gcc/bin/x64/Release/mame_mame/libmicrokey.a'; reason: File exists
microkey.make:279: recipe for target '../../../../mingw-gcc/bin/x64/Release/mame_mame/libmicrokey.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/mame_mame/libmicrokey.a] Error 1
makefile:724: recipe for target 'microkey' failed
make[1]: *** [microkey] Error 2
Compiling src/mame/drivers/gts3a.cpp...
make[1]: *** Waiting for unfinished jobs....


I used the following commandline:

Code
[MINGW64] C:\msys64\home\mfora\mame>make -j9 avx2=1 NOWERROR=1 USE_NETWORK=1 TOOLS=1 ARCHOPTS=-march=native

Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
Try turning down the j9 to j5 or something. It seems like something in your system doesn't like the full stress.

Joined: Aug 2012
Posts: 74
Member
Offline
Member
Joined: Aug 2012
Posts: 74
Nope still doesn't like that

Code
Archiving libflac.a...
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: unable to rename '../../../../minCompiling src/osd/windows/winutil.cpp...
gw-gcc/bin/x64/Release/libflac.a'; reason: File exists
flac.make:319: recipe for target '../../../../mingw-gcc/bin/x64/Release/libflac.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/libflac.a] Error 1
makefile:52: recipe for target 'flac' failed
make[1]: *** [flac] Error 2
make[1]: *** Waiting for unfinished jobs....

Joined: May 2004
Posts: 961
Likes: 23
D
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 961
Likes: 23
Maybe your anti-virus is interfering.

Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
Ooh, yeah, I forgot about that. Set your AV to exclude the MAME tree.

Page 38 of 43 1 2 36 37 38 39 40 42 43

Link Copied to Clipboard
Who's Online Now
2 members (ssj, box), 22 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,103
Posts119,278
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com