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