Re: building problem on Alpha platform

Yan Wu <[email protected]> Fri, 3 Dec 2010 10:25:43 +0800
Newsgroups gmane.comp.openoffice.devel.tools
Message-ID <[email protected]>
Hi Caolan,

On 11/26/10, Caol=E1n McNamara <[email protected]> wrote:
> On Fri, 2010-11-26 at 15:08 +0800, Yan Wu wrote:
>> Hi,
>>
>> I got a error when building testtools on Alpha EV6 platform as following=
:
>>
>> /bin/bash: line 1: 15238 Segmentation error
>> LD_LIBRARY_PATH=3D${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/home/office/ooo=
_OOO330_m12_src/solver/330/unxlngaxp.pro/lib
>> /home/office/ooo_OOO330_m12_src/solver/330/unxlngaxp.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 139, while making 'runtest'
>
> This does rather suggest in that case that the Alpha uno bridge isn't
> quite correct. I only ever built the alpha port once on a truly ancient
> Alpha XL 233 I have here.
>
> So, maybe flushCode in
> bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx is incorrect. I only
> googled for flushing the instruction cache on alpha and stuck that in.
> Maybe something more is needed.
>
> Could be anything else of course. So you really need to narrow down
> which test of the BridgeTest is failing.
> http://wiki.services.openoffice.org/wiki/Lazy_Hackers_Guide_To_Porting
> Might help you there.
>
> Of course it might not even be the Uno Bridge, you need to debug to find
> out more.
Building of testtools passed and OOo could run successfully after
modifying the codeSnippet according this machine's instruction manual.
Thanks very much for your help.

>
> C.
Regards,
Yan