help needed to find a bug in zorba (or gcc 4.9)

Martin Gieseking martin.gieseking at uos.de
Tue Jun 10 12:38:08 UTC 2014


Am 10.06.2014 14:24, schrieb Petr Spacek:
> On 10.6.2014 14:16, Martin Gieseking wrote:
>> The problem is that the package fails to build with gcc 4.9.0 (all archs)
>> because the generated zorba binary segfaults for some queries due to
>> accessing
>> already freed memory. The issue only occurs with optimized builds
>> (-O1, -O2,
>> -O3) using gcc 4.9.0. With gcc 4.8.x the binary and thus the whole
>> package
>> build and work correctly. Therefore, it might also be possible that
>> there's a
>> bug in gcc's optimizer, but I'm not sure.


> Does it happen if you compile it *with* -fno-delete-null-pointer-checks
> switch?
>
> That one caused a lot of grief with BIND 9.


Yes, unfortunately, it does. I just rebuilt zorba with the suggested 
option but still get a buggy binary that segfaults while building the 
package.

Martin


More information about the devel mailing list