ld64: macOS LTO doesn’t get linked #120

Closed
opened 2022-03-18 10:52:13 -05:00 by Gcenx · 0 comments
Gcenx commented 2022-03-18 10:52:13 -05:00 (Migrated from github.com)

When compiling ld64 doesn’t have an install name for liblto.dylib after doing some digging I did the following change github.com/Gcenx/cctools-port@83269d6b8f

After this (and regenerating Makefile.in) ld64 compiled and does contain an libLTO install name of @rpath/libLTO.1.dylib and there’s a correctly configured path to said dylib.

When compiling ld64 doesn’t have an install name for liblto.dylib after doing some digging I did the following change https://github.com/Gcenx/cctools-port/commit/83269d6b8fc72806a3a8e643a98d5104989e4f76 After this (and regenerating Makefile.in) ld64 compiled and does contain an libLTO install name of `@rpath/libLTO.1.dylib` and there’s a correctly configured path to said dylib.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miles/cctools-port#120
No description provided.