[darcs-users] Re: problem building from tarball

Peter Simons simons at cryp.to
Sat Nov 15 18:09:50 UTC 2003


boris j writes:

 | ghc  -cpp  -O -funbox-strict-fields -package util -package text -fffi -c Autoconf.lhs
 | Prologue junk?: .globl __stginit_Autoconf
 |         .type   __stginit_Autoconf, at function
 | __stginit_Autoconf:
 |         pushl   %ebp
 |         movl    %esp, %ebp

Does your system have a GCC version, which is patched to add
stack protection code into the binaries automatically? Like
-fstack-protector? Because this looks like GCC is doing
something unexpected with the stack pointer, thus confusing
ghc. If that is the case, disable this functionality and try
again.

Alternatively, try building without optimization (remove the
"-O2" and "-O" from CFLAGS and GHCFLAGS in autoconf.mk);
that might help.

In any case, this seems to be a problem with the _compiler_
installation, not with darcs per se.

Peter




More information about the darcs-users mailing list