public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/40289] New: [4.5 Regression] share/libstdc++/python/ polutes common namespace
@ 2009-05-29 11:12 gerald at pfeifer dot com
2009-05-29 11:26 ` [Bug libstdc++/40289] [4.5 Regression] share/libstdc++/python/ pollutes " rguenth at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: gerald at pfeifer dot com @ 2009-05-29 11:12 UTC (permalink / raw)
To: gcc-bugs
This patch
2009-05-28 Tom Tromey <tromey@redhat.com>
Phil Muldoon <pmuldoon@redhat.com>
Jonathan Wakely <jwakely.gcc@gmail.com>
* python/Makefile.in, , python/libstdcxx/__init__.py,
python/libstdcxx/v6/__init__.py, python/libstdcxx/v6/printers.py,
python/hook.in, python/Makefile.am: New files.
* configure, Makefile.in: Rebuild.
* acinclude.m4 (glibcxx_SUBDIRS): Add python.
* Makefile.am (SUBDIRS): Add python.
pollutes global namespace under $PREFIX with
share/libstdc++/python/libstdcxx/__init__.py
share/libstdc++/python/libstdcxx/v6/__init__.py
share/libstdc++/python/libstdcxx/v6/printers.py
which will create conflicts when installing several versions of GCC under
the same $PREFIX.
This is common practice under FreeBSD, for example, where the ports
have been using --program-suffix, --libdir, --libexecdir just fine for
many years.
--
Summary: [4.5 Regression] share/libstdc++/python/ polutes common
namespace
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gerald at pfeifer dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40289
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/40289] [4.5 Regression] share/libstdc++/python/ pollutes common namespace
2009-05-29 11:12 [Bug libstdc++/40289] New: [4.5 Regression] share/libstdc++/python/ polutes common namespace gerald at pfeifer dot com
@ 2009-05-29 11:26 ` rguenth at gcc dot gnu dot org
2009-05-29 17:27 ` tromey at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-05-29 11:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-05-29 11:26 -------
It probably needs to be split into a separate package for distributors (or go
with a libstdc++ library package). As long as it is configurable whether these
files get installed the situation is IMHO ok.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40289
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/40289] [4.5 Regression] share/libstdc++/python/ pollutes common namespace
2009-05-29 11:12 [Bug libstdc++/40289] New: [4.5 Regression] share/libstdc++/python/ polutes common namespace gerald at pfeifer dot com
2009-05-29 11:26 ` [Bug libstdc++/40289] [4.5 Regression] share/libstdc++/python/ pollutes " rguenth at gcc dot gnu dot org
@ 2009-05-29 17:27 ` tromey at gcc dot gnu dot org
2009-05-29 18:11 ` tromey at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2009-05-29 17:27 UTC (permalink / raw)
To: gcc-bugs
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-05-29 17:26:59
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40289
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/40289] [4.5 Regression] share/libstdc++/python/ pollutes common namespace
2009-05-29 11:12 [Bug libstdc++/40289] New: [4.5 Regression] share/libstdc++/python/ polutes common namespace gerald at pfeifer dot com
2009-05-29 11:26 ` [Bug libstdc++/40289] [4.5 Regression] share/libstdc++/python/ pollutes " rguenth at gcc dot gnu dot org
2009-05-29 17:27 ` tromey at gcc dot gnu dot org
@ 2009-05-29 18:11 ` tromey at gcc dot gnu dot org
2009-06-10 22:58 ` tromey at gcc dot gnu dot org
2009-06-10 23:06 ` tromey at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2009-05-29 18:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tromey at gcc dot gnu dot org 2009-05-29 18:11 -------
I'm working on a fix.
Distro folks will probably want to rewrite the "hook" file and stick
it somewhere else. The auto-loading search path is documented in the
gdb manual.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40289
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/40289] [4.5 Regression] share/libstdc++/python/ pollutes common namespace
2009-05-29 11:12 [Bug libstdc++/40289] New: [4.5 Regression] share/libstdc++/python/ polutes common namespace gerald at pfeifer dot com
` (2 preceding siblings ...)
2009-05-29 18:11 ` tromey at gcc dot gnu dot org
@ 2009-06-10 22:58 ` tromey at gcc dot gnu dot org
2009-06-10 23:06 ` tromey at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2009-06-10 22:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tromey at gcc dot gnu dot org 2009-06-10 22:58 -------
Subject: Bug 40289
Author: tromey
Date: Wed Jun 10 22:58:22 2009
New Revision: 148357
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148357
Log:
PR libstdc++/40289:
* python/Makefile.in: Rebuild.
* python/hook.in: Compute module path relative to objfile.
* python/Makefile.am (pythondir): Redefine.
(gdb.py): Subst toolexeclibdir.
(install-data-local): Rewrite.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/python/Makefile.am
trunk/libstdc++-v3/python/Makefile.in
trunk/libstdc++-v3/python/hook.in
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40289
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/40289] [4.5 Regression] share/libstdc++/python/ pollutes common namespace
2009-05-29 11:12 [Bug libstdc++/40289] New: [4.5 Regression] share/libstdc++/python/ polutes common namespace gerald at pfeifer dot com
` (3 preceding siblings ...)
2009-06-10 22:58 ` tromey at gcc dot gnu dot org
@ 2009-06-10 23:06 ` tromey at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2009-06-10 23:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tromey at gcc dot gnu dot org 2009-06-10 23:06 -------
I changed this to install the code in a versioned directory.
I think this fixes the problem; reopen this PR if not.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40289
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-06-10 23:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-29 11:12 [Bug libstdc++/40289] New: [4.5 Regression] share/libstdc++/python/ polutes common namespace gerald at pfeifer dot com
2009-05-29 11:26 ` [Bug libstdc++/40289] [4.5 Regression] share/libstdc++/python/ pollutes " rguenth at gcc dot gnu dot org
2009-05-29 17:27 ` tromey at gcc dot gnu dot org
2009-05-29 18:11 ` tromey at gcc dot gnu dot org
2009-06-10 22:58 ` tromey at gcc dot gnu dot org
2009-06-10 23:06 ` tromey at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).