This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++] Make use of runtime demangler
- From: Phil Edwards <phil at jaj dot com>
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 29 Apr 2002 17:42:25 -0400
- Subject: Re: [libstdc++] Make use of runtime demangler
- References: <20020329182924.A31493@disaster.basement.lan> <789220000.1017681141@gandalf.codesourcery.com> <200204252218.41897@enzo.bigblue.local>
On Thu, Apr 25, 2002 at 10:18:41PM +0200, Franz Sirl wrote:
> On Monday 01 April 2002 19:12, Mark Mitchell wrote:
> > > 1) Those two files do not build warning-free because in the v3 build,
> > > -DHAVE_CONFIG_H is not passed (thus the headers for malloc and whatnot
> > > are not included) because we can't give it the config.h from
> > > libiberty. I played with building a symlink to libiberty's config.h but I
[...]
> > I believe we need to fix this, or risk problems on platforms where ints
> > and pointers do not have the same size.
>
> Oops, nearly forgot about this one, I have a patch for this. It's actually a
> bug in the libstdc++ Makefiles, cause configure generates config.h for
> libstdc++ too. In trying to pass the DEBUG_FLAGS on the right place in the
> compile command, $(DEFS) got left out.
Not "left out," but rather "deliberately removed." The changelog entry is
2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
Self-compile with shadow headers.
[...]
* src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
(CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
-> (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
-> std or shadow directories.
-> (LTCXXCOMPILE): Same.
The CXXCOMPILE variable itself was removed nine days later.
So, before we start reintroducing any of that, I have to wonder whether the
same problems -- presumably problems with shadow headers -- will still occur.
Probably not a fair question, since so much of our header setup has changed
in the last 18 months.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams