On Thu, 2019-08-01 at 14:28 -0400, Steven A. Falco wrote:
The upstream KiCAD project has requested that I remove
GLIBCXX_ASSERTIONS from the Fedora package, as described here:
https://bugs.launchpad.net/kicad/+bug/1838448
What is the best way to do that? I can add "%undefine
_hardened_build" (which I am testing now) but I think that will
remove other hardening features that I might want to leave enabled.
The best way is "Do not do that".
These flags are finding *actual* bugs in the program (out of bound
errors). Upstream should find out what is causing those and fix the
source of the bug, not hide it (it may cause memory corruption or worse
down the road).
Simo.
--
Simo Sorce
RHEL Crypto Team
Red Hat, Inc