undefined references in ppc64 libc.so

Alan Modra amodra at bigpond.net.au
Fri Dec 13 13:21:27 EST 2002


On Thu, Dec 12, 2002 at 04:57:33PM -0800, John Kwan wrote:
> It seems that symbols in the .opd segment are exported but those
> in .text segment are not.

This is likely a symptom of version scripts hiding symbols.  Two fixes
are available.  The older one modifies glibc/scripts/versions.awk to
add the dotted symbols to generated version scripts (look for the var
"dotsyms" in versions.awk).  The newer one puts the intelligence in
the linker itself.  Does ld --help show information about "--dotsyms"?
If not, you ought to upgrade your linker.  I recommend the latest
CVS binutils source be used for ppc64.

--
Alan Modra
IBM OzLabs - Linux Technology Centre

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list