Mail Archives: djgpp-workers/2001/05/05/10:53:10
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
- Raw text -