This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] testsuite/ext cleanups
Andrew Pinski wrote:
> On Oct 24, 2004, at 1:58 PM, Aaron W. LaFramboise wrote:
>
>>This breaks i686-pc-mingw32 bootstrap.
>>
>>testsuite/testsuite_abi.h includes <ext/hash_map>, and the command line
>>for testsuite/testsuite_abi.cc specifies "-I.", so GCC incorrectly
>>attempts to include testsuite/ext/hash_map, which is the new directory,
>>which obviously won't work.
>
> If this is a native one there was bug about this, this is most likely a
> bug in mingw32 code, it is returning "Permission denied" when it should
> have returned a different error message.
Oh, well, I found the linked bug
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11242>, which has a patch.
However, as reiserfs has a similar problem, and no doubt future
filesystems and implemenations may have similar problems, it seems like
a good idea to NOT rely on the behavior that un-openable files (whether
they're directories, or something else) will be discarded and the search
will continue. I think its a good thing for GCC to have as few
assumptions about the nature of the filesystem as possible. That means
the build process should eliminate cases where this sort of confusion
might occur.
In the meantime, maybe it would be good to apply Danny Smith's patch.
It might cause less suprising behavior; but I don't think fixes of that
nature should be considered a general solution to this problem.
Aaron W. LaFramboise