From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8859 invoked by alias); 27 Jan 2011 19:54:23 -0000 Received: (qmail 8839 invoked by uid 22791); 27 Jan 2011 19:54:22 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from relay00.pair.com (HELO relay00.pair.com) (209.68.5.9) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 27 Jan 2011 19:54:17 +0000 Received: (qmail 88386 invoked from network); 27 Jan 2011 19:54:14 -0000 Received: from 195.135.221.2 (HELO d95.suse.de) (195.135.221.2) by relay00.pair.com with SMTP; 27 Jan 2011 19:54:14 -0000 X-pair-Authenticated: 195.135.221.2 Date: Thu, 27 Jan 2011 19:54:00 -0000 From: Gerald Pfeifer To: Gary Benson cc: Richard Guenther , 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...) In-Reply-To: <20110127105952.GC5165@redhat.com> Message-ID: References: <20090528171422.508.qmail@sourceware.org> <20110127103801.GA5165@redhat.com> <20110127105952.GC5165@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/msg00024.txt.bz2 On Thu, 27 Jan 2011, Gary Benson wrote: >> 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! In case you are wondering where to put them, there is prior art based on Tom's fix: ./share/gcc-4.6.0/python/libstdcxx/__init__.py <--- The good ./share/gcc-4.6.0/python/libstdcxx/v6/printers.py ./share/gcc-4.6.0/python/libstdcxx/v6/__init__.py ./share/python/classfile.py <--- The bad ./share/python/aotcompile.py ./lib/libstdc++.so.6-gdb.py <--- The ugly :-) Gerald