Port-mips archive

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

Re: pkgsrc build error for g95



On Feb 20, 2011, at 4:29 PM, Andy Ruhl wrote:

> Hello,
> 
> I'm trying to build some stuff from pkgsrc-current on my 5.1 stable
> Cobalt machine, and this error seems to be stopping me for a lot of
> stuff:
> 
> gcc -DHAVE_CONFIG_H -I.     -D_FILE_OFFSET_BITS=64 -DHAVE_REAL_10=0
> -fPIC -g -O2 -MT mutex.o -MD -MP -MF .deps/mutex.Tpo -c -o mutex.o
> `test -f 'runtime/mutex.c' || echo './'`runtime/mutex.c
> /var/tmp//cchepj54.s: Assembler messages:
> /var/tmp//cchepj54.s:30: Error: opcode not supported on this
> processor: mips1 (mips1) `ll $5,0($4)'
> /var/tmp//cchepj54.s:32: Error: opcode not supported on this
> processor: mips1 (mips1) `sc $6,0($4)'
> gmake[1]: *** [mutex.o] Error 1
> gmake[1]: Leaving directory `/usr/pkgsrc/lang/g95/work/g95-0.92/libf95.a-0.92'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> I opened a pr for this, pkg/44547
> 
> Just wondering if anyone else has run into this.

mips1 doesn't support the ll/sc instructions.  

I would switch it to use the libc mutex stubs.


Home | Main Index | Thread Index | Old Index