DescriptionTeach sandboxed GCC not to rely on inode numbers.
Inside the NaCl sandbox all inode numbers for files and directories are
identical (because the least common denominator, Windows, does not have them).
If GCC treats include directories (passed with -I) with identical inodes as
identical directories. GCC then is free to skip looking into some directories
for header files as an optimization. NaCl inodes are all identical, which makes
GCC to only look into a single directory. Before we learn to emulate inode
numbers on Windows, the sandboxed GCC would just not use this optimization.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=1362
TEST=none
Committed: http://git.chromium.org/gitweb/?p=nacl-gcc.git;a=commit;h=22a67af
Patch Set 1 #Patch Set 2 : emailed to reviewers #Patch Set 3 : . #Patch Set 4 : . #Patch Set 5 : added TODO, fixed commenting style #Patch Set 6 : rebased on top of master #Messages
Total messages: 5 (0 generated)
|