This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [Gc] Re: Patch ping (boehm-gc)
- From: "Boehm, Hans" <hans dot boehm at hp dot com>
- To: "tromey at redhat dot com" <tromey at redhat dot com>, Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- Cc: GC Mailing List <gc at napali dot hpl dot hp dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 Jul 2009 19:36:30 +0000
- Subject: RE: [Gc] Re: Patch ping (boehm-gc)
- References: <20090630194300.GA12961@hungry-tiger.westford.ibm.com> <m3hbxb5fyc.fsf@fleche.redhat.com>
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 http://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.
Hans
> -----Original Message-----
> From: gc-bounces@napali.hpl.hp.com
> [mailto:gc-bounces@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@gcc.gnu.org
> Subject: [Gc] Re: Patch ping (boehm-gc)
>
> >>>>> "Michael" == Michael Meissner
> <meissner@linux.vnet.ibm.com> writes:
>
> Michael> This patch is needed so powerpc can build java once again.
> Michael> http://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@linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>