dladdr problem from yesterday's call

"Wichmann, Mats D" <[email protected]>
Newsgroups gmane.linux.lsb.specification
Message-ID <A06801158AE07847B27A52C1A074BC1D0794792F@fmsmsx404.amr.corp.intel.com>
This is the dladdr issue that was alluded to
on yesterday's call.

This is http://bugs.linuxbase.org/show_bug.cgi?id=772

Some architectures use an indirect function
pointer scheme, taking the address of a function
returns the address of a structure which contains
the address of the function and a gp offset.

On IA64, dladdr used to return the address of
the function found, now it returns an fptr.

There was no symbol-version change around this
code change, which could be kind of surprising
to apps depending on the behavior of dladdr.
We have such an app (lsblibchk) so we care,
but nobody else seems to think this is a big
deal, it's being regarded as a bug fix only.

This particular issue isn't really an LSB issue,
it just happens to hit us: the tool behaves
differently on Debian and RHEL4 versions of ia64,
which are using different generations of glibc.

Again, this is ia64-only.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.