This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/52084] New: go tests fail to link on powerpc-linux-gnu (undefined reference to __sync_add_and_fetch_8)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]