[Gc] Re: Patch ping (boehm-gc)

Boehm, Hans hans.boehm at hp.com
Fri Jul 17 12:36:30 PDT 2009

The situation here seems a bit messy, in that the upstream GC code is quite different (it uses libatomic_ops), but superficially it looks to me like that has similar issues.  You might check https://bdwgc.cvs.sourceforge.net/viewvc/bdwgc/bdwgc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h?revision=1.8&view=markup

I'm still behind with the upstream patches, but I don't recall one that fixes this.  If it's not fixed there, this is likely to get broken again in the future.

Has gcc supported %y for a long time?  One concern is that the upstream version often gets used with ancient compilers.  Thus compatibility with old gcc versions is much more of a concern than for the version in the gcc tree.


> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com 
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Tom Tromey
> Sent: Friday, July 17, 2009 11:21 AM
> To: Michael Meissner
> Cc: GC Mailing List; gcc-patches at gcc.gnu.org
> Subject: [Gc] Re: Patch ping (boehm-gc)
> >>>>> "Michael" == Michael Meissner 
> <meissner at linux.vnet.ibm.com> writes:
> Michael> This patch is needed so powerpc can build java once again.
> Michael> https://gcc.gnu.org/ml/gcc-patches/2009-06/msg01094.html
> I'm sorry about the long delay on this.
> Michael> The first patch uses the new test and set builtins if it is 
> Michael> compiled with 4.4 or newer, and fixes up the asm 
> code if it is 
> Michael> compiled with an earlier compiler.
> I've CC'ed the GC list for review.  I think I gave you the 
> wrong address last time, sorry about that :-(
> If you don't hear anything in a week, go ahead and check in 
> the version that preserves compatibility with older GCCs.  Thanks.
> Tom
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> https://www.hpl.hp.com/hosted/linux/mail-archives/gc/

More information about the Gc mailing list