@tasavi wrote:
Hi.
When trying to compile version 1.8.x, the following error occurs.make TARGET=linux2628
……
src/queue.o: In function__pendconn_free': /root/haproxy-1.8.1/src/queue.c:292: undefined reference to
__atomic_sub_fetch’
src/queue.o:/root/haproxy-1.8.1/src/queue.c:299: more undefined references to__atomic_sub_fetch' follow src/queue.o: In function
pendconn_add’:
/root/haproxy-1.8.1/src/queue.c:196: undefined reference to__atomic_add_fetch' /root/haproxy-1.8.1/src/queue.c:198: undefined reference to
__atomic_compare_exchange_n’
/root/haproxy-1.8.1/src/queue.c:200: undefined reference to__atomic_add_fetch' /root/haproxy-1.8.1/src/queue.c:188: undefined reference to
__atomic_add_fetch’
/root/haproxy-1.8.1/src/queue.c:190: undefined reference to__atomic_compare_exchange_n' src/queue.o: In function
pendconn_get_next_strm’:
/root/haproxy-1.8.1/src/queue.c:128: undefined reference to__atomic_add_fetch' /root/haproxy-1.8.1/src/queue.c:129: undefined reference to
__atomic_add_fetch’
src/applet.o: In function__appctx_free': /root/haproxy-1.8.1/include/proto/applet.h:97: undefined reference to
__atomic_sub_fetch’
src/memory.o: In functionpool_gc': /root/haproxy-1.8.1/src/memory.c:188: undefined reference to
__atomic_compare_exchange_n’
/root/haproxy-1.8.1/src/memory.c:209: undefined reference to__atomic_store_n' src/lb_fwrr.o: In function
fwrr_queue_srv’:
/root/haproxy-1.8.1/src/lb_fwrr.c:330: undefined reference to__atomic_sub_fetch' src/lb_fwrr.o: In function
fwrr_update_position’:
/root/haproxy-1.8.1/src/lb_fwrr.c:445: undefined reference to__atomic_add_fetch' /root/haproxy-1.8.1/src/lb_fwrr.c:453: undefined reference to
__atomic_add_fetch’
/root/haproxy-1.8.1/src/lb_fwrr.c:454: undefined reference to__atomic_add_fetch' /root/haproxy-1.8.1/src/lb_fwrr.c:457: undefined reference to
__atomic_sub_fetch’
/root/haproxy-1.8.1/src/lb_fwrr.c:458: undefined reference to__atomic_add_fetch' /root/haproxy-1.8.1/src/lb_fwrr.c:448: undefined reference to
__atomic_sub_fetch’
/root/haproxy-1.8.1/src/lb_fwrr.c:449: undefined reference to__atomic_add_fetch' src/lb_fwrr.o: In function
fwrr_get_srv_next’:
/root/haproxy-1.8.1/src/lb_fwrr.c:362: undefined reference to__atomic_add_fetch' src/hathreads.o: In function
thread_sync_barrier’:
/root/haproxy-1.8.1/src/hathreads.c:108: undefined reference to__atomic_compare_exchange_n' /root/haproxy-1.8.1/src/hathreads.c:109: undefined reference to
__atomic_or_fetch’
src/hathreads.o: In functionthread_want_sync': /root/haproxy-1.8.1/src/hathreads.c:75: undefined reference to
__atomic_or_fetch’
src/hathreads.o: In functionthread_exit_sync': /root/haproxy-1.8.1/src/hathreads.c:142: undefined reference to
__atomic_and_fetch’
src/hathreads.o: In functionthread_sync_barrier': /root/haproxy-1.8.1/src/hathreads.c:108: undefined reference to
__atomic_compare_exchange_n’
/root/haproxy-1.8.1/src/hathreads.c:109: undefined reference to__atomic_or_fetch' src/lb_map.o: In function
recalc_server_map’:
/root/haproxy-1.8.1/src/lb_map.c:116: undefined reference to__atomic_add_fetch' /root/haproxy-1.8.1/src/lb_map.c:125: undefined reference to
__atomic_add_fetch’
src/time.o: In functiontv_update_date': /root/haproxy-1.8.1/src/time.c:228: undefined reference to
__atomic_compare_exchange_n’
collect2: ld returned 1 exit status
make: *** [haproxy] Error 1Is there anything else I need to compile the 1.8.x version?
There was no problem compiling from version 1.5.x to version 1.7.9 on this server.Thanks.
Posts: 7
Participants: 2