From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14759 invoked by alias); 27 Jan 2011 11:00:04 -0000 Received: (qmail 14735 invoked by uid 22791); 27 Jan 2011 11:00:03 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_FAIL,TW_GC X-Spam-Check-By: sourceware.org Received: from gbenson.demon.co.uk (HELO gbenson.demon.co.uk) (80.177.220.214) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Jan 2011 10:59:57 +0000 Date: Thu, 27 Jan 2011 11:00:00 -0000 From: Gary Benson To: Richard Guenther Cc: Gerald Pfeifer , Tom Tromey , gcc-patches@gcc.gnu.org, java@gcc.gnu.org Subject: Re: Another Python namespace pollution (was: r147958 - in /trunk/libstdc++-v3: ChangeLog Mak...) Message-ID: <20110127105952.GC5165@redhat.com> Mail-Followup-To: Richard Guenther , Gerald Pfeifer , Tom Tromey , gcc-patches@gcc.gnu.org, java@gcc.gnu.org References: <20090528171422.508.qmail@sourceware.org> <20110127103801.GA5165@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-IsSubscribed: yes 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/msg00023.txt.bz2 Richard Guenther wrote: > On Thu, Jan 27, 2011 at 11:38 AM, Gary Benson wrote: > > Gerald Pfeifer wrote: > > > I noticed that coming from the Java side of things we also have two > > > files that are installed in common namespace: > > > > > >   share/python/aotcompile.py > > >   share/python/classfile.py > > > > > > These have been added by the following patch from all can tell: > > > > > > 2008-06-30  Joshua Sumali   > > >         Andrew Haley   > > > > > >         * configure.ac (java-home): new AC_ARG_ENABLE. > > >         (aot-compile-rpm): Likewise. > > >         : > > >         * contrib/aot-compile.in: New file. > > >         * contrib/aotcompile.py.in: Likewise. > > >         * contrib/aot-compile-rpm.in: Likewise. > > >         * contrib/classfile.py: Likewise. > > >         * contrib/rebuild-gcj-db.in: Likewise. > > > > > > This is also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47484 . > > > > 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.  Can 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. Ah, ok, that shouldn't be too hard. I'll get working on a patch. Thanks, Gary -- http://gbenson.net/