This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: x-files must die: generate *config.h from the Makefile, etc
- To: grahams at redhat dot com, zackw at Stanford dot EDU
- Subject: Re: x-files must die: generate *config.h from the Makefile, etc
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Wed, 21 Mar 2001 22:23:11 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org
> On Wed, Mar 21, 2001 at 03:30:58PM +0000, Graham Stott wrote:
> > Zack
> >
> > On the trunk when ever your new mkconfig.sh script gets executed
> > I see one of the following messages.
> >
> > "mv: write error: Bad file descriptor"
> > "rm: write error: Bad file descriptor"
> >
> > I think it's because $output.T is still open when this bit of
> > the script get executed.
>
> It's not supposed to be; the line immediately above
>
> exec >&-
>
> is supposed to close it.
Hmm, that rings a bell, some distant memory of a shell bug... Try
changing the line to:
exec >& /dev/null
Does that help?
> What system is this, and can you trace mv or rm and see which system
> call is failing?
> zw
Yes, what platform? By any chance, is your build directory is NFS
mounted?
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions