bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GMP on OSX errors


From: glenbo
Subject: Re: GMP on OSX errors
Date: Tue, 19 Dec 2000 10:00:22 -0800 (PST)

well after running it with your suggestions below it changes the error
slightly
        tmp-add_n.s:64:Junk character -1 ().

hrm. Pine will not let me print the character that is problematic.
interesting.  The offending character is an upside down caret, like
SHIFT-6, but pointing down, and really small. I'm not even sure how to
type it. It's possible that that was the error all along and that it never
let me paste it into an email...

When I open up tmp-add_n.s there are about 30 blank lines before it shows
this:
        .text
        .align  2
        .globl  ___gmpn_add_n
        ___gmpn_add_n:
        mtctr   r6              
        addic   r0,r0,0         
        lwz     r8,0(r4)        
        lwz     r0,0(r5)        
        addi    r3,r3,-4        
        bdz     .Lend           
.Loop:  lwz     r9,4(r4)        
        lwz     r10,4(r5)       
        adde    r7,r0,r8        
        stw     r7,4(r3)        
        bdz     .Lexit          
        lwzu    r8,8(r4)        
        lwzu    r0,8(r5)        
        adde    r7,r10,r9       
        stwu    r7,8(r3)        
        bdnz    .Loop           

.Lend:  adde    r7,r0,r8
        stw     r7,4(r3)        
        li      r3,0            
        addze   r3,r3           
        blr
.Lexit: adde    r7,r10,r9
        stw     r7,8(r3)
        li      r3,0            
        addze   r3,r3           
        blr

        ^

I replaced the offending character with a caret.

--glen

01100111 01101100 01100101
01101110 01100010 01101111


On 19 Dec 2000, Kevin Ryde wrote:

> glenbo <address@hidden> writes:
> >
> >     tmp-add_n.s:64:Junk character -1 ().
> >     make[3]: *** [add_n.lo] Error 1
> 
> What is the offending line?  Does it actually have some strange
> character?
> 
> > configure:1418: checking for cc
> > configure:1498: checking if the C compiler (cc) works with flags -g
> > configure:1508: cc -o conftest -g   conftest.c  1>&5
> > configure:1868: checking whether the C compiler (cc -g  ) works
> > configure:1884: cc -o conftest -g   conftest.c  1>&5
> 
> Hmm.  GMP doesn't think you've got gcc because it's installed as cc.
> Try configuring from clean sources with
> 
>         ./configure CFLAGS="-g -O2 -mpowerpc"
> 
> (and deleting the regmap.m4 like you did before).  -mpowerpc might
> pass some options to the assembler (if it's not already the default).
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]