Displacement Relocation Warnings - what do they mean?
By user12613883 on Oct 13, 2006
There have been a couple postings recently regarding relocation
warnings that have been observed when using the link-editors
-z verbose option. The first warning originates from
building a shared object:
ld: warning: relocation warning: R_SPARC_DISP32: file shared.o: \\ symbol <unknown>: displacement relocation applied to the \\ symbol __RTTI__1nEBase_: at 0x8: displacement relocation will \\ not be visible in output image
Then, if this shared object is referenced as a dependency when building a dynamic executable, another warning can be generated:
ld: warning: relocation warning: R_SPARC_COPY: file shared.so: \\ symbol xxxx: may contain displacement relocation
You have to be a little relocation savvy to understand these scenarios - they make my head hurt. Investigations are underway to determine why these warnings are starting to surface.
Technorati Tag: OpenSolaris
Technorati Tag: Solaris