#66621 closed defect (fixed)

haproxy fails to link on 10.6 (both x86 and Rosetta)

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: snowleopard Cc:
Port: haproxy

Description

Rosetta:

  LD      haproxy
Undefined symbols:
  "_static_assert", referenced from:
      _XXH3_hashLong_64b_withSeed.constprop.0 in ssl_sock.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in sample.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in sample.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in sample.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in pattern.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in pattern.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in pattern.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in vars.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in vars.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in vars.o
      _XXH3_hashLong_64b_withSeed.constprop.0 in server_state.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make: *** [haproxy] Error 1

x86 build bot:

  LD      haproxy
Undefined symbols for architecture x86_64:
  "_static_assert", referenced from:
      _XXH3_hashLong_64b_withSeed in ssl_sock.o
      _XXH3_hashLong_64b_withSeed in sample.o
      _XXH3_hashLong_64b_withSeed in pattern.o
      _XXH3_hashLong_64b_withSeed in vars.o
      _XXH3_hashLong_64b_withSeed in server_state.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [haproxy] Error 1

https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/134032/steps/install-port/logs/stdio

This looks a bit weird, since I seem to have built it before successfully. But this should be fixable. Assigning to myself.

Change History (2)

comment:1 Changed 16 months ago by kencu (Ken)

static_assert was added to legacy_support a few months ago, but it’s only in legacy_support_devel just now as we need a new release

comment:2 Changed 16 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 8cde99d0814181dd501b5822c206ebd38e8c8223/macports-ports (master):

haproxy: fix build on 10.6.x
Fixes: #66621

Note: See TracTickets for help on using tickets.