Can't build 10.0-STABLE on amd64
Dimitry Andric
dim at FreeBSD.org
Mon Feb 17 23:10:10 UTC 2014
On 17 Feb 2014, at 16:09, Milan Obuch <freebsd-stable at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140218/124f953c/attachment.sig>
More information about the freebsd-stable
mailing list