MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

Trebor
MAME Fan
Reged: 01/18/05
Posts: 509
Send PM


MAME 0.205 Src Compile Crash - dspp.cpp
#380405 - 12/29/18 03:12 PM


Running Windows 10 (x64) under a Core i7 system, perform the same process that previously always has been successful since at least versions 0.180 thru 0.204, utilizing a clean environment and official MAMEDev v0.205 source:

C:\msys64\src\mame>make -j5 SEPARATE_BIN=1 PTR64=1 OPTIMIZE=3 SYMBOLS=1 SYMLEVEL=1 STRIP_SYMBOLS=1 REGENIE=1

It results in a crash.

Started clean again, down to just basics:

C:\msys64\src\mame>make -j5

The same exact crash occurs:

=======================================================================================
Compiling src/devices/cpu/dspp/dspp.cpp...
Compiling src/devices/cpu/dspp/dsppdrc.cpp...
Compiling src/devices/cpu/dspp/dsppfe.cpp...
../../../../../src/devices/cpu/dspp/dspp.cpp: In member function 'int16_t dspp_device::decode_sqxd(int8_t, int16_t)':
../../../../../src/devices/cpu/dspp/dspp.cpp:1508:40: error: invalid operands of types '__gnu_cxx::__enable_if::__type {aka double}' and 'int' to binary 'operator<<'
int32_t expanded = (temp * abs(temp)) << 1;
~~~~~~~~~~~~~~~~~~~^~~~
Compiling src/devices/cpu/e0c6200/e0c6200.cpp...
optional.make:17048: recipe for target '../../../../mingw-gcc/obj/x64/Release/src/devices/cpu/dspp/dspp.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/src/devices/cpu/dspp/dspp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
makefile:94: recipe for target 'optional' failed
make[1]: *** [optional] Error 2
makefile:1051: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

[MINGW64] C:\msys64\src\mame>
=======================================================================================

For giggles, tried another clean start and utilized:

C:\msys64\src\mame>make -j5 NOWERROR=1 REGENIE=1

It still crashes.

Anyone else experiencing the same thing or similar? Is there a workaround or fix I am missing?



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4466
Loc: Melbourne, Australia
Send PM


Re: MAME 0.205 Src Compile Crash - dspp.cpp new [Re: Trebor]
#380406 - 12/29/18 03:22 PM


You're using a buggy version of glibstdc++ - update your build environment.



Trebor
MAME Fan
Reged: 01/18/05
Posts: 509
Send PM


Re: MAME 0.205 Src Compile Crash - dspp.cpp new [Re: Vas Crabb]
#380408 - 12/29/18 04:17 PM


> You're using a buggy version of glibstdc++ - update your build environment.

Thank you for the response.

I followed the commands as outlined @ https://www.mamedev.org/tools/ under the section "Updating build tools".

That incorporated leveraging, "...the batch file win32env.bat for regular windows console..."
&
"...from a regular Windows console run the following:

pacman -Sy
pacman -S bash pacman msys2-runtime --noconfirm --needed"


First command was a success (Though nothing to update):
=========================================================
[MINGW64] C:\msys64\src>pacman -Sy
:: Synchronizing package databases...
mingw32 is up to date
mingw64 is up to date
msys is up to date

[MINGW64] C:\msys64\src>
=========================================================

