Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 00:09:48 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Milan Obuch <freebsd-stable@dino.sk>
Cc:        freebsd-stable stable <freebsd-stable@freebsd.org>
Subject:   Re: Can't build 10.0-STABLE on amd64
Message-ID:  <902ECF55-7C43-4EF9-8ACD-7F1815671D11@FreeBSD.org>
In-Reply-To: <20140217160935.53f70f88@zeta.dino.sk>
References:  <20140217160935.53f70f88@zeta.dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_8904AEF3-5C5F-41E6-B4E4-E71CC276ABDD
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 17 Feb 2014, at 16:09, Milan Obuch <freebsd-stable@dino.sk> 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


--Apple-Mail=_8904AEF3-5C5F-41E6-B4E4-E71CC276ABDD
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlMClsQACgkQsF6jCi4glqO+7wCgyfMjcGscE/fYwYd+JJS+IP56
dgQAoNWoR6yFK6Ebx99E43SS3WSDhhbs
=Pc8c
-----END PGP SIGNATURE-----

--Apple-Mail=_8904AEF3-5C5F-41E6-B4E4-E71CC276ABDD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?902ECF55-7C43-4EF9-8ACD-7F1815671D11>