rversteegen left a comment (ohrrpgce/ohrrpgce#1300)

Doesn't seem to be due to backporting. The problem is in eu.a.

glibc_compat.c states:
```
// stat64/etc used to be #defined in sys/stat.h as calls to __xstat64/etc; glibc
// 2.33 replaced with actual functions such as stat64.

#ifdef _STAT_VER
// Compiling on an system with pre-glibc-2.33 headers. Don't have to do 
anything:
// should be no calls to stat64().
```

I ran `objdump -t eu.a` on euphoria 4.0.3 and 4.1.0 32/64-bit and found that 
they do contain stat64() calls... even though that function didn't even exist 
when they were compiled!
Then I examined the nightly build of hspeak with 4.2.0 from a few days ago, it 
calls stat64(), not __xstat64(). ohrrpgce-game and ohrrpgce-custom call 
__xstat64() as expected.

I have no idea what the cause is, but I have modified glibc_compat.c to provide 
__wrap_stat64 unconditionally, should work everywhere now.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1300#issuecomment-4158774316
You are receiving this because you are subscribed to this thread.

Message ID: <ohrrpgce/ohrrpgce/issues/1300/[email protected]>
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to