Hi,

I am using Haproxy 1.7-stable version and its working fine.
now i am upgrading to 1.8-stable, but i am getting error.

do i need to update some package for this or can work with existing config.

OS : CentOS 6.7


Note : I check Haproxy 1.8-stable on CentOS 7, its not showing any problem
during installation but in CentOS 6.7 showing following Error.






src/hathreads.o: In function `thread_want_sync':
/softwares/haproxy-1.8.2/src/hathreads.c:75: undefined reference to
`__atomic_or_fetch'
src/hathreads.o: In function `thread_exit_sync':
/softwares/haproxy-1.8.2/src/hathreads.c:142: undefined reference to
`__atomic_and_fetch'
src/hathreads.o: In function `thread_sync_barrier':
/softwares/haproxy-1.8.2/src/hathreads.c:108: undefined reference to
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/src/hathreads.c:109: undefined reference to
`__atomic_or_fetch'
src/lb_map.o: In function `recalc_server_map':
/softwares/haproxy-1.8.2/src/lb_map.c:116: undefined reference to
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/lb_map.c:125: undefined reference to
`__atomic_sub_fetch'
src/compression.o: In function `deinit_comp_ctx':
/softwares/haproxy-1.8.2/src/compression.c:199: undefined reference to
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/compression.c:199: undefined reference to
`__atomic_sub_fetch'
src/compression.o: In function `init_comp_ctx':
/softwares/haproxy-1.8.2/src/compression.c:177: undefined reference to
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/compression.c:177: undefined reference to
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/compression.c:177: undefined reference to
`__atomic_add_fetch'
src/compression.o: In function `alloc_zlib':
/softwares/haproxy-1.8.2/src/compression.c:469: undefined reference to
`__atomic_add_fetch'
src/compression.o: In function `free_zlib':
/softwares/haproxy-1.8.2/src/compression.c:500: undefined reference to
`__atomic_sub_fetch'
src/time.o: In function `tv_update_date':
/softwares/haproxy-1.8.2/src/time.c:228: undefined reference to
`__atomic_compare_exchange_n'
collect2: ld returned 1 exit status
make: *** [haproxy] Error 1






Devendra Joshi
8080106035
--------------------------------------------------------------
--------------------------------------------------------------


---------- Forwarded message ----------
From: Devendra Joshi <devendra.joshi9...@gmail.com>
Date: 3 January 2018 at 16:57
Subject: Haproxy 1.8 version help
To: devendra joshi <devendra.joshi9...@gmail.com>


Hi,

I am using Haproxy 1.7-stable version and its working fine.
now i am upgrading to 1.8-stable, but i am getting error.

do i need to update some package for this or can work with existing config.

OS : CentOS 6.7


Note : I check Haproxy 1.8-stable on CentOS 7, its not showing any problem
during installation but in CentOS 6.7 showing following Error.






src/hathreads.o: In function `thread_want_sync':
/softwares/haproxy-1.8.2/src/hathreads.c:75: undefined reference to
`__atomic_or_fetch'
src/hathreads.o: In function `thread_exit_sync':
/softwares/haproxy-1.8.2/src/hathreads.c:142: undefined reference to
`__atomic_and_fetch'
src/hathreads.o: In function `thread_sync_barrier':
/softwares/haproxy-1.8.2/src/hathreads.c:108: undefined reference to
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/src/hathreads.c:109: undefined reference to
`__atomic_or_fetch'
src/lb_map.o: In function `recalc_server_map':
/softwares/haproxy-1.8.2/src/lb_map.c:116: undefined reference to
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/lb_map.c:125: undefined reference to
`__atomic_sub_fetch'
src/compression.o: In function `deinit_comp_ctx':
/softwares/haproxy-1.8.2/src/compression.c:199: undefined reference to
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/compression.c:199: undefined reference to
`__atomic_sub_fetch'
src/compression.o: In function `init_comp_ctx':
/softwares/haproxy-1.8.2/src/compression.c:177: undefined reference to
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/compression.c:177: undefined reference to
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/compression.c:177: undefined reference to
`__atomic_add_fetch'
src/compression.o: In function `alloc_zlib':
/softwares/haproxy-1.8.2/src/compression.c:469: undefined reference to
`__atomic_add_fetch'
src/compression.o: In function `free_zlib':
/softwares/haproxy-1.8.2/src/compression.c:500: undefined reference to
`__atomic_sub_fetch'
src/time.o: In function `tv_update_date':
/softwares/haproxy-1.8.2/src/time.c:228: undefined reference to
`__atomic_compare_exchange_n'
collect2: ld returned 1 exit status
make: *** [haproxy] Error 1









