[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to disable error=format-security for clapack



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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: