This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Patch to eliminate implicit malloc (etc) decls in libsupc++
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: Phil Edwards <phil at jaj dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>,"David S. Miller" <davem at redhat dot com>,mark at codesourcery dot com,ghazi at caip dot rutgers dot edu,gcc-patches at gcc dot gnu dot org,libstdc++ at gcc dot gnu dot org
- Date: Mon, 06 May 2002 14:17:06 +0200
- Subject: Re: Patch to eliminate implicit malloc (etc) decls in libsupc++
- References: <oradrgtsev.fsf@livre.redhat.lsd.ic.unicamp.br><200205040243.WAA28360@caip.rutgers.edu><ory9f0tu18.fsf@livre.redhat.lsd.ic.unicamp.br><20020503.212132.119039436.davem@redhat.com><oradrgtsev.fsf@livre.redhat.lsd.ic.unicamp.br>
At 14:06 06.05.2002, Phil Edwards wrote:
>On Sat, May 04, 2002 at 02:04:40AM -0300, Alexandre Oliva wrote:
> > The patch is
> > extremely low risk.
>
>It fails to bootstrap for me. The top of the v3 build dir is not searched
>for include files, so config.h is not found. (Presumably Kaveh's test
>succeeded because some other config.h was being found? A build with -H
>would help here.)
>
>
>/home/pme/build/build-2002-05-06/gcc/xgcc
>-B/home/pme/build/build-2002-05-06/gcc/
>-B/home/pme/build/install-2002-05-06/i686-pc-linux-gnu/bin/
>-B/home/pme/build/install-2002-05-06/i686-pc-linux-gnu/lib/ -isystem
>/home/pme/build/install-2002-05-06/i686-pc-linux-gnu/include
>-L/home/pme/build/build-2002-05-06/ld -DHAVE_CONFIG_H
>-I/home/pme/src/unified/libstdc++-v3/../gcc
>-I/home/pme/src/unified/libstdc++-v3/../include
>-I/home/pme/build/build-2002-05-06/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
>-I/home/pme/build/build-2002-05-06/i686-pc-linux-gnu/libstdc++-v3/include
>-I/home/pme/src/unified/libstdc++-v3/libsupc++ -g -O2 -D_GNU_SOURCE
>-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
>-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g
>-DIN_GLIBCPP_V3 -Wno-error -c cxa_demangle.c -fPIC -DPIC -o cxa_demangle.o
>cc1: warning: ignoring command line option '-fno-implicit-templates'
>cc1: warning: (it is valid for C++ but not the selected language)
>cxa_demangle.c:39:20: config.h: No such file or directory
How does the DEFS variable look like in your Makefile.in/generated
Makefile? There should be a -I.. in it (it was for me on linux-gnu,
automake-1.4p5-4)
Franz.