This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/52084] New: go tests fail to link on powerpc-linux-gnu (undefined reference to __sync_add_and_fetch_8)
- From: "doko at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Feb 2012 20:21:44 +0000
- Subject: [Bug go/52084] New: go tests fail to link on powerpc-linux-gnu (undefined reference to __sync_add_and_fetch_8)
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52084
Bug #: 52084
Summary: go tests fail to link on powerpc-linux-gnu (undefined
reference to __sync_add_and_fetch_8)
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: ian@airs.com
ReportedBy: doko@gcc.gnu.org
with the patch proposed in PR52074 the build of libgo succeeds, but every test
case fails with:
/home/doko/gcc/snap/gcc-snapshot-20120131/build/powerpc-linux-gnu/libgo/.libs/libgo.so:
undefined reference to `__sync_add_and_fetch_8'
/home/doko/gcc/snap/gcc-snapshot-20120131/build/powerpc-linux-gnu/libgo/.libs/libgo.so:
undefined reference to `__sync_bool_compare_and_swap_8'
collect2: error: ld returned 1 exit status
FAIL: fmt
make[2]: *** [fmt/check] Error 1