From owner-freebsd-stable Wed Apr 5 8:31:55 2000 Delivered-To: freebsd-stable@freebsd.org Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id 414F137BD71 for ; Wed, 5 Apr 2000 08:26:17 -0700 (PDT) (envelope-from sziszi@petra.hos.u-szeged.hu) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.3+Sun/SMI-SVR4) id RAA09791; Wed, 5 Apr 2000 17:26:16 +0200 (MET DST) Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 3.12 #1 (Debian)) id 12crgw-0006LI-00 for ; Wed, 05 Apr 2000 17:26:02 +0200 Date: Wed, 5 Apr 2000 17:26:02 +0200 From: Szilveszter Adam 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> Mail-Followup-To: stable@freebsd.org References: <200004051351.JAA82222@rtfm.newton> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <200004051351.JAA82222@rtfm.newton>; from mi@kot.ne.mediaone.net on Wed, Apr 05, 2000 at 09:51:12AM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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