bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22843] Provide dependency information from the linker similar to


From: jpakkane at gmail dot com
Subject: [Bug ld/22843] Provide dependency information from the linker similar to the compiler
Date: Mon, 12 Mar 2018 21:24:27 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22843

--- Comment #4 from jpakkane at gmail dot com ---
There is an extra twist for this. In Meson (and also in buildsystems of Chrome
and Libreoffice) we use the symbol list to skip relinks. That is, if the list
of exported symbols for a given shared library has not changed, we skip
relinking dependent targets that are not out-of-date due to some other reason
(such as headers changing).

If we add direct dependencies to the .so files via this dependency file, this
optimization no longer works. It would be nice if the solution to this problem
could be made to work together with this.

The code that does this extraction for Meson is here:
https://github.com/mesonbuild/meson/blob/master/mesonbuild/scripts/symbolextractor.py

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]