On 16-8-2016 22:33, Peter Jeremy wrote: > On 2016-Aug-16 20:31:57 +0200, Willem Jan Withagen <wjw_at_digiware.nl> 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... --WjWReceived on Tue Aug 16 2016 - 19:14:53 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC