FS#71188 - [libretro-genesis-plus-gx] segfaults when compiled with -O2

Attached to Project: Community Packages
Opened by Kenneth MacRae (Doommsatic) - Tuesday, 08 June 2021, 23:24 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 14 January 2022, 17:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Attempting to open a rom after setting certain core options causes retoarch to crash with a segfault.
Upstream says that it's a bug with gcc and recommends building with -O0 until it's solved.

https://github.com/ekeeke/Genesis-Plus-GX/issues/275
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Friday, 14 January 2022, 17:42 GMT
Reason for closing:  No response
Comment by Maxime Gauduin (Alucryd) - Wednesday, 28 July 2021, 12:14 GMT
Does it still happen with 1786-1? If so I'll try using clang instead.
Comment by Kenneth MacRae (Doommsatic) - Wednesday, 28 July 2021, 12:46 GMT
It still happens using libretro-genesis-plus-gx-git yeah
Comment by Maxime Gauduin (Alucryd) - Wednesday, 28 July 2021, 15:33 GMT
Although there shouldn't be a difference (unless you have some specific flags locally), please try the one from our repos, the AUR is irrelevant here.
Comment by Kenneth MacRae (Doommsatic) - Monday, 02 August 2021, 13:50 GMT
Oh ok. The problem still happens with 1786-1 from the repos
Comment by Maxime Gauduin (Alucryd) - Friday, 06 August 2021, 15:24 GMT
Thanks. Could you give this package a try? https://files.alucryd.xyz/libretro-genesis-plus-gx-1788-2-x86_64.pkg.tar.zst
Built it with clang instead of GCC.

Loading...