[erlang-bugs] R16A : 2 issues in WX driver compilation
PAILLEAU Eric
eric.pailleau@REDACTED
Wed Feb 20 21:06:43 CET 2013
Le 20/02/2013 02:05, Jani Hakala a écrit :
> PAILLEAU Eric <eric.pailleau@REDACTED> writes:
>
>> #) Now R16A :
>> WX is OK but compilation fails on :
>> obj/i686-pc-linux-gnu/opt/smp/unix_efile.o: In function `efile_fallocate':
>> /home/eric/otp_src_R16A/erts/emulator/drivers/unix/unix_efile.c:1013:
>> undefined reference to `fallocate64'
>>
> This might be caused by an old version of libc.
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568924
>
> "fallocate64() is missing in libc 2.10"
hello,
yes Jani, I know this.
But for some reasons I need to keep this one.
So I used gcc flag overriding
export CPPFLAGS=-D_FILE_OFFSET_BITS=32
I'm in a situation where I have to choose between R15B03 with WX
or R16 without WX.
But maybe a fix will be found soon ? :) .
I suppose there is some needs on some system to limit
the fallocate to a 32 bit offset ...
regards
More information about the erlang-bugs
mailing list