From owner-freebsd-current@freebsd.org Tue Aug 16 21:14:53 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 190AEBBBB48 for ; Tue, 16 Aug 2016 21:14:53 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (gtw.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A45A91326 for ; Tue, 16 Aug 2016 21:14:52 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 18B6D253BB; Tue, 16 Aug 2016 23:14:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Vatnn6ddDO2; Tue, 16 Aug 2016 23:14:47 +0200 (CEST) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id A4255253BA; Tue, 16 Aug 2016 23:14:47 +0200 (CEST) Subject: Re: Somethign missing in my environment? To: Peter Jeremy References: <20160816203324.GJ65184@server.rulingia.com> Cc: freebsd current From: Willem Jan Withagen Message-ID: Date: Tue, 16 Aug 2016 23:14:45 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160816203324.GJ65184@server.rulingia.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 21:14:53 -0000 On 16-8-2016 22:33, Peter Jeremy wrote: > On 2016-Aug-16 20:31:57 +0200, Willem Jan Withagen wrote: >> I'm trying to compile world, but I keep getting: >> >> /usr/obj/usr/srcs/head/src/tmp/usr/lib/libgcc_s.so: undefined reference >> to `__gxx_personality_v0' >> cc: error: linker command failed with exit code 1 (use -v to see invocation) >> *** [h_raw.full] Error code 1 >> >> Even after refetching the complete tree. > > We need more context: > - What SVN revision of (presumably) -current is this? > - What architecture are you compiling on/for? > - What do you have in /etc/make.conf and /etc/src.conf > - What is your current environment? > - What is the output leading up to that error (what is being built? This afternoons svn co: Revision: 304191. amd64 # cat /etc/make.conf KERNCONF=GENERIC-NODEBUG LOADER_ZFS_SUPPORT=true WITH_ZFS=true DOC_LANG= en_US.ISO_8859-1 BATCH=yes WITHOUT_X11=yes WITH_PKGNG=yes WITHOUT_LOCALES=yes MALLOC_PRODUCTION=yes # cat /etc/src.conf DEBUG_FLAGS=-g -O0 env: PATH=/root/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:. TERM=xterm MAIL=/var/mail/root LOGNAME=root USER=root USERNAME=root HOME=/root SHELL=/bin/tcsh SUDO_COMMAND=/bin/tcsh SUDO_USER=wjw SUDO_UID=1000 SUDO_GID=1200 HOSTTYPE=FreeBSD VENDOR=amd OSTYPE=FreeBSD MACHTYPE=x86_64 SHLVL=1 PWD=/usr/srcs/head/src GROUP=wheel HOST=freetest.digiware.nl REMOTEHOST=opteronv6 PRINTER=ps PERLLIB=/home/wjw/bin:/home/wjw/etc TEX=/usr/local/share/texmf MIBS=ALL TITLE=%{\033]0;%m %n:%~\007%} MANPATH=/usr/share/man: And I'm running: make -j8 buildworld So getting a good target that give the error is hard. So I continued with make -DNOCLEAN -DNO_CLEAN buildworld. That gave: ===> lib/libc/tests/ssp (all) (cd /usr/srcs/head/src/lib/libc/tests/ssp && DEPENDFILE=.depend.h_fgets NO_SUBDIR=1 /usr/obj/usr/srcs/head/src/make.amd64/bmake -f /usr/srcs/head/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=t PROG=h_fgets ) (cd /usr/srcs/head/src/lib/libc/tests/ssp && DEPENDFILE=.depend.h_gets NO_SUBDIR=1 /usr/obj/usr/srcs/head/src/make.amd64/bmake -f /usr/srcs/head/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=t PROG=h_gets ) (cd /usr/srcs/head/src/lib/libc/tests/ssp && DEPENDFILE=.depend.h_getcwd NO_SUBDIR=1 /usr/obj/usr/srcs/head/src/make.amd64/bmake -f /usr/srcs/head/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=t PROG=h_getcwd ) (cd /usr/srcs/head/src/lib/libc/tests/ssp && DEPENDFILE=.depend.h_memcpy NO_SUBDIR=1 /usr/obj/usr/srcs/head/src/make.amd64/bmake -f /usr/srcs/head/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=t PROG=h_memcpy ) (cd /usr/srcs/head/src/lib/libc/tests/ssp && DEPENDFILE=.depend.h_memmove NO_SUBDIR=1 /usr/obj/usr/srcs/head/src/make.amd64/bmake -f /usr/srcs/head/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=t PROG=h_memmove ) (cd /usr/srcs/head/src/lib/libc/tests/ssp && DEPENDFILE=.depend.h_memset NO_SUBDIR=1 /usr/obj/usr/srcs/head/src/make.amd64/bmake -f /usr/srcs/head/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=t PROG=h_memset ) (cd /usr/srcs/head/src/lib/libc/tests/ssp && DEPENDFILE=.depend.h_raw NO_SUBDIR=1 /usr/obj/usr/srcs/head/src/make.amd64/bmake -f /usr/srcs/head/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=t PROG=h_raw ) cc -O2 -pipe -fstack-protector-all -Wstack-protector -fsanitize=bounds -g -O0 -std=gnu99 -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -o h_raw.full h_raw.o /usr/obj/usr/srcs/head/src/tmp/usr/lib/libgcc_s.so: undefined reference to `__gxx_personality_v0' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Hope that sheds a bit more light on this... --WjW