nacl and large inodes

Elan Ruusamäe glen at pld-linux.org
Tue Jan 1 17:46:57 CET 2013


On 01/01/13 18:38, Paweł Sikora wrote:
> On Tuesday 01 of January 2013 18:24:03 Elan Ruusamäe wrote:
>> hi
>>
>> does somebody home with gcc internals want to take look is it pld
>> problem, is it fixable, that x86_64-nacl-gcc on i686 fails if files,
>> dirs are with inode > 2GiB?
> works for me for dir/file with inode > 2G.
yeah, apparently you used "fixed" gcc, as i already figured out file 
offset bits helps here
http://git.pld-linux.org/?p=packages/crossnacl-gcc.git;a=commitdiff;h=fb2c96aee82a5e62c7301c23d2eb0b9a28e198ea

$ l -i /usr/x86_64-nacl/include/sys/config.h
4295227912 -rw-r--r-- 1 root root 6.1K nov   11 20:35 
/usr/x86_64-nacl/include/sys/config.h
$ x86_64-nacl-gcc -include  /usr/x86_64-nacl/include/sys/config.h -c a.c
cc1: error: /usr/x86_64-nacl/include/sys/config.h: Value too large for 
defined data type


$ LC_ALL=C q crossnacl-gcc -qi
crossnacl-gcc-4.4.3-8.git455063d.i686
Name        : crossnacl-gcc                Relocations: (not relocatable)
Version     : 4.4.3                             Vendor: pld
Release     : 8.git455063d                  Build Date: Tue Jan  1 
18:35:22 2013

$ x86_64-nacl-gcc -include  /usr/x86_64-nacl/include/sys/config.h -c a.c



> [pluto at carme-pld-i686 ~]$ x86_64-nacl-gcc -c ~/GNUstep/a.c -I ~/GNUstep && echo ok
> ok
>


-- 
glen



More information about the pld-devel-en mailing list