Ryan Lortie 7563ab4734 build: simplify dtrace configuration
The ability to pass libtool via $(CC) to dtrace and have it respect this
appears to be a feature that is only present in the systemtap version of
the tool.  In particular, FreeBSD (which seems to be using a copy of the
tool from Solaris) doesn't support this.

The result is that, with $(CC) ignored, and a .lo file specified in -o,
we get an ELF written to the .lo.

Instead of trying to have dtrace run libtool we can have libtool run
dtrace.  dtrace is really just a compiler that produces an object file
here, and it even understands -o, so libtool can make the appropriate
adjustments.

There appears to be some prior art for this approach.  A quick search
shows that at least QEMU is using this approach.  It also appears to
work on Linux with systemtap's dtrace and on FreeBSD.

This may regress cross-compilation because the dtrace command will have
no way of knowing which compiler we intend for it to use to produce the
object file.  I say "may" because I don't know if dtrace ever worked in
the first place under cross-compilation.

https://bugzilla.gnome.org/show_bug.cgi?id=725902
2016-06-20 12:35:47 -04:00
..
2014-01-31 14:31:55 +01:00
2011-06-12 16:17:30 -04:00
2014-02-01 20:46:29 -05:00
2015-09-21 06:44:58 -04:00
2015-06-29 08:20:26 -07:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2013-11-20 09:16:16 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-06-04 20:38:33 +02:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-04-07 08:43:24 -05:00
2014-01-31 14:31:55 +01:00
2016-06-04 20:38:33 +02:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-04-16 16:20:46 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2015-09-07 09:50:41 -04:00
2014-05-09 18:47:42 +02:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2015-11-02 20:03:38 +02:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-02-24 11:27:09 +01:00
2014-01-31 14:31:55 +01:00
2016-04-11 23:31:38 -04:00
2016-04-11 23:31:38 -04:00
2014-01-31 14:31:55 +01:00
2015-10-04 10:24:06 -04:00
2016-05-09 15:55:53 +03:00
2015-01-14 16:21:00 +01:00
2014-01-31 14:31:55 +01:00
2016-06-04 20:38:33 +02:00
2016-04-11 23:31:38 -04:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-01-11 09:33:32 +00:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2015-10-04 10:24:06 -04:00
2015-10-04 10:24:06 -04:00
2014-01-31 14:31:55 +01:00
2014-06-28 12:49:38 -04:00
2014-02-19 19:41:52 -05:00
2015-10-04 10:24:06 -04:00
2014-01-31 14:31:55 +01:00
2016-06-04 20:38:33 +02:00
2016-04-27 13:17:27 +00:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-04 11:56:06 +00:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-03-15 11:14:57 +01:00