
On 11/20/10, Kevin Arunski
On Nov 19, 2010, at 1:17 AM, Yan Wu wrote:
Hi,
I got an error when building OpenOffice.org on mipsel platform, the error is following:
Compiling: comphelper/source/misc/logging.cxx {standard input}: Assembler messages: {standard input}:101: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($4)' {standard input}:103: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($4)' {standard input}:141: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($4)' {standard input}:143: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($4)' dmake: Error code 1, while making '../../unxlngmips.pro/slo/ logging.obj'
The
, Boost_1_39_0, is used in the above logging.cxx. Is this a bug for the smart_ptr on mipsel platform ? I found there was a similar bug 2972(https://svn.boost.org/trac/boost/ticket/2972). But I notice that the fix for 2972 is not integrated to the current milestone yet. Right? Where can I find the fix for this bug ?
Best Regards, Yan _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
The ll and sc instructions are needed for atomic operations, and they are only present on mips2 or higher ISA. Pass -mips2 as a compiler flag to your build. This will allow gnu assembler to work with mips2 instructions.
Thanks Kevin. The compiling is successful by adding the option -mips2, but got a segment error when running the Office. I'm trying the other method by applying the patch Steve attached. It needs a while as the building usually takes about 2 days on my machine. Regards, Yan
KEVIN ARUNSKI _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users