[PATCH xserver] os,dix: relocate when without dtrace

Mihail Konev k.mvc at ya.ru
Sat Feb 18 08:24:19 UTC 2017


On Mon, Feb 13, 2017 at 11:01:39PM -0800, Alan Coopersmith wrote:
> > On 02/ 9/17 09:47 PM, Mihail Konev wrote:
> >> Libtool was moving the *.O libraries in front of all others on
> >> the gcc command line, which was necessiating "ld -r"
> >> (so that symbols from now-moved os.O are visible from the following
> >> libs), which, in turn, was altering the linker behaviour against os/
> >> and dix/ between with-/usr/bin/dtrace and --with-dtrace=no builds.
> 
> ld -r was used not because of libtool, but because the dtrace data in the
> ELF files gets properly included in a relocatable object, but not a static
> library.  (This is probably because of a misuse of ELF by dtrace, but that's
> the way it works, and has for over a decade.)
> 

Then rather than "Fixes:", it should be

  Updates: 49a26681 ("Add DTrace probe points")


Mihail


More information about the xorg-devel mailing list