[MacPorts] #63744: zstd: link failure on 10.4 PPC: common symbols not allowed with MH_DYLIB output format with the -multi_module option

MacPorts noreply at macports.org
Sun Oct 31 15:33:02 UTC 2021


#63744: zstd: link failure on 10.4 PPC: common symbols not allowed with MH_DYLIB
output format with the -multi_module option
---------------------+----------------------
 Reporter:  mascguy  |      Owner:  mascguy
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  zstd
---------------------+----------------------
 I'm seeing the following link error, when attempting to install this port
 on 10.4 PPC:

 {{{
 :info:build /usr/bin/ld: common symbols not allowed with MH_DYLIB output
 format with the -multi_module option
 :info:build obj/conf_bf5285a93c681430f8fd86e69930a4b6/dynamic/threading.o
 private external definition of common _g_ZSTD_threading_useless_symbol
 (size 4)
 :info:build collect2: ld returned 1 exit status
 :info:build gmake[2]: *** [Makefile:294:
 obj/conf_bf5285a93c681430f8fd86e69930a4b6/dynamic/libzstd.1.5.0.dylib]
 Error 1
 :info:build gmake[1]: *** [Makefile:281: libzstd.1.5.0.dylib] Error 2
 }}}

 Reviewed similar tickets with this issue, and there didn't seem to be (?)
 one right answer/solution.

 10.4 aficionados, do you have an easy fix?

-- 
Ticket URL: <https://trac.macports.org/ticket/63744>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list