From: pavenis AT lanet DOT lv To: Martin Str|mberg , djgpp-workers AT delorie DOT com Date: Sat, 5 May 2001 17:51:59 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: fil40s-beta2 Message-ID: <3AF43DBF.3490.578A31@localhost> In-reply-to: <200105051340.PAA04809@mother.ludd.luth.se> X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 5 May 2001, at 15:40, Martin Str|mberg wrote: > Hello. > > I tried to compile fileutils 4.0 beta 2 with my DJGPP libc (CVS plus > some updates). Unfortunately it hangs the DOZE box or reboots WINDOZE > after/while rm is compiled. (As this is very similar to what happened > with fileutils 3.16 I suspect it's something to do with symlinks.) > > In the file readme.dos it says it should be recompiled with DJGPP 2.04 > when it arrives. It would be good if it was possible to recompile with > DJGPP 2.04, in that case. > > So, Richard, have you tried to compile it with CVS sources of libc? > Were you successful? > > If you can't because you can't use CVS, I'm willing to .ZIP up my lib > and include directories for you if you want. > Tried: djdev CVS version (perhaps April 22, 2001) compiled with development version of gcc-3.0 (slightly patched to get it compile) gcc-3.0 20010503 used to configure and build fileutils Got the same crash in newly built rm.exe. Debugging with fsdb shows infinite recursion in _stat(): _stat() calls _lstat() from djutils.c which again calls _stat 00003098: _lstat, line 21 in file djutils.c 0000ec0d: _stat+45 0000ec0d: _stat+45 0000ec0d: _stat+45 0000ec0d: _stat+45 0000ec0d: _stat+45 0000ec0d: _stat+45 0000ec0d: _stat+45 00002fb9: _rm, line 872 in file remove.c 00001b4c: _main, line 213 in file rm.c 0000d86b: ___crt1_startup+203 000012b3: 0x12b3 Andris