[Debian-med-packaging] Trying to disable error=format-security for clapack

Danny Edel debian at danny-edel.de
Mon May 16 14:30:23 UTC 2016


On 05/16/2016 01:50 PM, Danny Edel wrote:
> If you change it to "const char* const", the compiler is assured it's
> never going to point to anything else and does not emit the warning.

Sorry for replying to my own email, but after compiling, the test suite
crashed on the xeigtstz_* with Segmentation Fault errors.

I debugged this a little bit and the reason was these tests use a lot of
local (i.e. stack) variables -- so many in fact that they trigger a
stack overflow on entry.

Disabling stack size limit (mine was 8192 KB) with
  ulimit -s unlimited
before calling dpkg-buildpackage fixed things for me.

I hope this avoids someone the half hour I spent in gdb searching for a
bug that probably isn't there.

- Danny

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160516/d7f96687/attachment.sig>


More information about the Debian-med-packaging mailing list