bug#72613: Lack of fast-install on Linux proves painful w/ LTO
Sam James <[email protected]> Wed, 14 Aug 2024 04:18:04 +0100
| Newsgroups | gmane.comp.gnu.libtool.bugs |
|---|---|
| Organization | Gentoo |
| Message-ID | <[email protected]> |
Hi! At the moment, it looks like fast-install is disabled on Linux: # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no ... # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes This is particularly painful when using LTO, as you end up with a pretty time-consuming relink for something which is in theory avoidable. (I've tried to follow the logic through but failed. It's not clear to me why Linux needs this opt-out. I'm sure there *is* a reason, I just can't spot it yet.) thanks, sam
signature.asc
(application/pgp-signature, 377 B)
-----BEGIN PGP SIGNATURE----- iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZrwh7V8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv by5vcmcACgkQc4QJ9SDfkZC7fAEA0f/qLpJwzok2ZPhNsTceI/Za04Wgf0rQvdAO x75hK6IA/3BML0d5OhCmEC25ltXIius5H9lM3/k9o4AIRKr7tA4K =fERG -----END PGP SIGNATURE-----