From owner-freebsd-current@freebsd.org Sun Dec 20 00:03:58 2015 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 C8221A4CC02 for ; Sun, 20 Dec 2015 00:03:58 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A36EE1148; Sun, 20 Dec 2015 00:03:58 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x230.google.com with SMTP id v86so68258697pfa.2; Sat, 19 Dec 2015 16:03:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=R6iTRH8ZnLU7vrHwcQC1idxL74qWAuYWgjTU3V9iuaI=; b=cxi/IKzPWx4CK6UUXT8nb043Y8PxB4M+mrMd/5Ef8J08XwKEz4tkehdNl2HteFaqoJ KRA3Uc0fQkuJsD6aQ/alFD4VAnmkNNpZed3aEAMcbRJTcTRl8Ut2Lgn6Xq60NWhHjEhK 2NeQsfBvDS6nanHK+ISO5HqCEk9QP2r3aUkvnab4lt06g79pFVoF6yKhLTx6AAf7Xip6 vDytChz5y20PD8MqqiKlBvTKc/1xQ9V0Hqj0uHsxFG0aRPpAGjZqFI9OKQKNS7AlC74L /B5ZJquHAUufR490yZ+df3Byq8egm2fFTk2tVn1lrKMVAx13nUHiMEvfHJ/xTz+E2GK5 RiZA== X-Received: by 10.98.66.137 with SMTP id h9mr16191765pfd.80.1450569838242; Sat, 19 Dec 2015 16:03:58 -0800 (PST) Received: from [192.168.20.7] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id w62sm25785025pfi.48.2015.12.19.16.03.56 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Dec 2015 16:03:57 -0800 (PST) From: NGie Cooper Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Building head@ 's rescue/rescue Date: Sat, 19 Dec 2015 16:03:53 -0800 Message-Id: <15D539F8-F78C-4B94-8A45-A767AB927350@gmail.com> Cc: Dimitry Andric , John Baldwin To: FreeBSD CURRENT Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 20 Dec 2015 00:03:59 -0000 Hi, I ran into the following error trying to build rescue/rescue as = part of buildworld on 10.2-RELEASE-p7 / i386. Has anyone seen this = before? Thanks, -NGie % git log --show-notes --grep svn -n 1 commit 69774947bfffd5e16d26b60a82d880aa659abbf2 Author: imp Date: Sat Dec 19 19:20:48 2015 +0000 Move some MIPS specific flags to be more congruent with other architectures. Notes: svn path=3D/head/; revision=3D292474 % env NO_CLEAN=3D1 make buildworld -j2 ... --- rescue --- cc -static -o rescue rescue.o cat.lo chflags.lo chio.lo chmod.lo cp.lo = date.lo dd.lo df.lo echo.lo ed.lo expr.lo getfacl.lo hostname.lo kenv.lo = kill.lo ln.lo ls.lo mkdir.lo mv.lo pkill.lo ps.lo pwd.lo realpath.lo = rm.lo rmdir.lo setfacl.lo sh.lo sleep.lo stty.lo sync.lo test.lo = badsect.lo camcontrol.lo ccdconfig.lo clri.lo devfs.lo dmesg.lo dump.lo = dumpfs.lo dumpon.lo fsck.lo fsck_ffs.lo fsck_msdosfs.lo fsdb.lo = fsirand.lo gbde.lo geom.lo ifconfig.lo init.lo kldconfig.lo kldload.lo = kldstat.lo kldunload.lo ldconfig.lo md5.lo mdconfig.lo mdmfs.lo mknod.lo = mount.lo mount_cd9660.lo mount_msdosfs.lo mount_nfs.lo mount_nullfs.lo = mount_udf.lo mount_unionfs.lo newfs.lo newfs_msdos.lo nos-tun.lo ping.lo = reboot.lo restore.lo rcorder.lo route.lo routed.lo rtquery.lo rtsol.lo = savecore.lo spppcontrol.lo swapon.lo sysctl.lo tunefs.lo umount.lo = ping6.lo zfs.lo zpool.lo bsdlabel.lo sconfig.lo fdisk.lo dhclient.lo = head.lo mt.lo nc.lo sed.lo tail.lo tee.lo gzip.lo bzip2.lo less.lo xz.lo = tar.lo id.lo zdb.lo chroot.lo chown.lo = /usr/obj/usr/src/git/rescue/rescue/../librescue/exec.o = /usr/obj/usr/src/git/rescue/rescue/../librescue/getusershell.o = /usr/obj/usr/src/git/rescue/rescue/../librescue/login_class.o = /usr/obj/usr/src/git/rescue/rescue/../librescue/popen.o = /usr/obj/usr/src/git/rescue/rescue/../librescue/rcmdsh.o = /usr/obj/usr/src/git/rescue/rescue/../librescue/sysctl.o = /usr/obj/usr/src/git/rescue/rescue/../librescue/system.o -lcrypt -ledit = -ljail -lkvm -lelf -ll -ltermcapw -lutil -lxo -l80211 -lalias -lcam = -lncursesw -ldevstat -lipsec -llzma -lavl -lzpool -lzfs_core -lzfs = -lnvpair -lpthread -luutil -lumem -lgeom -lbsdxml -lkiconv -lmt -lsbuf = -lufs -lz -lbz2 -larchive -lcrypto -lmd -lm nc.lo: In function `_$$hide$$ nc.lo main': (.text+0x750): warning: warning: mktemp() possibly used unsafely; = consider using mkstemp() --- all_subdir_sbin --- --- ea.o --- cc -O2 -pipe -O2 -pipe -I/usr/src/git/sbin/fsck_ffs = -I/usr/src/git/sbin/fsck_ffs/../mount -g -MD -MP -MF.depend.ea.o = -MTea.o -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -Werror = -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 -c /usr/src/git/sbin/fsck_ffs/ea.c -o ea.o --- fsutil.o --- cc -O2 -pipe -O2 -pipe -I/usr/src/git/sbin/fsck_ffs = -I/usr/src/git/sbin/fsck_ffs/../mount -g -MD -MP -MF.depend.fsutil.o = -MTfsutil.o -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers = -Werror -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 -c /usr/src/git/sbin/fsck_ffs/fsutil.c -o fsutil.o --- all_subdir_rescue --- /usr/obj/usr/src/git/tmp/usr/lib/libkvm.a(kvm.o): In function = `_kvm_open': /usr/src/git/lib/libkvm/kvm.c:444: undefined reference to = `__start_set_kvm_arch' /usr/src/git/lib/libkvm/kvm.c:444: undefined reference to = `__stop_set_kvm_arch' /usr/src/git/lib/libkvm/kvm.c:444: undefined reference to = `__stop_set_kvm_arch' cc: error: linker command failed with exit code 1 (use -v to see = invocation) *** [rescue] Error code 1 bmake[5]: stopped in /usr/obj/usr/src/git/rescue/rescue 1 error bmake[5]: stopped in /usr/obj/usr/src/git/rescue/rescue *** [rescue] Error code 2 bmake[4]: stopped in /usr/src/git/rescue/rescue 1 error bmake[4]: stopped in /usr/src/git/rescue/rescue *** [all] Error code 2 bmake[3]: stopped in /usr/src/git/rescue 1 error bmake[3]: stopped in /usr/src/git/rescue *** [all_subdir_rescue] Error code 2 =E2=80=A6 $ cc --version FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: i386-unknown-freebsd10.2 Thread model: posix $ strings /usr/obj/usr/src/git/tmp/usr/lib/libkvm.a | egrep -n = '__(stop|start)_set_kvm_arch' 97:__start_set_kvm_arch 98:__stop_set_kvm_arch 140:__start_set_kvm_arch 141:__stop_set_kvm_arch 182:__start_set_kvm_arch 183:__stop_set_kvm_arch 233:__start_set_kvm_arch 234:__stop_set_kvm_arch 296:__start_set_kvm_arch 297:__stop_set_kvm_arch 395:__start_set_kvm_arch 396:__stop_set_kvm_arch 472:__start_set_kvm_arch 473:__stop_set_kvm_arch 526:__start_set_kvm_arch 527:__stop_set_kvm_arch 589:__start_set_kvm_arch 590:__stop_set_kvm_arch 651:__start_set_kvm_arch 652:__stop_set_kvm_arch 711:__start_set_kvm_arch 712:__stop_set_kvm_arch 3510:__start_set_kvm_arch 3585:__stop_set_kvm_arch 3970:__start_set_kvm_arch 3971:__stop_set_kvm_arch $=