Devendra Joshi

--------------------------------------------------------------
--------------------------------------------------------------
[root@web haproxy-1.8.2]# make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 
USE_ZLIB=1
gcc  -g -o haproxy src/ev_poll.o src/ev_epoll.o src/ssl_sock.o ebtree/ebtree.o 
ebtree/eb32sctree.o ebtree/eb32tree.o ebtree/eb64tree.o ebtree/ebmbtree.o 
ebtree/ebsttree.o ebtree/ebimtree.o ebtree/ebistree.o src/proto_http.o 
src/cfgparse.o src/server.o src/stream.o src/flt_spoe.o src/stick_table.o 
src/stats.o src/mux_h2.o src/checks.o src/haproxy.o src/log.o src/dns.o 
src/peers.o src/standard.o src/sample.o src/cli.o src/stream_interface.o 
src/proto_tcp.o src/backend.o src/proxy.o src/tcp_rules.o src/listener.o 
src/flt_http_comp.o src/pattern.o src/cache.o src/filters.o src/vars.o 
src/acl.o src/payload.o src/connection.o src/raw_sock.o src/proto_uxst.o 
src/flt_trace.o src/session.o src/ev_select.o src/channel.o src/task.o 
src/queue.o src/applet.o src/map.o src/frontend.o src/freq_ctr.o src/lb_fwlc.o 
src/mux_pt.o src/auth.o src/fd.o src/hpack-dec.o src/memory.o src/lb_fwrr.o 
src/lb_chash.o src/lb_fas.o src/hathreads.o src/chunk.o src/lb_map.o 
src/xxhash.o src/regex.o src/shctx.o src/buffer.o src/action.o src/h1.o 
src/compression.o src/pipe.o src/namespace.o src/sha1.o src/hpack-tbl.o 
src/hpack-enc.o src/uri_auth.o src/time.o src/proto_udp.o src/arg.o 
src/signal.o src/protocol.o src/lru.o src/hdr_idx.o src/hpack-huff.o 
src/mailers.o src/h2.o src/base64.o src/hash.o   -lcrypt  -lz -ldl -lpthread  
-lssl -lcrypto -ldl -L/usr/lib -lpcreposix -lpcre
src/ev_poll.o: In function `_do_poll':
/softwares/haproxy-1.8.2/src/ev_poll.c:174: undefined reference to 
`__atomic_or_fetch'
src/ev_epoll.o: In function `_do_poll':
/softwares/haproxy-1.8.2/src/ev_epoll.c:160: undefined reference to 
`__atomic_or_fetch'
src/ssl_sock.o: In function `ssl_sock_do_create_cert':
/softwares/haproxy-1.8.2/src/ssl_sock.c:1675: undefined reference to 
`__atomic_add_fetch'
src/ssl_sock.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `http_action_reject':
/softwares/haproxy-1.8.2/src/proto_http.c:12075: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:12076: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:12078: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `http_sync_res_state':
/softwares/haproxy-1.8.2/src/proto_http.c:4677: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:4679: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `srv_inc_sess_ctr':
/softwares/haproxy-1.8.2/include/proto/server.h:67: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `srv_inc_sess_ctr':
/softwares/haproxy-1.8.2/include/proto/server.h:68: undefined reference to 
`__atomic_compare_exchange_n'
src/proto_http.o: In function `proxy_inc_fe_req_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:142: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `proxy_inc_fe_req_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:143: undefined reference to 
`__atomic_compare_exchange_n'
src/proto_http.o: In function `http_response_forward_body':
/softwares/haproxy-1.8.2/src/proto_http.c:6189: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:6190: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:6123: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:6125: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:6161: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o:/softwares/haproxy-1.8.2/src/proto_http.c:6163: more undefined 
references to `__atomic_add_fetch' follow
src/proto_http.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `http_wait_for_request_body':
/softwares/haproxy-1.8.2/src/proto_http.c:4186: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:4188: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `http_process_res_common':
/softwares/haproxy-1.8.2/src/proto_http.c:5760: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:5763: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:5784: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o:/softwares/haproxy-1.8.2/src/proto_http.c:5785: more undefined 
references to `__atomic_add_fetch' follow
src/proto_http.o: In function `http_end_txn_clean_session':
/softwares/haproxy-1.8.2/src/proto_http.c:4285: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:4346: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:4305: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:4306: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:4301: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `__appctx_free':
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
src/proto_http.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `http_process_req_common':
/softwares/haproxy-1.8.2/src/proto_http.c:3528: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:3642: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:3644: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `http_process_req_common':
/softwares/haproxy-1.8.2/src/proto_http.c:3602: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:3604: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:3606: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `http_process_req_common':
/softwares/haproxy-1.8.2/src/proto_http.c:3621: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:3623: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:3625: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `http_wait_for_response':
/softwares/haproxy-1.8.2/src/proto_http.c:5340: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:5151: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:5153: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:5186: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:5222: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o:/softwares/haproxy-1.8.2/src/proto_http.c:5224: more undefined 
references to `__atomic_add_fetch' follow
src/proto_http.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `proxy_inc_fe_req_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:142: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/proto_http.o: In function `proxy_inc_fe_req_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:143: undefined reference to 
`__atomic_compare_exchange_n'
src/proto_http.o: In function `http_wait_for_request':
/softwares/haproxy-1.8.2/src/proto_http.c:1809: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:1811: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:1779: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:2205: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_http.c:2207: undefined reference to 
`__atomic_add_fetch'
src/proto_http.o:/softwares/haproxy-1.8.2/src/proto_http.c:1926: more undefined 
references to `__atomic_add_fetch' follow
src/proto_http.o: In function `__appctx_free':
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
src/cfgparse.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `sess_change_server':
/softwares/haproxy-1.8.2/src/stream.c:2574: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2575: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2582: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2583: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `sess_set_term_flags':
/softwares/haproxy-1.8.2/src/stream.c:1021: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:1023: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `srv_inc_sess_ctr':
/softwares/haproxy-1.8.2/include/proto/server.h:67: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/stream.o: In function `srv_inc_sess_ctr':
/softwares/haproxy-1.8.2/include/proto/server.h:68: undefined reference to 
`__atomic_compare_exchange_n'
src/stream.o: In function `process_use_service':
/softwares/haproxy-1.8.2/src/stream.c:1174: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `stream_process_counters':
/softwares/haproxy-1.8.2/src/stream.c:495: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:496: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:499: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:502: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/stream.o: In function `stream_process_counters':
/softwares/haproxy-1.8.2/src/stream.c:535: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:536: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:539: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:542: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/stream.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `sess_update_st_cer':
/softwares/haproxy-1.8.2/src/stream.c:748: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:749: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:701: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:667: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/stream.c:700: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `sess_update_stream_int':
/softwares/haproxy-1.8.2/src/stream.c:954: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:955: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:898: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:899: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `process_stream':
/softwares/haproxy-1.8.2/src/stream.c:2469: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2491: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2495: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2496: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `__appctx_free':
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
src/stream.o: In function `stream_free':
/softwares/haproxy-1.8.2/src/stream.c:312: undefined reference to 
`__atomic_sub_fetch'
src/stream.o: In function `process_stream':
/softwares/haproxy-1.8.2/src/stream.c:2035: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2055: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2057: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2042: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:2062: undefined reference to 
`__atomic_add_fetch'
src/stream.o:/softwares/haproxy-1.8.2/src/stream.c:2064: more undefined 
references to `__atomic_add_fetch' follow
src/stream.o: In function `process_stream':
/softwares/haproxy-1.8.2/src/stream.c:1824: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/stream.c:1742: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:1743: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/stream.c:1745: undefined reference to 
`__atomic_add_fetch'
src/stream.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/flt_spoe.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/flt_spoe.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/flt_spoe.o: In function `spoe_release_appctx':
/softwares/haproxy-1.8.2/src/flt_spoe.c:1314: undefined reference to 
`__atomic_compare_exchange_n'
src/flt_spoe.o: In function `appctx_new':
/softwares/haproxy-1.8.2/include/proto/applet.h:74: undefined reference to 
`__atomic_add_fetch'
src/flt_spoe.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/flt_spoe.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/flt_spoe.o: In function `__appctx_free':
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
src/flt_spoe.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/flt_spoe.o: In function `spoe_handle_connecting_appctx':
/softwares/haproxy-1.8.2/src/flt_spoe.c:1435: undefined reference to 
`__atomic_compare_exchange_n'
src/stick_table.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/stick_table.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/mux_h2.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/mux_h2.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/checks.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/checks.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/checks.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/checks.o: In function `set_server_check_status':
/softwares/haproxy-1.8.2/src/checks.c:247: undefined reference to 
`__atomic_add_fetch'
src/checks.o: In function `__health_adjust':
/softwares/haproxy-1.8.2/src/checks.c:415: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/checks.c:454: undefined reference to 
`__atomic_add_fetch'
src/haproxy.o:/softwares/haproxy-1.8.2/include/proto/task.h:223: more undefined 
references to `__atomic_add_fetch' follow
src/haproxy.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/haproxy.o:/softwares/haproxy-1.8.2/include/proto/task.h:238: more undefined 
references to `__atomic_sub_fetch' follow
src/log.o: In function `strm_log':
/softwares/haproxy-1.8.2/src/log.c:2393: undefined reference to 
`__atomic_add_fetch'
src/dns.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/dns.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/peers.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/peers.o: In function `appctx_new':
/softwares/haproxy-1.8.2/include/proto/applet.h:74: undefined reference to 
`__atomic_add_fetch'
src/peers.o: In function `__appctx_free':
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
src/peers.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/peers.o: In function `process_peer_sync':
/softwares/haproxy-1.8.2/src/peers.c:2108: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/peers.c:2083: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/peers.c:2132: undefined reference to 
`__atomic_sub_fetch'
src/stream_interface.o: In function `__appctx_free':
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
src/stream_interface.o: In function `appctx_new':
/softwares/haproxy-1.8.2/include/proto/applet.h:74: undefined reference to 
`__atomic_add_fetch'
src/stream_interface.o: In function `__appctx_free':
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
src/proto_tcp.o: In function `tcp_exec_action_silent_drop':
/softwares/haproxy-1.8.2/src/proto_tcp.c:1374: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_tcp.c:1381: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proto_tcp.c:1383: undefined reference to 
`__atomic_add_fetch'
src/backend.o: In function `set_backend_down':
/softwares/haproxy-1.8.2/src/backend.c:1359: undefined reference to 
`__atomic_add_fetch'
src/backend.o: In function `assign_server':
/softwares/haproxy-1.8.2/src/backend.c:714: undefined reference to 
`__atomic_add_fetch'
src/backend.o:/softwares/haproxy-1.8.2/src/backend.c:715: more undefined 
references to `__atomic_add_fetch' follow
src/backend.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/backend.o: In function `srv_inc_sess_ctr':
/softwares/haproxy-1.8.2/include/proto/server.h:68: undefined reference to 
`__atomic_compare_exchange_n'
src/backend.o: In function `srv_redispatch_connect':
/softwares/haproxy-1.8.2/src/backend.c:1339: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/backend.c:1340: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/backend.c:1309: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/backend.c:1340: undefined reference to 
`__atomic_add_fetch'
src/backend.o: In function `connect_server':
/softwares/haproxy-1.8.2/src/backend.c:1231: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/backend.c:1232: undefined reference to 
`__atomic_compare_exchange_n'
src/backend.o: In function `__appctx_free':
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
src/proxy.o: In function `stream_set_backend':
/softwares/haproxy-1.8.2/src/proxy.c:1258: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/proxy.c:1258: undefined reference to 
`__atomic_compare_exchange_n'
src/proxy.o: In function `proxy_inc_be_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:134: undefined reference to 
`__atomic_add_fetch'
src/proxy.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/proxy.o: In function `proxy_inc_be_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:135: undefined reference to 
`__atomic_compare_exchange_n'
src/proxy.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/tcp_rules.o: In function `tcp_inspect_response':
/softwares/haproxy-1.8.2/src/tcp_rules.c:347: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/tcp_rules.c:348: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/tcp_rules.c:350: undefined reference to 
`__atomic_add_fetch'
src/tcp_rules.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/tcp_rules.o: In function `tcp_exec_l5_rules':
/softwares/haproxy-1.8.2/src/tcp_rules.c:517: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/tcp_rules.c:519: undefined reference to 
`__atomic_add_fetch'
src/tcp_rules.o: In function `tcp_inspect_request':
/softwares/haproxy-1.8.2/src/tcp_rules.c:169: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/tcp_rules.c:170: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/tcp_rules.c:172: undefined reference to 
`__atomic_add_fetch'
src/tcp_rules.o:/softwares/haproxy-1.8.2/src/tcp_rules.c:430: more undefined 
references to `__atomic_add_fetch' follow
src/listener.o: In function `delete_listener':
/softwares/haproxy-1.8.2/src/listener.c:435: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/listener.c:436: undefined reference to 
`__atomic_sub_fetch'
src/listener.o: In function `create_listeners':
/softwares/haproxy-1.8.2/src/listener.c:414: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/listener.c:415: undefined reference to 
`__atomic_add_fetch'
src/listener.o: In function `listener_release':
/softwares/haproxy-1.8.2/src/listener.c:677: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/listener.c:676: undefined reference to 
`__atomic_sub_fetch'
src/listener.o: In function `listener_accept':
/softwares/haproxy-1.8.2/src/listener.c:612: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/listener.c:614: undefined reference to 
`__atomic_compare_exchange_n'
src/listener.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/listener.o: In function `listener_accept':
/softwares/haproxy-1.8.2/src/listener.c:608: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/src/listener.c:609: undefined reference to 
`__atomic_add_fetch'
src/listener.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/listener.o: In function `listener_accept':
/softwares/haproxy-1.8.2/src/listener.c:640: undefined reference to 
`__atomic_compare_exchange_n'
src/listener.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/listener.o: In function `listener_accept':
/softwares/haproxy-1.8.2/src/listener.c:645: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/src/listener.c:624: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/listener.c:625: undefined reference to 
`__atomic_sub_fetch'
src/flt_http_comp.o: In function `comp_http_end':
/softwares/haproxy-1.8.2/src/flt_http_comp.c:335: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/flt_http_comp.c:337: undefined reference to 
`__atomic_add_fetch'
src/flt_http_comp.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/flt_http_comp.o: In function `http_compression_buffer_end':
/softwares/haproxy-1.8.2/src/flt_http_comp.c:757: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/flt_http_comp.c:758: undefined reference to 
`__atomic_add_fetch'
src/flt_http_comp.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/flt_http_comp.o: In function `http_compression_buffer_end':
/softwares/haproxy-1.8.2/src/flt_http_comp.c:783: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/flt_http_comp.c:784: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/flt_http_comp.c:760: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/flt_http_comp.c:761: undefined reference to 
`__atomic_add_fetch'
src/vars.o: In function `var_accounting_diff':
/softwares/haproxy-1.8.2/src/vars.c:45: undefined reference to 
`__atomic_add_fetch'
src/vars.o:/softwares/haproxy-1.8.2/src/vars.c:48: more undefined references to 
`__atomic_add_fetch' follow
src/vars.o: In function `vars_prune_per_sess':
/softwares/haproxy-1.8.2/src/vars.c:141: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/vars.c:142: undefined reference to 
`__atomic_sub_fetch'
src/vars.o: In function `var_accounting_diff':
/softwares/haproxy-1.8.2/src/vars.c:55: undefined reference to 
`__atomic_add_fetch'
src/vars.o: In function `vars_prune_per_sess':
/softwares/haproxy-1.8.2/src/vars.c:143: undefined reference to 
`__atomic_sub_fetch'
src/session.o: In function `session_free':
/softwares/haproxy-1.8.2/src/session.c:67: undefined reference to 
`__atomic_sub_fetch'
src/session.o: In function `session_new':
/softwares/haproxy-1.8.2/src/session.c:55: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/session.c:55: undefined reference to 
`__atomic_compare_exchange_n'
src/session.o: In function `proxy_inc_fe_conn_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:113: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/include/proto/proxy.h:115: undefined reference to 
`__atomic_add_fetch'
src/session.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/session.o: In function `proxy_inc_fe_conn_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:116: undefined reference to 
`__atomic_compare_exchange_n'
src/session.o: In function `session_new':
/softwares/haproxy-1.8.2/src/session.c:59: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/session.c:60: undefined reference to 
`__atomic_add_fetch'
src/session.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/session.o: In function `proxy_inc_fe_sess_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:124: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/include/proto/proxy.h:126: undefined reference to 
`__atomic_add_fetch'
src/session.o: In function `update_freq_ctr':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:45: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:62: undefined reference to 
`__atomic_store_n'
src/session.o: In function `proxy_inc_fe_sess_ctr':
/softwares/haproxy-1.8.2/include/proto/proxy.h:127: undefined reference to 
`__atomic_compare_exchange_n'
src/session.o: In function `update_freq_ctr_period':
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:82: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/include/proto/freq_ctr.h:98: undefined reference to 
`__atomic_store_n'
src/session.o: In function `task_free':
/softwares/haproxy-1.8.2/include/proto/task.h:238: undefined reference to 
`__atomic_sub_fetch'
src/session.o: In function `task_new':
/softwares/haproxy-1.8.2/include/proto/task.h:223: undefined reference to 
`__atomic_add_fetch'
src/session.o: In function `session_free':
/softwares/haproxy-1.8.2/src/session.c:73: undefined reference to 
`__atomic_sub_fetch'
src/queue.o: In function `pendconn_free':
/softwares/haproxy-1.8.2/src/queue.c:274: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/queue.c:283: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/queue.c:280: undefined reference to 
`__atomic_sub_fetch'
src/queue.o: In function `__pendconn_free':
/softwares/haproxy-1.8.2/src/queue.c:292: undefined reference to 
`__atomic_sub_fetch'
src/queue.o:/softwares/haproxy-1.8.2/src/queue.c:299: more undefined references 
to `__atomic_sub_fetch' follow
src/queue.o: In function `pendconn_add':
/softwares/haproxy-1.8.2/src/queue.c:196: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/queue.c:198: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/src/queue.c:200: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/queue.c:188: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/queue.c:190: undefined reference to 
`__atomic_compare_exchange_n'
src/queue.o: In function `pendconn_get_next_strm':
/softwares/haproxy-1.8.2/src/queue.c:128: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/queue.c:129: undefined reference to 
`__atomic_add_fetch'
src/applet.o: In function `__appctx_free':
/softwares/haproxy-1.8.2/include/proto/applet.h:97: undefined reference to 
`__atomic_sub_fetch'
src/memory.o: In function `pool_gc':
/softwares/haproxy-1.8.2/src/memory.c:188: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/src/memory.c:209: undefined reference to 
`__atomic_store_n'
src/lb_fwrr.o: In function `fwrr_queue_srv':
/softwares/haproxy-1.8.2/src/lb_fwrr.c:330: undefined reference to 
`__atomic_sub_fetch'
src/lb_fwrr.o: In function `fwrr_update_position':
/softwares/haproxy-1.8.2/src/lb_fwrr.c:445: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/lb_fwrr.c:453: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/lb_fwrr.c:454: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/lb_fwrr.c:457: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/lb_fwrr.c:458: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/lb_fwrr.c:448: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/lb_fwrr.c:449: undefined reference to 
`__atomic_add_fetch'
src/lb_fwrr.o: In function `fwrr_get_srv_next':
/softwares/haproxy-1.8.2/src/lb_fwrr.c:362: undefined reference to 
`__atomic_add_fetch'
src/hathreads.o: In function `thread_sync_barrier':
/softwares/haproxy-1.8.2/src/hathreads.c:108: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/src/hathreads.c:109: undefined reference to 
`__atomic_or_fetch'
src/hathreads.o: In function `thread_want_sync':
/softwares/haproxy-1.8.2/src/hathreads.c:75: undefined reference to 
`__atomic_or_fetch'
src/hathreads.o: In function `thread_exit_sync':
/softwares/haproxy-1.8.2/src/hathreads.c:142: undefined reference to 
`__atomic_and_fetch'
src/hathreads.o: In function `thread_sync_barrier':
/softwares/haproxy-1.8.2/src/hathreads.c:108: undefined reference to 
`__atomic_compare_exchange_n'
/softwares/haproxy-1.8.2/src/hathreads.c:109: undefined reference to 
`__atomic_or_fetch'
src/lb_map.o: In function `recalc_server_map':
/softwares/haproxy-1.8.2/src/lb_map.c:116: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/lb_map.c:125: undefined reference to 
`__atomic_sub_fetch'
src/compression.o: In function `deinit_comp_ctx':
/softwares/haproxy-1.8.2/src/compression.c:199: undefined reference to 
`__atomic_sub_fetch'
/softwares/haproxy-1.8.2/src/compression.c:199: undefined reference to 
`__atomic_sub_fetch'
src/compression.o: In function `init_comp_ctx':
/softwares/haproxy-1.8.2/src/compression.c:177: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/compression.c:177: undefined reference to 
`__atomic_add_fetch'
/softwares/haproxy-1.8.2/src/compression.c:177: undefined reference to 
`__atomic_add_fetch'
src/compression.o: In function `alloc_zlib':
/softwares/haproxy-1.8.2/src/compression.c:469: undefined reference to 
`__atomic_add_fetch'
src/compression.o: In function `free_zlib':
/softwares/haproxy-1.8.2/src/compression.c:500: undefined reference to 
`__atomic_sub_fetch'
src/time.o: In function `tv_update_date':
/softwares/haproxy-1.8.2/src/time.c:228: undefined reference to 
`__atomic_compare_exchange_n'
collect2: ld returned 1 exit status
make: *** [haproxy] Error 1

Reply via email to