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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to