Weird behavior when using "-I" with gcc-2.95.2
Fontenot Larry A DLVA
Thu Apr 27 13:37:00 GMT 2000
Here are the strace outputs. h_strace.txt was compiled on my h:\ drive and
it worked. i_strace.txt was compiled on the UNIX via SunLink server and it
failed. Note line numbers i_strace.txt:1114 and h_strace.txt:1124. This is
where the first discrepancy is between the two runs. It appears the errno
is BAD_PATHNAME, in the broken version, versus PATH_NOT_FOUND, in the
By the way, I downloaded a trial version of Omni NFS Client Lite, and
mounted the I:\ drive using NFS instead. That also clears the problem right
From: Mumit Khan [SMTP:khan@NanoTech.Wisc.EDU]
Sent: Thursday, April 27, 2000 2:10 PM
To: Fontenot Larry A DLVA
Subject: RE: Weird behavior when using "-I" with gcc-2.95.2
On Thu, 27 Apr 2000, Fontenot Larry A DLVA wrote:
> Well that was very interesting. Everything compiles just fine on
> hard disk when using the "-I ./". So then I tried my H:\ drive.
That is a
> drive I have mapped from a WinNT server. Once again, everything
> fine. So then I went to my I:\ drive, which is a Sun Solaris file
> using SunLink software to emulate a WinNT server. That is when I
> having problems. Apparently, gcc is seeing something differently
> compiling on my I:\ drive. Should I try to use strace at this
point to find
> out what the difference might be?
Normally I'd blame inode generation on remote drives, but that's not
since I've turned off inode based path lookup optimization in gcc.
It does look like a problem with Cygwin interaction with SunLink (I
nothing of this software). Now that we know where the problem lies,
should try to isolate it by writing the shortest possible testcase.
a problem with `stat' on SunLink server?
I suppose the strace output may be a good place to start. It's going
large, so do compress the output using gzip before posting.
Cygwin gurus can take over and solve this mystery.
I'm gone till early next week, so can't be of any help till then.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 69216 bytes
Desc: not available
More information about the Cygwin