[MacPorts] #60397: ld64-127 install fails at applying patch stage on Tiger
MacPorts
noreply at macports.org
Sun May 24 14:04:39 UTC 2020
#60397: ld64-127 install fails at applying patch stage on Tiger
------------------------------+----------------------
Reporter: programmingkidx | Owner: kencu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: tiger
Port: ld64-127 |
------------------------------+----------------------
Comment (by programmingkidx):
I tried your fix to build ld64-127 on Mac OS 10.4. I could not make it
work. It reported missing symbols:
:info:build /usr/bin/ld: Undefined symbols:
:info:build _backtrace
:info:build _lto_codegen_add_module
:info:build _lto_codegen_add_must_preserve_symbol
:info:build _lto_codegen_compile
:info:build _lto_codegen_create
:info:build _lto_codegen_debug_options
:info:build _lto_codegen_set_assembler_path
:info:build _lto_codegen_set_pic_model
:info:build _lto_codegen_write_merged_modules
:info:build _lto_get_error_message
:info:build _lto_get_version
:info:build _lto_module_create_from_memory
:info:build _lto_module_dispose
:info:build _lto_module_get_num_symbols
:info:build _lto_module_get_symbol_attribute
:info:build _lto_module_get_symbol_name
:info:build _lto_module_is_object_file_in_memory_for_target
:info:build collect2: ld returned 1 exit status
There was a missing header file called llvm-c/lto.h that I was able to
find online and install on my system. On Leopard it is found here:
/opt/local/libexec/llvm-3.3/include/llvm-c/lto.h. After continuing is when
I saw the missing symbols. Is clang/llvm suppose to be installed first?
I do have a small favor to ask. Would you be able to create an installer
of ld64-127? It would make things easier.
sudo port mdmg ld64-127
--
Ticket URL: <https://trac.macports.org/ticket/60397#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list