The test and set locks in boehm-gc/include/private/gc_locks.h have invalid asm
for creating the test and set locks and the current Powerpc GCC compiler
generates errors when enabling java in a bootstrap.

In addition, GCC 4.4 has added the __sync_lock_test_and_set and
__sync_lock_release builtins which abstract these functions, so the asm is not
needed for 4.4 and beyond.


-- 
           Summary: Powerpc bootstrap is broken due to problems in boehm-gc
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: boehm-gc
        AssignedTo: meissner at linux dot vnet dot ibm dot com
        ReportedBy: meissner at gcc dot gnu dot org
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40785

Reply via email to