On Fri, Sep 16, 2016 at 3:38 PM, Bob Friesenhahn
> On Fri, 16 Sep 2016, László Böszörményi wrote:
>> On Fri, Sep 16, 2016 at 11:56 AM, Niko Tyni <nt...@debian.org> wrote:
>>> I've bisected it to
>>> Use clock_gettime() to obtain elapsed time.
>> Indeed, confirmed that reverting this commit fixed the compilation on
>> Thanks for your work, I was too slow doing it. :(
> This is all very strange. I am not seeing a problem with the source code.
> I thought that the crash was happening at line 301 of log.c (at
> LockSemaphoreInfo()), and the first use of the timer APIs is at line 318 of
> log.c so this new code should not even be invoked yet.
GCC generate bad assembly code on ppc64el for your code, not because
your source has any problem.
> Are you able to easily change the optimization of semaphore.c or log.c
> (maybe by injecting an optimization pragma into the code)?
Yes, just done. Tested on ppc64el, now it compiles correctly.
Currently testing on amd64 and uploading the fixed package version