-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ABI=32 on 64-bit system missing -D__USE_FILE_OFFSET64 (?) #971
Comments
@markuspf thanks for digging this out. Do you know why it did not happen on Jenkins slaves which we have used before? |
I'd have to look more in detail, but it'll have something to do with the filesystem having 64bit inode numbers, or something to a similar effect. |
Do @fingolfin or @ChrisJefferson have any opinion (or better knowledge) on this? |
We have a new Jenkins slave in St Andrews which has this problem and throws test failure notifications every evening in the worst possible way: GAP can not be loaded in this configuration at all because GAPDoc package can not be loaded:
|
I think the correct way to do this is to #define While I could add it (it needs to be added to Oh, and this of course should then also go into the new build syste,. |
I have a system here that I can test this on. I think I can give you access to it if you're willing to tunnel your ssh through one of {yin,babbage,lovelace}, I'd need a ssh pubkey from you for that. |
Can this be closed, now that #1033 has been merged? |
Great - Jenkins tests now do not trip over this problem. Thanks! |
@markuspf shall we fix this in stable-4.8 branch too? I am testing GAP 4.8.7 release candidate, and its shows up there on the same Jenkins slave. Alternatively, I can just disable testing 32-bit builds on that slave until GAP 4.9 will be out - perhaps nobody builds GAP in 32-bit mode on relatively modern 64-bit machines, otherwise we would hear about such problems already. |
Ok, cherry picking works - should be fixed in GAP 4.8.7 then. |
Configuring and compiling GAP as follows on a 64 bit system
yields a runnable executable, but sometimes GAP does not start complaining that it cannot find GAPDoc (even though this is installed, because the directory has a 64 bit ino for instance).
I traced this down to a call to
stat
insrc/sysfiles.c:3756
, it errors witherrno
set to 75 (value too large for datatype). This can be addressed by compiling GAP with-D__USE_FILE_OFFSET64
where available.In a PR I will fix the functions
FuncIsDirectoryPath
andSyIsDirectoryPath
to properly deal with failures anderrno
, to returnfail
instead offalse
.The text was updated successfully, but these errors were encountered: