[m-dev.] Re: Building Mercury in i386

Paul Bone pbone at csse.unimelb.edu.au
Thu Jul 21 17:18:48 AEST 2011


On Fri, Jul 01, 2011 at 12:55:19AM +1000, Paul Bone wrote:
> 
> Hi Guys.
> 
> Has anyone built Mercury on i386 lately.  I'm building on an i386 Debian squeeze system..  I get this:
> 
> ../scripts/mgnuc --grade asm_fast.gc        --      -c ml_backend.ml_closure_gen.c -o ml_backend.ml_closure_gen.o
> ml_backend.ml_closure_gen.c: In function 'ml_backend__ml_closure_gen_module11':
> ml_backend.ml_closure_gen.c:2985: error: unable to find a register to spill in class 'DIREG'
> ml_backend.ml_closure_gen.c:2985: error: this is the insn:
> (insn 123 122 124 11 ml_backend.ml_closure_gen.c:2860 (parallel [
>             (set (mem:SI (reg/f:SI 136) [0 S4 A32])
>                 (reg/v:SI 1 dx [orig:80 MR_tempr3 ] [80]))
>             (set (reg/v:SI 82 [ MR_tempr1 ])
>                 (plus:SI (reg/f:SI 136)
>                     (const_int 4 [0x4])))
>         ]) 852 {*strsetsi_1} (expr_list:REG_DEAD (reg/f:SI 136)
>         (nil)))
> ml_backend.ml_closure_gen.c:2985: confused by earlier errors, bailing out
> Preprocessed source stored into /tmp/cckqSgyE.out file, please attach this to your bugreport.
> 
> This is ROTD 2011-06-23, I'm using gcc (Debian 4.4.5-8) 4.4.5
> 
> This is probably relevent for the release.
> 

I noticed another problem:

../scripts/mgnuc --grade asm_fast.gc        --      -c erl_backend.elds_to_erlang.c -o erl_backend.elds_to_erlang.o
erl_backend.elds_to_erlang.c: In function ‘erl_backend__elds_to_erlang_module12’:
erl_backend.elds_to_erlang.c:2640: warning: this decimal constant is unsigned only in ISO C90
erl_backend.elds_to_erlang.c: In function ‘erl_backend__elds_to_erlang_module16’:
erl_backend.elds_to_erlang.c:3487: warning: this decimal constant is unsigned only in ISO C90

../scripts/mgnuc --grade asm_fast.gc        --      -c libs.pickle.c -o libs.pickle.o
libs.pickle.c: In function ‘libs__pickle_module16’:
libs.pickle.c:2009: warning: this decimal constant is unsigned only in ISO C90
libs.pickle.c:2009: warning: this decimal constant is unsigned only in ISO C90

These are just warnings but may be important.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/developers/attachments/20110721/8b1aa744/attachment.sig>


More information about the developers mailing list