[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 15:02:01 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 barracuda156):
Replying to [comment:5 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
Thank you! I have just fixed TCP_INFO issue, and got to:
{{{
Undefined symbols:
"_malloc_zone_pressure_relief", referenced from:
_pool_gc in pool.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make: *** [haproxy] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65699#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list