Follow-up Comment #8, sr #111069 (group libtool):

Thanks for the discussion.

If you could modify this patch to include a linker version check that should
be sufficient. I do not think a feature test is necessary since the behaviour
seems rigidly defined between linker versions, and these fixup chains are only
implemented for the macOS linker.

[comment #7 comment #7:]
> [comment #6 comment #6:]
> > It would be better to understand whether what libtool is doing is
incompatible with chained fixups, and if so, fix that so that it works with
chained fixups.
> libtool passes `-undefined dynamic_lookup` to the linker, which is
incompatible with chained fixups.

It seems like fixup chains are already disabled by default since `-undefined
dynamic_lookup` is always passed. Accepting this patch with a linker test
should result in no new regressions to Libtool and the removal of the warnings
for certain macOS versions.

[comment #7 comment #7:]
> Though, if the idea is to keep chained fixups, then libtool must stop
passing
> `-undefined dynamic_lookup` to the linker. This has the possibility of
> producing undesirable consequences for many downstream projects, however.

Unfortunately I do not know what the downstream consequences would be, so
Libtool will keep `-undefined dynamic_lookup` for now and continue to disable
fixup chains. If someone could characterise the consequences for removing
`-undefined dynamic_lookup, this could be revisited.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111069>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to