← Back to team overview

kicad-developers team mailing list archive

Re: 5.1.5 release status

 

It looks like the build flags for KiCad are not getting NDEBUG defined to
remove the assertions. We should add -DNDEBUG to the flags passed into
CMake alongside the Debian flags.

-Ian

On Wed, Oct 23, 2019 at 6:38 AM Carsten Schoenert <c.schoenert@xxxxxxxxxxx>
wrote:

> Hello Seth,
>
> Am 22.10.19 um 18:10 schrieb Seth Hillbrand:
> > Why do you have "hardening=+all" enabled?
>
> mostly because this is the default for building binary packages with
> enabled hardening.
>
> https://wiki.debian.org/Hardening#Using_Hardening_Options
>
> > This is likely where the assertions are happening.  We might consider
> >  "hardening=-all,+format,+fortify"
> I'm not that deep into the details here or at least would need to keep
> reading some stuff. But as far I've understand the hardening flags
> should have no effect on this.
>
> Maybe Simon can give some enlightenment on this?
>
> --
> Regards
> Carsten Schoenert
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References