[MacPorts] #62848: redis @6.2.3: Undefined symbols ___atomic_compare_exchange_8 ___atomic_fetch_add_8 ___atomic_load_8

MacPorts noreply at macports.org
Fri Mar 25 11:08:59 UTC 2022


#62848: redis @6.2.3: Undefined symbols ___atomic_compare_exchange_8
___atomic_fetch_add_8 ___atomic_load_8
-------------------------+------------------------------
  Reporter:  ryandesign  |      Owner:  dgilman
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:  snowleopard i386
      Port:  redis       |
-------------------------+------------------------------

Comment (by barracuda156):

 Replying to [comment:2 kencu]:
 > clang-9, and some other clangs, need to have this tweak added:
 >
 > https://github.com/macports/macports-
 ports/blob/02f44724971afa0a2359438a02032bb795582df9/lang/llvm-13/Portfile#L308
 >
 >
 > for a build using some newer gcc, you will have to add in a link to
 libatomic:
 > {{{
 > configure.ldflags-append -latomic
 > }}}

 Thank you! It worked.

-- 
Ticket URL: <https://trac.macports.org/ticket/62848#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list