This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: x-files must die: generate *config.h from the Makefile, etc


 > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]