help needed to find a bug in zorba (or gcc 4.9)
martin.gieseking at uos.de
Tue Jun 10 12:16:26 UTC 2014
I've tried to fix the broken zorba package in rawhide for a couple of
weeks now but, unfortunately, without much success. The upstream
developers don't seem to be able to find the cause for the issue either.
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.
valgrind and gcc's address sanitizer report the code sections where the
error occurs but when stepping through them with a debugger, I'm unable
to understand what's actually going on there. It looks as if the
affected code should work properly. So I got stuck now.
It would be great if someone could help to track down the issue in order
to keep the package available in Fedora.
Here is the latest SRPM:
The corresponding bug tickets can be found here:
More information about the devel