FS#75569 - [musescore] Build does not define Release mode correctly
Attached to Project:
Community Packages
Opened by Jonathan (jonata) - Tuesday, 09 August 2022, 20:06 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 10 August 2022, 02:12 GMT
Opened by Jonathan (jonata) - Tuesday, 09 August 2022, 20:06 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 10 August 2022, 02:12 GMT
|
Details
Description:
Build does not disable debug asserts that crash the program. Additional info: * package version(s) - 3.6.2 After opening an issue at musescore bug tracker - it seems that the problem was with my build. Even though it is defined to use Release mode - it doesn't disable the asserts that crash the program. https://musescore.org/en/node/332925#comment-1131561 I think they might have changed the build system and the PKGBUILD need to be updated but I'm not sure. Steps to reproduce: (see in the link above) |
This task depends upon
Closed by Toolybird (Toolybird)
Wednesday, 10 August 2022, 02:12 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#75358
Wednesday, 10 August 2022, 02:12 GMT
Reason for closing: Duplicate
Additional comments about closing:
From the current PKGBUILD pkgver=3.6.2 pkgrel=7 from src/build/global/CMakeFiles/global.dir/flags.make
CXX_FLAGS = -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -fPIC -O2 -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT
Which includes -DNDEBUG used to disable the assert macro.