Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668002 - net-proxy/haproxy-1.8.13: proto_http.c:(.text+0xbfc): undefined reference to `__atomic_fetch_add_8'
Summary: net-proxy/haproxy-1.8.13: proto_http.c:(.text+0xbfc): undefined reference to ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
Depends on:
Blocks: CVE-2018-11469
  Show dependency tree
Reported: 2018-10-07 22:40 UTC by ernsteiswuerfel
Modified: 2019-09-14 19:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (file_668002.txt,5.67 KB, text/plain)
2018-10-07 22:40 UTC, ernsteiswuerfel
build.log (haproxy-1.8.13:20181007-221859.log,53.20 KB, text/plain)
2018-10-07 22:41 UTC, ernsteiswuerfel
build.log (2.0.5) (haproxy-2.0.5:20190914-185720.log,115.53 KB, text/plain)
2019-09-14 19:01 UTC, ernsteiswuerfel
emerge --info (file_668002.txt,5.85 KB, text/plain)
2019-09-14 19:02 UTC, ernsteiswuerfel

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel 2018-10-07 22:40:53 UTC
Created attachment 549754 [details]
emerge --info

Build failure on ppc with standard USE-flags:

src/proto_http.o: In function `http_action_reject':
proto_http.c:(.text+0xbfc): undefined reference to `__atomic_fetch_add_8'
proto_http.c:(.text+0xc14): undefined reference to `__atomic_fetch_add_8'
proto_http.c:(.text+0xc40): undefined reference to `__atomic_fetch_add_8'
src/proto_http.o: In function `http_perform_server_redirect':
proto_http.c:(.text+0x684c): undefined reference to `__atomic_fetch_add_8'
src/proto_http.o: In function `http_wait_for_request_body':
proto_http.c:(.text+0x9994): undefined reference to `__atomic_fetch_add_8'
src/proto_http.o:proto_http.c:(.text+0x99b8): more undefined references to `__atomic_fetch_add_8' follow
src/time.o: In function `tv_update_date':
time.c:(.text+0x91c): undefined reference to `__atomic_compare_exchange_8'
collect2: error: ld returned 1 exit status
make: *** [Makefile:900: haproxy] Error 1
 * ERROR: net-proxy/haproxy-1.8.13::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel 2018-10-07 22:41:40 UTC
Created attachment 549756 [details]
Comment 2 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2018-10-27 21:26:41 UTC
it seems it tries to link agains libatomic, does your system have have dev-libs/libatomic_ops installed?
Comment 3 ernsteiswuerfel 2018-10-28 22:08:13 UTC
Yes, dev-libs/libatomic_ops-7.6.6 is installed (and passes all tests).
Comment 4 ernsteiswuerfel 2019-08-16 22:58:43 UTC
Also haproxy-1.8.20, haproxy-1.9.10 and haproxy-2.0.4 fail with the same error, built againts libatomic_ops-7.6.6 or 7.6.10.
Comment 5 ernsteiswuerfel 2019-09-14 19:01:16 UTC
Created attachment 589838 [details]
build.log (2.0.5)

Still around in 1.8.21, 1.9.10 and 2.0.5.
Comment 6 ernsteiswuerfel 2019-09-14 19:02:03 UTC
Created attachment 589840 [details]
emerge --info