[xsde-users] Cross-compilation libxsde for PPC under vxWorks

Jaws jaws75 at tiscali.it
Tue May 4 04:02:52 EDT 2010


I resolved the issues!!.

Thanks for your support.

Jaws ha scritto:
>    The hardware FP unit is not enabled. It is enabled only  the
>    soft-float.
>    The xml schema use xs:decimal and xs:double type.
>    I rebuild the runtime library with the -g option and without any
>    optimization.
>    This is the stack trace of the error:
>    fp unavailable
>    Exception current instruction address: 0x018a9a34
>    Fixed Point Register: 0x69734d6c
>    Condition Register: 0x44004084
>    Fp Control and Status Register: 0x73655265
>    19b200 vxTaskEntry    +5c : ed580 ()
>     ed630 shell          +b4 : ed2c0 ()
>     ed3f8 execute        +26c: execute ()
>     ed2a0 execute        +114: yyparse ()
>     fff30 yyparse        +c94: fe2ec ()
>     fe444 yystart        +d98: db_test(const char *) ()
>    e970c4 db_test(const char *)+10 : loadxmlFile(const char *) ()
>    e973b4 loadxmlFile(const char *)+2b8:
>    xsde::cxx::parser::expat::document_pimpl (2d87af0, 2d87b80, 1000, 0)
>    18a2ce0 xsde::cxx::parser::expat::document_pimpl+148: XML_Parse
>    (a53e640, 2d87b80, 1000, 0)
>    18a9128 XML_Parse      +230: XML_ParseBuffer (a53e640, 1000, 0)
>    18a9274 XML_ParseBuffer+124: 18ae628 (a53e640, a545400, a546400,
>    a53e658)
>    18ae698 XML_GetFeatureList+46a0: 18aed78 (a53e640, a545400, a546400,
>    a53e658)
>    18aee1c XML_GetFeatureList+4e24: 18aee3c (a53e640, 1d34ed4, a545400,
>    a546400, 1d, a545400, a53e658)
>    18af8b0 XML_GetFeatureList+58b8: 18aa1d8 (a53e640, a545400, a546400,
>    a53e658)
>    18aa23c XML_GetFeatureList+244: 18aa7bc (a53e640, 0, 1d34ed4, a545400,
>    a546400, a53e658)
>    18ab1a4 XML_GetFeatureList+11ac:
>    xsde::cxx::parser::expat::document_pimpl (2d87af0, a5c2bc0, a53e1b0)
>    18a3178 xsde::cxx::parser::expat::document_pimpl+38 :
>    xsde::cxx::parser::expat::document_pimpl (2d87af0, a5c2bc0, a53e1b0)
>    18a325c xsde::cxx::parser::expat::document_pimpl+34 :
>    XML_GetParsingStatus (a53e640, 2d877a8)
>    Another strange thing is: if I try to build the application code
>    without the optimization my linkcheck returns an error like this:
>      _ZnwjPv undefined
>    If I build the application code to test the xml part with at least -O1
>    the undefined symbol disappear.
>    Any suggestion is welcome.
>    Thanks
>    Boris Kolpackov ha scritto:
>
> Hi,
>
> Jaws [1]<jaws75 at tiscali.it> writes:
>
>
>
>    i resolved the issue related the compilation/link adding the option
>    -fno-rtti -O2.
>    Now I have a problem on the target. I have created an example that read an
>    xml file make the parsing and generate some messages.
>    Everithing works on Linux , but When I try to run on the target (PPC860
>    with vxWorks) from the command on the shell, I have received the following
>    error:
>
>    fp unavailable
>    Machine Status Register: 0x00009032
>    Data Access Register: 0xeeeeeeee
>    Condition Register: 0x42004024
>    Fp Control and Status Register: 0xeeeeeeee
>
>
> Could it be that your target does not support floating point operations?
> There are a few built-in XML Schema types that are mapped to types that
> require this support. These types are: xs:float, xs:double, xs:decimal,
> xs:time, xs:dateTime, and xs:duration. Can you check if your schema uses
> any of these types?
>
> Also, the stack trace you provided is not very helpful because the
> program is compiled with optimization. Can you recompile everything
> with -g instead of -O2 and show the resulting stack trace?
>
> Boris
>
> References
>
>    1. mailto:jaws75 at tiscali.it
>
>   



More information about the xsde-users mailing list