Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#71673 - [meson] Consider adding -Db_ndebug=true to arch-meson
Attached to Project:
Arch Linux
Opened by Jan (medhefgo) - Saturday, 31 July 2021, 13:01 GMT
Last edited by Toolybird (Toolybird) - Monday, 25 September 2023, 04:10 GMT
Opened by Jan (medhefgo) - Saturday, 31 July 2021, 13:01 GMT
Last edited by Toolybird (Toolybird) - Monday, 25 September 2023, 04:10 GMT
|
DetailsWithout -Db_ndebug=true or -Db_ndebug=if-release, many meson projects are build without NDEBUG, which results in assert() getting into production/release builds.
|
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 25 September 2023, 04:10 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments from PM. Also, to address 1 of the comments, Arch now does provide debug pkgs.
Monday, 25 September 2023, 04:10 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments from PM. Also, to address 1 of the comments, Arch now does provide debug pkgs.
arch-meson adverts itself as "Highly opinionated wrapper for Arch Linux packaging". Currently it enables features like lto but can't disable asserts in release builds? Why is that?
BTW: meson has b_ndebug=if-release which I think would suit better.