I am compiling a program that runs on linux x86 for the Zedboard using the Xilinx xtoolchain. I can compile fine, but when I go to run, I get this runtime error.
Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps: Assertion `nlist > 1' failed!
Now, I have done my research and this is a bug found in the libc-2.13.so version; however, when i crossed compiled a similar program i saw this error, but i was able to resolve it without ever upgrading the libc version. Unfortunately, I can't recall how i resolved it the first time, but that is a past issue.
I am still seeing it on my new program and i can't seem to figure out a fix. My program compiles six .so libraries as well as the executable. I have debugged my program to find out that it is throwing this error when it is issuing the system call dlopen().
I actually have tried compiling a new libc version (2.18) and was able to successfully cross compile it for the zed, however, the library is 9MB and that is way to large for the Zedboard. My other thought was to try a eglibc version hoping it will produce a smaller binary, but now that i know it is crashing on the dlopen system call, I am wondering if this sheds any light on the underlying issue.
Does it have to do with a compile flag? Has this issue been seen elsewhere with the zedboard. I am looking for any thoughts, advice, or helpful hints to resolve it. This is a huge critical issue for me and i can use all the help i can get.
All google searches haven't turned up anything useful. I am hoping that i am not the first to see this and there is a solution already presented.