[oe-commits] Nathan Lynch : as-needed.inc: add babeltrace exception

git at git.openembedded.org git at git.openembedded.org
Mon Sep 14 19:46:55 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: d3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae

Author: Nathan Lynch <nathan_lynch at mentor.com>
Date:   Fri Sep 11 19:02:50 2015 -0500

as-needed.inc: add babeltrace exception

The babeltrace command has plugins which it specifies in its link step
but on which (in the linker's view) it does not depend, so --as-needed
causes some of them to be omitted from the executable's dependencies.
This prevents babeltrace on OE-built systems from handling
streaming/live tracing sessions.

Babeltrace's makefiles already try to prevent this by using
--no-as-needed, but --as-needed gets placed afterward in the command
line, so it wins.

Signed-off-by: Nathan Lynch <nathan_lynch at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/distro/include/as-needed.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/as-needed.inc b/meta/conf/distro/include/as-needed.inc
index 9d2056e..4f249fd 100644
--- a/meta/conf/distro/include/as-needed.inc
+++ b/meta/conf/distro/include/as-needed.inc
@@ -1,6 +1,7 @@
 
 ASNEEDED = "-Wl,--as-needed"
 
+ASNEEDED_pn-babeltrace = ""
 ASNEEDED_pn-console-tools = ""
 ASNEEDED_pn-distcc = ""
 ASNEEDED_pn-openobex = ""



More information about the Openembedded-commits mailing list