From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4976 invoked by alias); 27 Jan 2011 10:43:06 -0000 Received: (qmail 4959 invoked by uid 22791); 27 Jan 2011 10:43:05 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_GC X-Spam-Check-By: sourceware.org Received: from mail-iy0-f175.google.com (HELO mail-iy0-f175.google.com) (209.85.210.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Jan 2011 10:42:58 +0000 Received: by iyj18 with SMTP id 18so1426470iyj.20 for ; Thu, 27 Jan 2011 02:42:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.160.80 with SMTP id m16mr703964ibx.106.1296124975959; Thu, 27 Jan 2011 02:42:55 -0800 (PST) Received: by 10.231.35.134 with HTTP; Thu, 27 Jan 2011 02:42:55 -0800 (PST) In-Reply-To: <20110127103801.GA5165@redhat.com> References: <20090528171422.508.qmail@sourceware.org> <20110127103801.GA5165@redhat.com> Date: Thu, 27 Jan 2011 10:43:00 -0000 Message-ID: Subject: Re: Another Python namespace pollution (was: r147958 - in /trunk/libstdc++-v3: ChangeLog Mak...) From: Richard Guenther To: Gerald Pfeifer , Tom Tromey , gcc-patches@gcc.gnu.org, java@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg00022.txt.bz2 On Thu, Jan 27, 2011 at 11:38 AM, Gary Benson wrote: > Hi Gerald, > > Gerald Pfeifer wrote: >> I noticed that coming from the Java side of things we also have two >> files that are installed in common namespace: >> >> =A0 share/python/aotcompile.py >> =A0 share/python/classfile.py >> >> These have been added by the following patch from all can tell: >> >> 2008-06-30 =A0Joshua Sumali =A0 >> =A0 =A0 =A0 =A0 Andrew Haley =A0 >> >> =A0 =A0 =A0 =A0 * configure.ac (java-home): new AC_ARG_ENABLE. >> =A0 =A0 =A0 =A0 (aot-compile-rpm): Likewise. >> =A0 =A0 =A0 =A0 : >> =A0 =A0 =A0 =A0 * contrib/aot-compile.in: New file. >> =A0 =A0 =A0 =A0 * contrib/aotcompile.py.in: Likewise. >> =A0 =A0 =A0 =A0 * contrib/aot-compile-rpm.in: Likewise. >> =A0 =A0 =A0 =A0 * contrib/classfile.py: Likewise. >> =A0 =A0 =A0 =A0 * contrib/rebuild-gcj-db.in: Likewise. >> >> This is also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D47484 . > > I'm on the hook to fix this, but it's been a while since I worked on > this stuff so I'm a little out of touch with GCC. =A0Can you tell me > what you mean by "common namespace", and what the alternative should > be? The files should reside in a directory that is private to gcc or at least mangled with the gcc version it comes from. Otherwise multiple parallel gcc installations conflict. Richard. > Thanks, > Gary > > -- > http://gbenson.net/ >