Segmentation Fault

James Juran jamesjuran at
Tue Jul 3 00:53:09 CDT 2001

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'
> ../../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/] 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

and post the output?

James Juran
jamesjuran at

More information about the wine-users mailing list