[MacPorts] #65699: haproxy fails on Rosetta: error: thread-local storage not supported for this target compilation terminated due to -Wfatal-errors; tcp_sample.c: error: storage size of 'info' isn't known

MacPorts noreply at macports.org
Sat Aug 20 14:12:38 UTC 2022


#65699: haproxy fails on Rosetta: error: thread-local storage not supported for
this target compilation terminated due to -Wfatal-errors; tcp_sample.c:
error: storage size of 'info' isn't known
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  judaew
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc, rosetta, snowleopard
      Port:  haproxy       |
---------------------------+-------------------------------------------

Comment (by kencu):

 if a port must use thread_local storage, and it cannot be disabled, there
 is a setting to allow base to choose a proper compiler.

 see https://trac.macports.org/wiki/CompilerSelection for the settings to
 use

 we don’t manually blacklist for this common issue.

 {{{malloc_zone_pressure_relief}}} is only available in 10.7+, so that will
 have to be worked around some other way if possible.

 See
 https://opensource.apple.com/source/Libc/Libc-825.26/include/malloc/malloc.h.auto.html

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


More information about the macports-tickets mailing list