RE: still has jump to fast entry point (ghc-5)

2005-11-25 Thread Simon Marlow
On 24 November 2005 17:02, Malcolm Wallace wrote:

 I know this will be going back a bit, but I have a problem with
 compiling some code with ghc-5.04.3.  The same code goes through
 ghc-6.2 with no problems, and until recently there were no problems
 with ghc-5.04.3 either.  But a recent code change has caused the
 following warning messages from ghc-5.04.3:
 
 still has jump to fast entry point:
 r4HK_entry:
   leal12(%ebp), %eax
   cmpl84(%ebx), %eax
   jbe .L55
   movl$r4HK_closure, %esi
   movl-4(%ebx), %eax
 .L56:
   jmp *%eax
 .L55:
   movl4(%ebp), %esi
   addl$12, %ebp
   movl$r4HK_fast2, %eax
   jmp .L56
 
 There are about 350kb of very similar messages:
 
 still has jump to fast entry point:
 r3R_entry:
 still has jump to fast entry point:
 s4K3_entry:
 
 and so on.
 
 Does anyone have any idea what these mean, and how I might go about
 fixing them?  Although they are only warnings, I'd like my software
 to continue to be portable to older versions of ghc if possible.

It probably means you have a more recent version of gcc than was
available when 5.04.3 was released, and the mangler doesn't like its
output.  Either, downgrade your gcc (or specify a different gcc with
-pgmc), or use the later GHC.

Cheers,
Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


still has jump to fast entry point (ghc-5)

2005-11-24 Thread Malcolm Wallace
I know this will be going back a bit, but I have a problem with
compiling some code with ghc-5.04.3.  The same code goes through
ghc-6.2 with no problems, and until recently there were no problems
with ghc-5.04.3 either.  But a recent code change has caused the
following warning messages from ghc-5.04.3:

still has jump to fast entry point:
r4HK_entry:
leal12(%ebp), %eax
cmpl84(%ebx), %eax
jbe .L55
movl$r4HK_closure, %esi
movl-4(%ebx), %eax
.L56:
jmp *%eax
.L55:
movl4(%ebp), %esi
addl$12, %ebp
movl$r4HK_fast2, %eax
jmp .L56

There are about 350kb of very similar messages:

still has jump to fast entry point:
r3R_entry:
still has jump to fast entry point:
s4K3_entry:

and so on.

Does anyone have any idea what these mean, and how I might go about
fixing them?  Although they are only warnings, I'd like my software
to continue to be portable to older versions of ghc if possible.

Regards,
Malcolm
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users