Re: [PATCH] rust-cross-canadian: Fix for the linker issues caused by using the shell

Sundeep KOKKONDA
2022-09-05T07:12:41Z

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

Hello Richard,

Using CC args causing linker error " unknown executable format " so I called linker directly.
Also, I wrote my initial code without any hardcoded symbols and that test code works in my local machine but when the same code executed in Yocto build environment SIGSEGV faults are reported. And to debug the issue in Yocto build environment the printf/echo outputs are not shown in console/log file. So, I modified my code to check whether this solution works in AB machine or not.

Can you let me know what is the error in AB machine with unsetenv("LD_LIBRARY_PATH"); ? Is it the same relocation error?

Thanks,
Sundeep K.

[-- Attachment #2: Type: text/html, Size: 754 bytes --]