Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up32-bit file size problem #86
Comments
ogham
self-assigned this
Nov 8, 2015
This comment has been minimized.
This comment has been minimized.
|
I need to get my hands on an ARM platform for testing these things! The |
MagaTailor
changed the title
32-bit file size problem (arm)
32-bit file size problem
Nov 8, 2015
This comment has been minimized.
This comment has been minimized.
|
I'm getting the same error on 32-bit x86. So it's not arm specific at all. |
This comment has been minimized.
This comment has been minimized.
|
Judging from the error, the returned BTW, maybe these compiler warnings are related? (coming from x86, rustc 1.5 nightly)
It looks like something that might fit the description. |
This comment has been minimized.
This comment has been minimized.
|
I set up a 32-bit Ubuntu VM and am able to reproduce the "Value too large for defined data type" error. However, I got no compiler warnings. |
This comment has been minimized.
This comment has been minimized.
|
You were right! It was a temporary variable: |
This comment has been minimized.
This comment has been minimized.
|
Cool, thx! About the warnings; never mind, that's just probably libstd from 1.5 coupled with the updated libc crate. |
This comment has been minimized.
This comment has been minimized.
|
Unfortunately, even after fixing that temporary variable, the problem persists. What’s worse, it’s a Rust problem, rather than an exa problem. Even this program prints out
The error isn’t being thrown in exa’s code, it’s in the actual Some digging brought up this thread on Large File Support from last month (which I really wished I’d seen before, as it has almost my exact same test case failing). I can fix the variable in exa but it will still be stuck on this case until that gets implemented. :( |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cuviper
commented
Nov 25, 2015
|
You could work around this by using |
This comment has been minimized.
This comment has been minimized.
|
I've just confirmed the relevant changes do work as expected: $ ./exa -l bigfile
.rw-r--r-- 3,4G guest 15 Feb 3:58 bigfile |
MagaTailor commentedNov 7, 2015
It seems anything over 2G causes an error:
Sparse files trigger the error as well.