From owner-freebsd-current@freebsd.org Sun Dec 20 01:33:16 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 6E6209D3BD6 for ; Sun, 20 Dec 2015 01:33:16 +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 468811C45; Sun, 20 Dec 2015 01:33:16 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x230.google.com with SMTP id n128so51921200pfn.0; Sat, 19 Dec 2015 17:33:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UivRFk9N1kOpq9Jtov18AlQbbvz1omthyxDa8u0kB5M=; b=AbJNVjFN4dNVBrclYXkAarXMCSrYSOt4bA9H7R/A9rfW5mGlI0m2hT32FOaCdkmjep c5CR2Kv8n1xP6zxO4El4rDHFK1VmU8y5g32WqsOo3h5YRI/Nz0bg2HeykQviqgYB68U9 iAVO038rbar4X4uNjFi19aAw7TV4F4La7SDePRi6/g2YVLlhYKAifowMkU7uqj44Qfbo ohVlbesd8ZZ7+htW4x534oBjXVwPR1q8FKlJoJ3jB3I88Rht26JXhdhh1XGwg7B/h3+y PXG9ilzuluM1B/OyQcpmlpxx0jKEl+miyj2TMs/6UAhDXDJlA6MeozROueqnVuS8XUNc qQMQ== X-Received: by 10.98.86.195 with SMTP id h64mr16914333pfj.96.1450575195944; Sat, 19 Dec 2015 17:33:15 -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 tm4sm30610373pab.3.2015.12.19.17.33.13 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Dec 2015 17:33:14 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Failing to build head@r292474 's rescue/rescue on 10.2-RELEASE-p7 / i386 From: NGie Cooper In-Reply-To: <541A39EC-258D-4FCF-AC2C-DF251C0A8B2D@gmail.com> Date: Sat, 19 Dec 2015 17:33:12 -0800 Cc: Dimitry Andric , John Baldwin Content-Transfer-Encoding: quoted-printable Message-Id: <11342C71-ACE5-40D3-8CCB-D928DCFA0CB5@gmail.com> References: <15D539F8-F78C-4B94-8A45-A767AB927350@gmail.com> <541A39EC-258D-4FCF-AC2C-DF251C0A8B2D@gmail.com> To: FreeBSD CURRENT 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 01:33:16 -0000 > On Dec 19, 2015, at 17:16, NGie Cooper wrote: >=20 >=20 >> On Dec 19, 2015, at 16:09, NGie Cooper wrote: >>=20 >> (Fixed the subject line) >>=20 >>> On Dec 19, 2015, at 16:03, NGie Cooper = wrote: >>>=20 >>> 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 >>>=20 >>> % git log --show-notes --grep svn -n 1 >>> commit 69774947bfffd5e16d26b60a82d880aa659abbf2 >>> Author: imp >>> Date: Sat Dec 19 19:20:48 2015 +0000 >>>=20 >>> Move some MIPS specific flags to be more congruent with other >>> architectures. >>>=20 >>> Notes: >>> svn path=3D/head/; revision=3D292474 >=20 > Looks like it=E2=80=99s broken in general on i386 :(=E2=80=A6 >=20 > % (set -e; cd rescue; make obj; make depend; make all) > ... > 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() > /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) > *** Error code 1 >=20 > Stop. > make[2]: stopped in /usr/obj/usr/src/git/rescue/rescue > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/src/git/rescue/rescue > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src/git/rescue Hmmm=E2=80=A6 it happened on CURRENT, but once I rebuilt/reinstalled = libkvm using CURRENT, it worked. Weird. So, there might be a toolchain = issue going from 10.2 -> 11.0-CURRENT? $ uname -a FreeBSD fbsd11-i386.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0: Sat Dec = 19 16:34:48 PST 2015 = ngie@fbsd11-i386.local:/usr/obj/usr/src/git/sys/GENERIC-NODEBUG i386 Thanks, -NGie=