[MacPorts] #59983: ld64-latest at 274.2_2+llvm80+universal-llvm34 :dyld: Symbol not found: _lto_module_is_thinlto
MacPorts
noreply at macports.org
Sun Jan 19 18:36:21 UTC 2020
#59983: ld64-latest at 274.2_2+llvm80+universal-llvm34 :dyld: Symbol not found:
_lto_module_is_thinlto
---------------------+----------------------
Reporter: kencu | Owner: kencu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: ld64 |
---------------------+----------------------
Comment (by kencu):
what I'm describing above is specifically not supposed to happen, and is
supposed to be fixed up by this block in the portfile:
{{{
post-destroot {
# ${prefix}/bin/ld will always use the llvm we built against
# ${prefix}/libexec/ld64/ld uses relative linking for use with the
llvm ports
file mkdir ${destroot}${prefix}/libexec/ld64
file copy ${destroot}${prefix}/bin/ld
${destroot}${prefix}/libexec/ld64/ld-${ld64_ver}
file rename ${destroot}${prefix}/bin/dyldinfo
${destroot}${prefix}/bin/dyldinfo-${ld64_ver}
file rename ${destroot}${prefix}/bin/ld
${destroot}${prefix}/bin/ld-${ld64_ver}
file rename ${destroot}${prefix}/bin/machocheck
${destroot}${prefix}/bin/machocheck-${ld64_ver}
file rename ${destroot}${prefix}/bin/ObjectDump
${destroot}${prefix}/bin/ObjectDump-${ld64_ver}
file rename ${destroot}${prefix}/bin/rebase
${destroot}${prefix}/bin/rebase-${ld64_ver}
file rename ${destroot}${prefix}/bin/unwinddump
${destroot}${prefix}/bin/unwinddump-${ld64_ver}
delete {*}[glob ${destroot}${prefix}/share/man/man1/*]
if {${llvm_version} != ""} {
system "install_name_tool -change
${prefix}/libexec/llvm-${llvm_version}/lib/libLTO.dylib \
@executable_path/../lib/libLTO.dylib
${destroot}${prefix}/libexec/ld64/ld-${ld64_ver}"
system "install_name_tool -change @rpath/libLTO.dylib \
@executable_path/../lib/libLTO.dylib
${destroot}${prefix}/libexec/ld64/ld-${ld64_ver}"
}
}
}}}
I will have to see why that doesn't appear to have happened. Perhaps just
a rebuild of `ld64-latest` might fix it up for me...
--
Ticket URL: <https://trac.macports.org/ticket/59983#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list