Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2015 16:09:11 -0800
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Cc:        Dimitry Andric <dim@FreeBSD.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: Failing to build head@r292474 's rescue/rescue on 10.2-RELEASE-p7 / i386
Message-ID:  <BF022A89-CD76-4799-A947-718FF546D2F8@gmail.com>
In-Reply-To: <15D539F8-F78C-4B94-8A45-A767AB927350@gmail.com>
References:  <15D539F8-F78C-4B94-8A45-A767AB927350@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
(Fixed the subject line)

> On Dec 19, 2015, at 16:03, NGie Cooper <yaneurabeya@gmail.com> 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 <imp@FreeBSD.org>
> 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
> % 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
>=20
> bmake[5]: stopped in /usr/obj/usr/src/git/rescue/rescue
> 1 error
>=20
> bmake[5]: stopped in /usr/obj/usr/src/git/rescue/rescue
> *** [rescue] Error code 2
>=20
> bmake[4]: stopped in /usr/src/git/rescue/rescue
> 1 error
>=20
> bmake[4]: stopped in /usr/src/git/rescue/rescue
> *** [all] Error code 2
>=20
> bmake[3]: stopped in /usr/src/git/rescue
> 1 error
>=20
> bmake[3]: stopped in /usr/src/git/rescue
> *** [all_subdir_rescue] Error code 2
>=20
> =E2=80=A6
>=20
> $ 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
> $




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF022A89-CD76-4799-A947-718FF546D2F8>