You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Link error with apple-clang and gfortran: ld: -lto_library library filename must be 'libLTO.dylib' #5473
package-id: com.apple.pkg.CLTools_Executables
version: 16.4.0.0.1.1747106510
volume: /
location: /
install-time: 1753176345
```.
In addition, I don't see `INTERPROCEDURAL_OPTIMIZATION` in any of the CMake files, so this problem doesn't exist under CMake builds.
Guess Apple may not have updated the "legacy" x86_64 XCode to the same "version 26" codebase ? And the difference with respect to CMake might be that the Makefiles default to -O2, while CMake uses -O3 for "Release" builds by default
Would be my guess. x86_64 macos is not long for this world.
CMake defaults to CMAKE_INTERPROCEDURAL_OPTIMIZATION=FALSE afaik. You have to opt in. Since there is no opt in, it isn't run, and thus no issue in this case
Activity
martin-frbg commentedon Sep 29, 2025
Guess Apple may not have updated the "legacy" x86_64 XCode to the same "version 26" codebase ? And the difference with respect to CMake might be that the Makefiles default to
-O2, while CMake uses-O3for "Release" builds by defaultChrismarsh commentedon Sep 29, 2025
Would be my guess. x86_64 macos is not long for this world.
CMake defaults to
CMAKE_INTERPROCEDURAL_OPTIMIZATION=FALSEafaik. You have to opt in. Since there is no opt in, it isn't run, and thus no issue in this case