Change to DSO-linking semantics of the compiler

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Tue Jan 12 12:03:45 UTC 2010


Charley Wang <chwang at redhat.com> writes:

> https://fedoraproject.org/wiki/DSOLinkBugs
>
> Please note that many of the packages may be failing because of a few
> DSO's. Further exploration is needed to evaluate this possibility so
> we can apply one patch to the source of the problem instead of dozens
> of superfluous patches. We also need (and would appreciate help with)
> the linking of failed build logs to their package owners.

I have problems to understand the xmlrpc-c build failure

| /usr/bin/ld.bfd: xml-rpc-api2cpp.5842.test: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'

pthread_cancel() is not used by the program. I see it in the .plt section
only but not where it is referenced.

I would like to avoid blind '-lpthread' flags without knowing why they
are required.


Enrico


More information about the devel mailing list