Gisle Sælensminde <Gisle.Salensminde@...> writes:
> I can confirm this, and is basicly what prevents me from using sbcl on
> x86. It works on x86-64 and it also works on other 32-bit unixiods
> (freebsd etc) as far as I understand. If you can use cmucl, that also
> works with files > 2GB. When I asked on this mailinglist earlier I got
> one reply saying that it was "basicly a no-go", implying that it is
> probably relatively hard to fix this problem.
Not quite a no-go, but a bit tricky. A nice summary is here:
The way I would go about solving this would be to use the largefile
versions in SBCL iff :largefile is in *features*, and document the
fact that on Linux SBCL uses the 64bit versions.
Passing fd's (and stat structs, etc) back and forth with foreign code
is not commonplace, but by no means unheard of: #+largefile should probably
not be the default in order to avoid silent corruption.
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."