[xsde-users] XSDE Error while compiling the VxWorks project.

N. Rajesh rajesh.n at thalesgroup.com
Tue Oct 29 07:26:06 EDT 2024


Classified as: {THALES GROUP LIMITED DISTRIBUTION}

Hello,

I am from Trixell project, Thales India PVT LTD. We are using xsde to generate source code from xml files in our software.
This xsde is used in VxWorks 7 platform for ARMv8A and our software uses LLVM as toolchain. So, the VxWorks Windriver Workbench uses ldarm64 tool for linking and generate the VxWorks image output.
When I build the software project in windriver workbench I face below errors,

C:/WindRiver/compilers/llvm-16.0.0.1/WIN64/bin/ldarm64: C:/rajesh_workspace/PLE64BIT/Gen3EmbeddedSoftware/VSB_ARMARCH8Allvm_LP64_LARGE_SMP/Gen3EmbeddedSoftware_partialImage/NonDebug/Gen3EmbeddedSoftware_partialImage.o: in function `xsde::cxx::parser::parser_base::_pre_impl(xsde::cxx::parser::context&)':
(.text+0x1df214): undefined reference to `__assert'
(.text+0x1df214): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__assert'
C:/WindRiver/compilers/llvm-16.0.0.1/WIN64/bin/ldarm64: C:/rajesh_workspace/PLE64BIT/Gen3EmbeddedSoftware/VSB_ARMARCH8Allvm_LP64_LARGE_SMP/Gen3EmbeddedSoftware_partialImage/NonDebug/Gen3EmbeddedSoftware_partialImage.o: in function `xsde::cxx::parser::expat::document_pimpl::parse_begin(XML_ParserStruct*)':
(.text+0x1dfd34): undefined reference to `__assert'
(.text+0x1dfd34): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__assert'
C:/WindRiver/compilers/llvm-16.0.0.1/WIN64/bin/ldarm64: C:/rajesh_workspace/PLE64BIT/Gen3EmbeddedSoftware/VSB_ARMARCH8Allvm_LP64_LARGE_SMP/Gen3EmbeddedSoftware_partialImage/NonDebug/Gen3EmbeddedSoftware_partialImage.o:(.text+0x1dffa8): more undefined references to `__assert' follow
C:/rajesh_workspace/PLE64BIT/Gen3EmbeddedSoftware/VSB_ARMARCH8Allvm_LP64_LARGE_SMP/Gen3EmbeddedSoftware_partialImage/NonDebug/Gen3EmbeddedSoftware_partialImage.o: in function `xsde::cxx::parser::expat::document_pimpl::clear()':
(.text+0x1dffa8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__assert'

We have the libxsde.a file which was built long back around 10 years ago*. The xsde version is xsde-3.0.0-i686-windows and we generate "libxsde.a" as output when build for VxWorks.
After having a discussion with my team, I got to know that the build configurations for xsde specific to trixell project is provided by CodeSynthesis. Could you have a look and help me to solve this issue?

Please let me know if any more information is needed.

Thanks & Regards,
Rajesh N

[B521763]<https://www.thalesgroup.com/en/countries/asia-pacific/india>



TRIXELL

ECC, Bengaluru





{THALES GROUP LIMITED DISTRIBUTION}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3105 bytes
Desc: image001.png
Url : https://codesynthesis.com/pipermail/xsde-users/attachments/20241029/1a2c9c0b/image001.png


More information about the xsde-users mailing list