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: i...@airs.com
        ReportedBy: d...@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

Reply via email to