[oe] Missing GLIBC_<version> tags on binaries

Phil Blundell philb at gnu.org
Fri Feb 25 21:34:54 UTC 2011


On Fri, 2011-02-25 at 20:58 +0000, Otavio Salvador wrote:
> On Fri, Feb 25, 2011 at 20:40, Phil Blundell <philb at gnu.org> wrote:
> > On Fri, 2011-02-25 at 20:14 +0000, Otavio Salvador wrote:
> >> It fails at runtime. The application I am compiling is freerdp and
> >> sem_ symbols are not versioned, dunno why.
> >
> > Do you mean that the symbols aren't versioned at all, or that they are
> > versioned but your libc.so.6 doesn't provide the versions that the
> > binary is expecting?  If the latter, what versions does it have?
> 
> The binary lacks version for sem_post, for example. objdump -T show
> the undefined symbol without the GLIBC_2.1 version. This happens only
> with the sem_ methods.

Is it actually including -lpthread during final link?  Failing to do
that is the most obvious reason for not getting the right version
information.

p.






More information about the Openembedded-devel mailing list