Second command was not successful:
=========================================================
[MINGW64] C:\msys64\src>pacman -S bash pacman msys2-runtime --noconfirm --needed
error: duplicated database entry 'bash'
error: duplicated database entry 'bash-completion'
error: duplicated database entry 'bsdcpio'
error: duplicated database entry 'bsdtar'
error: duplicated database entry 'coreutils'
error: duplicated database entry 'crypt'
error: duplicated database entry 'curl'
error: duplicated database entry 'curl'
error: duplicated database entry 'dash'
error: duplicated database entry 'doxygen'
error: duplicated database entry 'expat'
error: duplicated database entry 'file'
error: duplicated database entry 'filesystem'
error: duplicated database entry 'findutils'
error: duplicated database entry 'flex'
error: duplicated database entry 'gawk'
error: duplicated database entry 'gcc-libs'
error: duplicated database entry 'gettext'
error: duplicated database entry 'git'
error: duplicated database entry 'git'
error: duplicated database entry 'gmp'
error: duplicated database entry 'gnupg'
error: duplicated database entry 'grep'
error: duplicated database entry 'gzip'
error: duplicated database entry 'heimdal'
error: duplicated database entry 'heimdal'
error: duplicated database entry 'heimdal-libs'
error: duplicated database entry 'heimdal-libs'
error: duplicated database entry 'icu'
error: duplicated database entry 'info'
error: duplicated database entry 'libarchive'
error: duplicated database entry 'libasprintf'
error: duplicated database entry 'libcrypt'
error: duplicated database entry 'libcurl'
error: duplicated database entry 'libcurl'
error: duplicated database entry 'libedit'
error: duplicated database entry 'libexpat'
error: duplicated database entry 'libgettextpo'
error: duplicated database entry 'libgpg-error'
error: duplicated database entry 'libidn'
error: duplicated database entry 'libintl'
error: duplicated database entry 'liblzma'
error: duplicated database entry 'libnettle'
error: duplicated database entry 'libopenssl'
error: duplicated database entry 'libp11-kit'
error: duplicated database entry 'libpcre'
error: duplicated database entry 'libpcre'
error: duplicated database entry 'libpcre16'
error: duplicated database entry 'libpcre16'
error: duplicated database entry 'libpcre32'
error: duplicated database entry 'libpcre32'
error: duplicated database entry 'libpcrecpp'
error: duplicated database entry 'libpcrecpp'
error: duplicated database entry 'libpcreposix'
error: duplicated database entry 'libpcreposix'
error: duplicated database entry 'libsqlite'
error: duplicated database entry 'libssh2'
error: duplicated database entry 'libtasn1'
error: duplicated database entry 'm4'
error: duplicated database entry 'make'
error: duplicated database entry 'mingw-w64-x86_64-binutils'
error: duplicated database entry 'mingw-w64-x86_64-binutils'
error: duplicated database entry 'mingw-w64-x86_64-bzip2'
error: duplicated database entry 'mingw-w64-x86_64-cairo'
error: duplicated database entry 'mingw-w64-x86_64-crt-git'
error: duplicated database entry 'mingw-w64-x86_64-crt-git'
error: duplicated database entry 'mingw-w64-x86_64-expat'
error: duplicated database entry 'mingw-w64-x86_64-fontconfig'
error: duplicated database entry 'mingw-w64-x86_64-freetype'
error: duplicated database entry 'mingw-w64-x86_64-gcc'
error: duplicated database entry 'mingw-w64-x86_64-gcc'
error: duplicated database entry 'mingw-w64-x86_64-gcc-libs'
error: duplicated database entry 'mingw-w64-x86_64-gcc-libs'
error: duplicated database entry 'mingw-w64-x86_64-gdb'
error: duplicated database entry 'mingw-w64-x86_64-gdbm'
error: duplicated database entry 'mingw-w64-x86_64-gettext'
error: duplicated database entry 'mingw-w64-x86_64-glib2'
error: duplicated database entry 'mingw-w64-x86_64-gmp'
error: duplicated database entry 'mingw-w64-x86_64-harfbuzz'
error: duplicated database entry 'mingw-w64-x86_64-harfbuzz'
error: duplicated database entry 'mingw-w64-x86_64-headers-git'
error: duplicated database entry 'mingw-w64-x86_64-headers-git'
error: duplicated database entry 'mingw-w64-x86_64-isl'
error: duplicated database entry 'mingw-w64-x86_64-libffi'
error: duplicated database entry 'mingw-w64-x86_64-libiconv'
error: duplicated database entry 'mingw-w64-x86_64-libpng'
error: duplicated database entry 'mingw-w64-x86_64-libpng'
error: duplicated database entry 'mingw-w64-x86_64-libwinpthread-git'
error: duplicated database entry 'mingw-w64-x86_64-mpfr'
error: duplicated database entry 'mingw-w64-x86_64-ncurses'
error: duplicated database entry 'mingw-w64-x86_64-openssl'
error: duplicated database entry 'mingw-w64-x86_64-pixman'
error: duplicated database entry 'mingw-w64-x86_64-python2'
error: duplicated database entry 'mingw-w64-x86_64-python2'
error: duplicated database entry 'mingw-w64-x86_64-readline'
error: duplicated database entry 'mingw-w64-x86_64-SDL2'
error: duplicated database entry 'mingw-w64-x86_64-SDL2'
error: duplicated database entry 'mingw-w64-x86_64-SDL2_ttf'
error: duplicated database entry 'mingw-w64-x86_64-SDL2_ttf'
error: duplicated database entry 'mingw-w64-x86_64-tcl'
error: duplicated database entry 'mingw-w64-x86_64-tk'
error: duplicated database entry 'mingw-w64-x86_64-windows-default-manifest'
error: duplicated database entry 'mingw-w64-x86_64-winpthreads-git'
error: duplicated database entry 'mingw-w64-x86_64-zlib'
error: duplicated database entry 'mintty'
error: duplicated database entry 'mintty'
error: duplicated database entry 'mpfr'
error: duplicated database entry 'msys2-runtime'
error: duplicated database entry 'msys2-runtime'
error: duplicated database entry 'ncurses'
error: duplicated database entry 'openssh'
error: duplicated database entry 'openssh'
error: duplicated database entry 'openssl'
error: duplicated database entry 'p11-kit'
error: duplicated database entry 'pacman'
error: duplicated database entry 'pacman'
error: duplicated database entry 'pacman-mirrors'
error: duplicated database entry 'pcre'
error: duplicated database entry 'pcre'
error: duplicated database entry 'perl'
error: duplicated database entry 'perl-Net-SSLeay'
error: duplicated database entry 'rebase'
error: duplicated database entry 'vim'
error: duplicated database entry 'wget'
error: duplicated database entry 'wget'
error: duplicated database entry 'xz'
error: duplicated database entry 'zlib'
resolving dependencies...
looking for conflicting packages...
:: msys2-runtime and catgets are in conflict. Remove catgets? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: msys2-runtime and catgets are in conflict

[MINGW64] C:\msys64\src>
===================================================



cyberdman
MAME Fan
Reged: 03/04/06
Posts: 351
Send PM


Re: MAME 0.205 Src Compile Crash - dspp.cpp new [Re: Trebor]
#380467 - 12/31/18 05:37 PM


I had this problem as well while back.

Do this:


Code:

pacman -R catgets
pacman -R libcatgets


This will remove the catgets stuff because it isn't needed anymore as I understand. After that do your regular build tools updates and they should succeed.

More info Google: "msys2-runtime and catgets are in conflict"



cyberdman


Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 322 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 746