FS#73202 - MAME doesn't support building with assertions, causes the emulator to crash

Attached to Project: Arch Linux
Opened by Mike Swanson (chungy) - Thursday, 30 December 2021, 18:56 GMT
Last edited by Antonio Rojas (arojas) - Monday, 03 January 2022, 22:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: MAME does not support iterator debugging, and the default "-D_GLIBCXX_ASSERTIONS" in the makepkg.conf CXXFLAGS causes the emulator to crash at various points, such as trying to search for a game.

The package already defines a custom CXXFLAGS, appending "-U_GLIBCXX_ASSERTIONS" should be enough to resolve the issue.

Additional info:
* package version(s): 0.239-1

Steps to reproduce:
1. Run mame 0.239-1
2. type to search for a game
3. watch it crash
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 03 January 2022, 22:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  mame 0.239-2
Comment by Mike Swanson (chungy) - Thursday, 30 December 2021, 19:27 GMT
`_FORTIFY_SOURCE` also needs to be undefined.

Loading...