x-files must die: generate *config.h from the Makefile, etc
Graham Stott
grahams@redhat.com
Thu Mar 22 11:38:00 GMT 2001
"Kaveh R. Ghazi" wrote:
>
> > 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.
The strace log showed it was a close(1) system call that was triggering
the message.
>
> Hmm, that rings a bell, some distant memory of a shell bug... Try
> changing the line to:
>
> exec >& /dev/null
>
> Does that help?
Yes that eliminates the messages.
>
> > What system is this, and can you trace mv or rm and see which system
> > call is failing?
> > zw
Standard RH 7.0 using "GNU bash, version 2.04.11(1)-release (i386-redhat-linux-gnu)"
> Yes, what platform? By any chance, is your build directory is NFS
> mounted?
No everything is build on a local disk.
>
> --Kaveh
> --
> Kaveh R. Ghazi Engagement Manager / Project Services
> ghazi@caip.rutgers.edu Qwest Internet Solutions
I forgot to mention this doesn't prevent bootstrapping its just another
Zack if you want the strace logs I can send them privately.
Graham
More information about the Gcc-patches
mailing list