Hi, 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) ===> lib/libproc (all) cc -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_bkpt.c -o proc_bkpt.o cc -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_create.c -o proc_create.o cc -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_regs.c -o proc_regs.o cc -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_sym.c -o proc_sym.o cc -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_rtld.c -o proc_rtld.o cc -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_util.c -o proc_util.o building static proc library ranlib libproc.a cc -fpic -DPIC -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_bkpt.c -o proc_bkpt.So cc -fpic -DPIC -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_create.c -o proc_create.So cc -fpic -DPIC -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_regs.c -o proc_regs.So cc -fpic -DPIC -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_sym.c -o proc_sym.So cc -fpic -DPIC -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_rtld.c -o proc_rtld.So cc -fpic -DPIC -O2 -pipe -I/usr/src/lib/libproc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libproc/proc_util.c -o proc_util.So bmake[4]: /usr/obj/usr/src/lib/libproc/.depend, 377: ignoring stale .depend for /usr/obj/usr/src/tmp/usr/lib/libstdc++.a building shared library libproc.so.2 /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lsupc++ *** Error code 1 Stop. bmake[4]: stopped in /usr/src/lib/libproc *** Error code 1 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 Source tree is freshly svn'upped and /usr/obj was emptied every time I attempted to build world. Could someone shed any idea how to fix? Regards, Milan
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 sameYou 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>