Date: Wed, 5 Apr 2000 17:26:02 +0200 From: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu> To: stable@freebsd.org Subject: Re: can not compile 4.x-STABLE for the second day Message-ID: <20000405172602.C16817@petra.hos.u-szeged.hu> In-Reply-To: <200004051351.JAA82222@rtfm.newton>; from mi@kot.ne.mediaone.net on Wed, Apr 05, 2000 at 09:51:12AM -0400 References: <200004051351.JAA82222@rtfm.newton>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! Please, do not take my message as an attempt to nit-pick on you, I am trying to help you... because I managed to do a *succesful* buildworld just 2 days ago. While looking at the output I noticed several things: On Wed, Apr 05, 2000 at 09:51:12AM -0400, Mikhail Teterin wrote: > It seems, a bunch of header files are not where they are exected :( > > I installed a fresh 4-stable yesterday (minimal install), cvsuped and > keep trying to rebuild the world. > > After copying a bunch of things (like _G_config.h) around I'm stumbled with: > > ===> libstdc++ > c++ -O2 -pipe -mcpu=i686 -march=i686 -fexpensive-optimizations ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I cannot see these in the Makefile... are you sure that such optimisations are in order when building the world? Also: > -I/home/mi/src/gnu/lib/libstdc++/../../../contrib/libstdc++/stl > -I/home/mi/src/gnu/lib/libstdc++/../../../contrib/libstdc++ > -I/home/mi/src/gnu/lib/libstdc++/../../../contrib/libstdc++/../gcc/cp/inc > -I. -nostdinc++ -fno-implicit-templates -c /home/mi/src/gnu Hmmm... let's see the "original" from my logs: c++ -I/usr/obj/usr/src/i386/usr/include/g++ -O -pipe -I/usr/src/gnu/lib/libstdc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/../libio -I. -I/usr/obj/usr/src/i386/usr/include -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/stl -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/../gcc/cp/inc -I. -nostdinc++ -fno-implicit-templates -c /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/stdexcepti.cc -o stdexcepti.o I take it you are using a modified Makefile? Because quite a few -I statements are missing from your output, with libio being one of them... Yours: -${SRCDIR}/contrib/libstdc++/stl -${SRCDIR}/contrib/libstdc++ -${SRCDIR}/contrib/gcc/cp/inc Stock (v 1.24, 1999/11/15 04:16:19 obrien) for RELENG_4 and HEAD: -${OBJDIR}/usr/src/i386/usr/include/g++ -${SRCDIR}/gnu/lib/libstdc++ -${SRCDIR}/contrib/libstdc++/include -${SRCDIR}/contrib/libio -${OBJDIR}/usr/src/i386/usr/include -${SRCDIR}/contrib/libstdc++/stl -${SRCDIR}/contrib/libstdc++ -${SRCDIR}/contrib/gcc/cp/inc Quite a lot of 'em... are you sure g++ can find everything in the dirs specified by your Makefile? (just because you said you copied things around) Hope this helps somewhat... Cheers: Szilveszter ADAM Szeged University Szeged Hungary > /lib/libstdc++/../../../contrib/libstdc++/stdexcepti.cc -o stdexcepti.o > In file included from /home/mi/src/gnu/lib/libstdc++/../../../contrib/libstdc++/ > stl/alloc.h:21, > from /home/mi/src/gnu/lib/libstdc++/../../../contrib/libstdc++/ > std/bastring.h:39, > from /home/mi/src/gnu/lib/libstdc++/../../../contrib/libstdc++/ > string:6, > from /home/mi/src/gnu/lib/libstdc++/../../../contrib/libstdc++/ > stdexcept:36, > from /home/mi/src/gnu/lib/libstdc++/../../../contrib/libstdc++/ > stdexcepti.cc:8: > /home/mi/src/gnu/lib/libstdc++/../../../contrib/libstdc++/stl/stl_alloc.h:45: io > stream.h: No such file or directory > > If I copy the iostream.h from contrib/libio i get a bunch of compilation > errors :( This is quite upsetting and there is not a word in UPDATING, > which claims to be obsoletee nor on the mailing lists. -- ------------------------------------------------------------------------------- * Szilveszter ADAM * JATE Szeged * email: sziszi@petra.hos.u-szeged.hu * * Homepage : none * alternate email: cc@flanker.itl.net.ua * * Finger sziszi@petra.hos.u-szeged.hu for PGP key. * * I prefer using the door instead of Windows(tm)... * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000405172602.C16817>