Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 764662

Summary: sys-cluster/ganglia-3.7.1-r2 - ld: //usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_sub_8'
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=740464
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 721344    
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2021-01-09 20:07:35 UTC
Created attachment 682156 [details]
build.log

[...]
/bin/sh ../libtool --tag=CC   --mode=link powerpc-unknown-linux-gnu-gcc -I../lib -I../gmond -I../libmetrics -I../include -D_LARGEFILE64_SOURCE  -Os -mcpu=7450 -pipe -I/usr/include/tirpc -fno-strict-aliasing -Wall -D_REENTRANT  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -lpthread  -ltirpc -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl -o gmetad gmetad.o cmdline.o data_thread.o server.o process_xml.o rrd_helpers.o export_helpers.o conf.o type_hash.o xml_hash.o cleanup.o daemon_init.o   ../lib/libganglia.la -lrrd -lm ../libmetrics/libmetrics.la    -ldl -lnsl -lnsl -lz -lexpat -lconfuse -lpthread  -ltirpc
libtool: link: powerpc-unknown-linux-gnu-gcc -I../lib -I../gmond -I../libmetrics -I../include -D_LARGEFILE64_SOURCE -Os -mcpu=7450 -pipe -I/usr/include/tirpc -fno-strict-aliasing -Wall -D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o .libs/gmetad gmetad.o cmdline.o data_thread.o server.o process_xml.o rrd_helpers.o export_helpers.o conf.o type_hash.o xml_hash.o cleanup.o daemon_init.o  //usr/lib/libapr-1.so -luuid -lrt -lcrypt ../lib/.libs/libganglia.so -lrrd -lm ../libmetrics/.libs/libmetrics.a -lresolv -ldl -lnsl -lz -lexpat -lconfuse -lpthread //usr/lib/libtirpc.so -pthread
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: //usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_sub_8'
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: //usr/lib/libapr-1.so: undefined reference to `__sync_sub_and_fetch_8'
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: //usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_add_8'
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: //usr/lib/libapr-1.so: undefined reference to `__sync_lock_test_and_set_8'
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: //usr/lib/libapr-1.so: undefined reference to `__sync_val_compare_and_swap_8'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:409: gmetad] Error 1
Comment 1 ernsteiswuerfel archtester 2021-01-09 20:08:07 UTC
Created attachment 682159 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-09 07:13:14 UTC

*** This bug has been marked as a duplicate of bug 740464 ***