[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:19:17 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
 Keywords:  powerpc, rosetta, snowleopard  |       Port:  haproxy
-------------------------------------------+----------------------
 {{{
 --->  Building haproxy
 Executing:  cd
 "/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"
 && /usr/bin/make -j6 -w TARGET=osx LD="/usr/bin/gcc-4.2"
 LDFLAGS="-L/opt/local/libexec/openssl3/lib
 -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport"
 SSL_INC=/opt/local/libexec/openssl3/include
 SSL_LIB=/opt/local/libexec/openssl3/lib USE_LIBCRYPT=1 USE_OPENSSL=1
 USE_PCRE=1 USE_PCRE_JIT=1 USE_THREAD=1 USE_ZLIB=1 CC="/usr/bin/gcc-4.2"
 CXX="/usr/bin/g++-4.2" OBJC="/usr/bin/gcc-4.2" OBJCXX="/usr/bin/g++-4.2"
 INSTALL="/usr/bin/install -c"
   CC      src/ev_poll.o
 make: Entering 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'
   CC      src/ev_kqueue.o
   CC      src/cpuset.o
   CC      src/ssl_sample.o
   CC      src/ssl_sock.o
   CC      src/ssl_crtlist.o
   CC      src/ssl_ckch.o
 In file included from src/ev_poll.c:22:
 include/haproxy/clock.h:31: error: thread-local storage not supported for
 this target
 compilation terminated due to -Wfatal-errors.
 In file included from src/ev_kqueue.c:22:
 include/haproxy/clock.h:31: error: thread-local storage not supported for
 this target
 compilation terminated due to -Wfatal-errors.
 make: *** [src/ev_poll.o] Error 1
 make: *** Waiting for unfinished jobs....
 make: *** [src/ev_kqueue.o] Error 1
 In file included from include/haproxy/freq_ctr.h:28,
                  from include/haproxy/pool.h:28,
                  from include/haproxy/chunk.h:31,
                  from include/haproxy/dynbuf.h:33,
                  from include/haproxy/channel.h:27,
                  from include/haproxy/applet.h:29,
                  from src/ssl_crtlist.c:23:
 include/haproxy/ticks.h:66: error: thread-local storage not supported for
 this target
 compilation terminated due to -Wfatal-errors.
 In file included from include/haproxy/fd.h:33,
                  from include/haproxy/connection.h:31,
                  from src/ssl_sample.c:27:
 include/haproxy/global.h:53: error: thread-local storage not supported for
 this target
 compilation terminated due to -Wfatal-errors.
 In file included from include/haproxy/freq_ctr.h:28,
                  from include/haproxy/pool.h:28,
                  from include/haproxy/chunk.h:31,
                  from include/haproxy/dynbuf.h:33,
                  from include/haproxy/channel.h:27,
                  from include/haproxy/applet.h:29,
                  from src/ssl_sock.c:47:
 include/haproxy/ticks.h:66: error: thread-local storage not supported for
 this target
 compilation terminated due to -Wfatal-errors.
 make: *** [src/ssl_crtlist.o] Error 1
 make: *** [src/ssl_sock.o] Error 1
 make: *** [src/ssl_sample.o] Error 1
 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'
 Command failed:  cd
 "/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"
 && /usr/bin/make -j6 -w TARGET=osx LD="/usr/bin/gcc-4.2"
 LDFLAGS="-L/opt/local/libexec/openssl3/lib
 -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport"
 SSL_INC=/opt/local/libexec/openssl3/include
 SSL_LIB=/opt/local/libexec/openssl3/lib USE_LIBCRYPT=1 USE_OPENSSL=1
 USE_PCRE=1 USE_PCRE_JIT=1 USE_THREAD=1 USE_ZLIB=1 CC="/usr/bin/gcc-4.2"
 CXX="/usr/bin/g++-4.2" OBJC="/usr/bin/gcc-4.2" OBJCXX="/usr/bin/g++-4.2"
 INSTALL="/usr/bin/install -c"
 Exit code: 2
 }}}

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


More information about the macports-tickets mailing list