David LIBAULT wrote:
Hi,

I have cross-built mozilla-1.7.3 with the following mipsel-linux toolchain :

        - binutils-2.13.2.1
        - gcc-3.2.2
        - glibc-2.2.5

The XPT test program fails on the target :

# TestXPTCInvoke
calling direct:
        1 + 1 = 2
        1L + 1L = 2
        2 * 2 = 4
        2L * 2L = 4
        1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55
        1 + 2 = 3.000000f
        1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55.000000
        1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55.000000f
        1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16
 + 17 + 18 + 19 + 20 = 210.000000f
        1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55
        1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55
        1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 = 66.000000
        moo cow = milk
calling via invoke:
Segmentation fault (core dumped)

Can someone help me finding where to start to fix this ?

Thanks,

Regards,

David.
_______________________________________________
mozilla-builds mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-builds

-------------------------------------------------------


I would start here:

http://www.mozilla.org/scriptable/xptcall-faq.html

It sounds like the mipsel xptcall code is broken. I don't know enough about mipsel to tell if you if it can simply share an existing xptcall port (http://lxr.mozilla.org/seamonkey/source/xpcom/reflect/xptcall/status.html).

I hope this helps.  Let me know if you have any other questions.

Doug
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to