Who is using "-Bsymbolic-functions" for their packages?

Friedrich W. H. Kossebau kossebau at kde.org
Mon May 27 23:40:54 UTC 2013


Am Donnerstag, 23. Mai 2013, 19:55:43 schrieb Kevin Kofler:
> Hi,
> 
> On Thursday 23 May 2013 at 17:51:02, Friedrich W. H. Kossebau wrote:
> > in a discussion about a crash fix patch the opinion was uttered that the
> > linker flag "-Bsymbolic-functions" should not be used, because it might
> > change the symbol-lookup behaviour in a way that developers do not expect.
> > See https://git.reviewboard.kde.org/r/110563/ ("Crash fix: hide symbols
> > from static lib QtUitools.a (generically by new macro
> > KDE4_HIDE_SYMBOLS_FROM_STATIC_LIBS)")

No other packagers are using -Bsymbolic-functions?

> [...]
> 
> > In any case,
> > take this also as note that currently there is a problem with QtUitools.a
> > being linked into shared libs with all symbols exported (and thus clashing
> > if that way ending multiple times loaded into the same process), you
> > better
> > do whatever patch to hide those symbols, and not only in kdelibs.
> 
> How about we start shipping a shared QtUitools instead? I really don't see
> the point of having this be a static library (in fact, I have been
> advocating forcing it to be shared in Fedora, so far without success), it
> only causes problems and does not seem to have any practical benefits (also
> considering that the rest of Qt is shared).

"We" = ? KDE? You mean, we should create a libkuitools.so and simply wrap the 
problem? Hm, could be a solution indeed.

Cheers
Friedrich


More information about the release-team mailing list