Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency detected #6

Open
rahulcogent opened this issue Aug 19, 2016 · 3 comments
Open

Inconsistency detected #6

rahulcogent opened this issue Aug 19, 2016 · 3 comments

Comments

@rahulcogent
Copy link

rahulcogent commented Aug 19, 2016

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!

@rahulcogent
Copy link
Author

It was due to some security permission, this error is resolved thanks.

@cmccabe
Copy link
Owner

cmccabe commented Aug 20, 2016

Interesting. Were you using SELinux?

@rahulcogent
Copy link
Author

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 <
notifications@github.com> wrote:

Interesting. Were you using SELinux?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#6 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AUEhpJ7al5EpJWzQb_WOrF-hrFKIpqZMks5qh0TQgaJpZM4Jouix
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants