This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
RE: 3.0.2 PATCH: Avoid non-PIC code in boehm-gc for Solaris 2/Int el (version 2)
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Subject: RE: 3.0.2 PATCH: Avoid non-PIC code in boehm-gc for Solaris 2/Int el (version 2)
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Wed, 26 Sep 2001 15:04:10 +0200 (MEST)
- Cc: java-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>
- References: <40700B4C02ABD5119F000090278766443BEC04@hplex1.hpl.hp.com>
Hans Boehm writes:
> I'd marginally prefer to see it conditioned on __GNUC__, although I agree
> that it doesn't make much difference. In general, I think everyone has
> tried to avoid specializing the code in gcc/boehm-gc to that context. I
> haven't tried it, but I believe it has been possible to build the general
> general collector library from the code in the gcc tree with some simple
> Makefile renaming. That's probably not a very important property here, but
> it seems worth 8 or 9 lines of code to preserve it.
I fully agree with this goal, and can add the #ifdef and repost the code if
desired. I thought in this case I could get by without this since this a
GCC 3.0.2-only workaround which will never make it into any other release,
either GCC or boehm-gc. Let me know what you prefer here.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE