Mangler problem building libraries/ with gcc 3.0.4

Nicholas Nethercote njn25 at cam.ac.uk
Fri Feb 22 06:41:58 EST 2002


Hi,

I tried building the standard library in libraries/ with gcc 3.0.4;  it
grinds to a halt at this point:

Data/Array/Base.hs:1162:
    Warning: foreign declaration uses deprecated non-standard syntax
ghc-asm: (mangler) still have jump involving %edi!
srRN_ret:
        movl    %esi, %eax
        andl    8(%ebp), %eax
        cmpl    4(%ebp), %eax
        setne   %al
        movzbl  %al, %edi
        addl    $12, %ebp
        movl    GHCziBase_Bool_closure_tbl(,%edi,4), %esi
        sall    $2, %edi
        negl    %edi
        jmp     *stg_upd_frame_info-16(%edi)

It builds fine with gcc 2.96.

I'm working from CVS HEAD, checked out on Tuesday Feb 12 2002, around
3:15pm.  But the mangler hasn't changed since then, so I guess the problem
still exists.

--
Nick Nethercote
njn25 at cam.ac.uk




More information about the Glasgow-haskell-bugs mailing list