Hi Caolan,

On 11/15/10, Caolán McNamara <caol...@redhat.com> wrote:
> On Mon, 2010-11-15 at 16:24 +0800, Yan Wu wrote:
>> /bin/bash: line 1: 26597 Bus error
>> LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/home/cs2c/wuyan/ooo_OOO330_m12_src/solver/330/unxlngmips.pro/lib
>> /home/cs2c/wuyan/ooo_OOO330_m12_src/solver/330/unxlngmips.pro/bin/uno
>> -ro uno_services.rdb -ro uno_types.rdb -s
>> com.sun.star.test.bridge.BridgeTest --
>> com.sun.star.test.bridge.CppTestObject
>> dmake:  Error code 138, while making 'runtest'
>
> This suggests that the uno bridge is flawed for mipsel, so it generally
> means that bridges/source/cpp_uno/gcc3_linux_mips isn't implemented
> correctly.
>
> That bridge is designed for mips32 classic o32 abi, so either you're
> compiling with a different ABI than that, or its just not implemented
> correctly, you'd need to narrow down the bridgetest to see what test is
> failing.
>
> http://wiki.services.openoffice.org/wiki/Lazy_Hackers_Guide_To_Porting
>
> might be of some use to you in that endeavour
>
> C.
>
>
I got a patch from the Boost user community to solve the problem as:
opcode not supported on this processor: mips1 (mips1) `ll $3,8($4)'',
opcode not supported on this processor: mips1 (mips1) `sc $2,8($4)'
when building comphelper and other modules, where
<boost/shared_ptr.hpp> are used. Boost in OOo has been updated from
1_34_1 to 1_39_0 since DEV300_m60, There was a bug for Boost 1_39_0 on
mips platform. It was reported on
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543975.

After applying the patch, which is attached in this mail, testtools
also passed and OOo could be started(Building comphelper and testtools
could pass by adding the gcc option -mips2 or -mips3, but a bus error
occurred when starting OOo on mips platform) .

Regards,
Yan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tools.openoffice.org
For additional commands, e-mail: dev-h...@tools.openoffice.org

Reply via email to