[MacPorts] #65699: haproxy fails on Rosetta: error: thread-local storage not supported for this target compilation terminated due to -Wfatal-errors

MacPorts noreply at macports.org
Sat Aug 20 13:26:43 UTC 2022


#65699: haproxy fails on Rosetta: error: thread-local storage not supported for
this target compilation terminated due to -Wfatal-errors
---------------------------+-------------------------------------------
  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 barracuda156):

 Then, with `gcc12` it fails later on and differently:
 {{{
 src/pool.c: In function 'trim_all_pools':
 src/pool.c:132:49: warning: implicit declaration of function
 'malloc_zone_pressure_relief' [-Wimplicit-function-declaration]
   132 |
 malloc_zone_pressure_relief(zone, 0);
       |
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   CC      src/tcp_sample.o
   CC      src/flt_http_comp.o
   CC      src/mux_pt.o
 src/tcp_sample.c: In function 'get_tcp_info':
 src/tcp_sample.c:317:25: error: storage size of 'info' isn't known
   317 |         struct tcp_info info;
       |                         ^~~~
 compilation terminated due to -Wfatal-errors.
 make: *** [src/tcp_sample.o] Error 1
 make: *** Waiting for unfinished jobs....
 At top level:
 cc1: note: unrecognized command-line option '-Wno-atomic-alignment' may
 have been intended to silence earlier diagnostics
 cc1: note: unrecognized command-line option '-Wno-string-plus-int' may
 have been intended to silence earlier diagnostics
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_haproxy/haproxy/work/haproxy-2.6.3'
 }}}

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


More information about the macports-tickets mailing list