You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cross-compiled the library for ARM, but when I tried to use it, I got the below error. I checked with readelf and the library is correctly compiled for platform.
LKSMITH_LOG=syslog LD_PRELOAD=/usr/lib/liblksmith.so /usr/local/tests/picviewer
ERROR: ld.so: object '/usr/lib/liblksmith.so' from LD_PRELOAD cannot be preloaded: ignored.
Inconsistency detected by ld.so: rtld.c: 756: init_tls: Assertion `i == _rtld_local._dl_tls_max_dtv_idx' failed!
Would you happen to know the cause of the issue.
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for replying, that issue is resolved it was due to app signing
enforced on platform (I am now using the dev version of platform with no
app signing). However, after I cross compiled for arm using CC and LDFLAGS
environment variables, the code keeps crashing on first mutex get call in
get_or_create_tls() function call. Have you tried cross compiling the tool
earlier, or is there anything else also needed.
Thanks.
On Sat, Aug 20, 2016 at 11:17 AM, Colin Patrick McCabe < [email protected]> wrote:
Hi,
I cross-compiled the library for ARM, but when I tried to use it, I got the below error. I checked with readelf and the library is correctly compiled for platform.
LKSMITH_LOG=syslog LD_PRELOAD=/usr/lib/liblksmith.so /usr/local/tests/picviewer
ERROR: ld.so: object '/usr/lib/liblksmith.so' from LD_PRELOAD cannot be preloaded: ignored.
Inconsistency detected by ld.so: rtld.c: 756: init_tls: Assertion `i == _rtld_local._dl_tls_max_dtv_idx' failed!
Would you happen to know the cause of the issue.
Thanks!
The text was updated successfully, but these errors were encountered: