From owner-freebsd-stable@FreeBSD.ORG Tue Feb 18 08:49:09 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9E5A895; Tue, 18 Feb 2014 08:49:09 +0000 (UTC) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 254221B52; Tue, 18 Feb 2014 08:49:08 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlab.sk with ESMTPA; Tue, 18 Feb 2014 09:49:06 +0100 id 005080BA.53031E82.0000BC00 Date: Tue, 18 Feb 2014 09:49:05 +0100 From: Milan Obuch To: Dimitry Andric Subject: Re: Can't build 10.0-STABLE on amd64 Message-ID: <20140218094905.641e9f7c@zeta.dino.sk> In-Reply-To: <902ECF55-7C43-4EF9-8ACD-7F1815671D11@FreeBSD.org> References: <20140217160935.53f70f88@zeta.dino.sk> <902ECF55-7C43-4EF9-8ACD-7F1815671D11@FreeBSD.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; i386-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2014 08:49:09 -0000 On Tue, 18 Feb 2014 00:09:48 +0100 Dimitry Andric wrote: > On 17 Feb 2014, at 16:09, Milan Obuch wrote: > > I have trouble build world from 10.0-STABLE sources on freshly > > rebuilt 9.2-STABLE machine, amd64 arch. I want to upgrade it. The > > error shown is (lines edited into paragraphs to mitigate line > > wrapping effect) > ... > > building shared library libproc.so.2 > > > > /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lsupc++ > ... > > There are following build options used: > > > > WITHOUT_ATM=YES > > WITHOUT_AUDIT=YES > > WITHOUT_AUTHPF=YES > > WITHOUT_BLUETOOTH=YES > > WITHOUT_CALENDAR=YES > > WITHOUT_CDDL=YES > > WITHOUT_CLANG=YES > > WITHOUT_CLANG_FULL=YES > > WITHOUT_CLANG_IS_CC=YES > > WITHOUT_CTM=YES > > WITHOUT_DICT=YES > > WITHOUT_FDT=YES > > WITHOUT_FLOPPY=YES > > WITHOUT_FREEBSD_UPDATE=YES > > WITHOUT_GAMES=YES > > WITHOUT_GCOV=YES > > WITHOUT_GNUCXX=YES > > WITHOUT_GPIB=YES > > WITHOUT_GPIO=YES > > WITHOUT_HTML=YES > > WITHOUT_INET6=YES > > WITHOUT_INET6_SUPPORT=YES > > WITHOUT_INFO=YES > > WITHOUT_IPFILTER=YES > > WITHOUT_IPFW=YES > > WITHOUT_IPX=YES > > WITHOUT_IPX_SUPPORT=YES > > WITHOUT_KERBEROS=YES > > WITHOUT_KERBEROS_SUPPORT=YES > > WITHOUT_LIBCPLUSPLUS=YES > > WITHOUT_LOCATE=YES > > WITHOUT_LPR=YES > > WITHOUT_NAND=YES > > WITHOUT_NCP=YES > > WITHOUT_NDIS=YES > > WITHOUT_NETCAT=YES > > WITHOUT_NIS=YES > > WITHOUT_PC_SYSINSTALL=YES > > WITHOUT_PORTSNAP=YES > > WITHOUT_PROFILE=YES > > WITHOUT_QUOTAS=YES > > WITHOUT_RCMDS=YES > > WITHOUT_ROUTED=YES > > WITHOUT_SENDMAIL=YES > > WITHOUT_SYSINSTALL=YES > > WITHOUT_WIRELESS=YES > > WITHOUT_WIRELESS_SUPPORT=YES > > WITHOUT_WPA_SUPPLICANT_EAPOL=YES > > WITHOUT_ZFS=YES > > > > WITHOUT_GNUCXX and WITHOUT_LIBCPLUSPLUS were added as an attempt > > because error message mensions libsupc++. It does not matter, with > > our without them the failure is the same > > You need either libcxxrt or libsupc++ to build libproc. It looks like > you are forcing the build with gcc, so you need to enable libstdc++, > otherwise you will not get libsupc++. > > E.g., try removing WITHOUT_GNUCXX, and adding WITH_GNUCXX. Adding > WITH_GCC is probably also wise. > > -Dimitry > In theory, you should be right. However, WITHOUT_GNUCXX and WITHOUT_LIBCPLUSPLUS were added as an attempt to workaround the failure (incorrect one, but hey, nobody is perfect), which was still the same. As an accidental notice, exactly the same operation on i386 arch went through flawlessly. Adding WITH_GCC could make a change, thanks for reminder. However, I did an upgrade with removed /etc/src.conf - or, to be exact, did a buildworld, but buildkernel failed - when trying to build my somehow minimized kernel with some strange error compiling some .S file, trying to build GENERIC kernel with failure to run ctfconvert. I had to install it per hand before building kernel and then the rest was done. What the original failure actually was, seems to be somehow mystic to me, but as I was able to do the desired 9 -> 10 upgrade, even if a bit strange way, is enough for me now. If normal 10-STABLE build fails again, I will report, but that's for now. Regards, Milan