This is incorrect but very interesting. If this indeed helps then wrapping the syscall in brackets should help as well.

{
   r = syscall( SYS_futex, pValue, FUTEX_WAIT, newVal, 0, 0, 0 );
}

I can't reproduce the problem on Debian with gcc-5.3, so this may be a compiler quirk on RedHat. It wouldn't be the first time when xroot is affected by a broken compiler.


Reply to this email directly or view it on GitHub.



Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1