This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Duplicate data objects in shared libraries
"H . J . Lu" <hjl@lucon.org> writes:
> I took a look. When I move C.so in front of A.so in the scope of A.so
> if C.so is on the DT_NEEDED list of A.so and is loaded in memory
> already, this will work. However, there are a few testcases in
> glibc which assume otherwise. I can't make both to work at the same
> time. Does anyone have some ideas?
Can you report what those test cases are, and judge whether they are
"reasonable"?
Regards,
Martin