Segmentation Fault

Noah n_mccalment at hotmail.com
Tue Jul 3 10:39:34 CDT 2001


James Juran wrote:

> Noah wrote:
> >
> > During the compile of Wine, everything goes smoothly until I hit
> > ntdll.spec.  As soon as it enters the directory ntdll, it segfaults.
> > Here's the full text of the error (we'll start at the point it enters
> > the ntdll directory):
> >
> > make[2]: Entering directory '/root/wine/dlls/ntdll'
> > LD_LIBRARY_PATH="../../unicode:$LD_LIBRARY_PATH"
> > ../../tools/winebuild/winebuild -fPIC -L../../dlls -o ntdll.spec.c -spec
> > ./ntdll.spec
> > make[2]: *** [ntdll.spec.c] Segmentation fault (core dumped)
> > make[2]: Leaving directory '/root/wine/dlls/ntdll'
> > make[1]: *** [ntdll/libntdll.so] Error 2
> > make[1]: Leaving directory '/root/wine/dlls'
> > make: [dlls] Error 2
>
> Hmm, it seems that it is winebuild which is segfaulting here, not gcc.
>
> Could you try 'make distclean' in the top-level Wine directory, and then
> try compiling again?
>
> If you get the same error, try to get a backtrace by doing:
>
> cd dlls/ntdll
> gdb ../../tools/winebuild/winebuild core
> bt
>
> and post the output?
>
> --
> James Juran
> jamesjuran at alumni.psu.edu

Strange...that appears to have done it, although every other time I tried
"make distclean" it didn't help at all.
Maybe it was that I upgraded gcc, cpp, and binutils all at the same time...?
Who knows?  Thanks a lot for
helping.




More information about the wine-users mailing list