<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - IGT command line tools load redundant GUI libraries"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110249#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - IGT command line tools load redundant GUI libraries"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110249">bug 110249</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>Some food for thought:
The old autotools build did not have this problem since it:
- was creating a static libigt library
- yet ^^ would lead to slightly longer build times and overall larger bundle
- ^^ would only pull the required dependencies into the linking process
For reference:
$ objdump -x /usr/bin/intel_gpu_top | grep -w NEEDED
NEEDED libpthread.so.0
NEEDED libc.so.6
If it were me I would:
- static link
- drop all the extra rpath from the meson build
- if size is an issue - enable LTO</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>