conf/182174: Build failures when building rescue with gcc
Garrett Cooper
yaneurabeya at gmail.com
Tue Sep 17 00:50:00 UTC 2013
>Number: 182174
>Category: conf
>Synopsis: Build failures when building rescue with gcc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 17 00:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD fuji-current.local 10.0-CURRENT FreeBSD 10.0-CURRENT #13 24029d3: Mon Aug 12 01:28:48 PDT 2013 root at fuji-current.local:/usr/obj/usr/src/sys/FUJI-NOCOMPAT i386
>Description:
Ran into the error shown consistently when trying to build /rescue/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 stty.lo sync.lo test.lo csh.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 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 vi.lo id.lo chroot.lo chow
n.lo /usr/obj/usr/src.svn/rescue/rescue/../librescue/exec.o /usr/obj/usr/src.svn/rescue/rescue/../librescue/getusershell.o /usr/obj/usr/src.svn/rescue/rescue/../librescue/login_class.o /usr/obj/usr/src.svn/rescue/rescue/../librescue/popen.o /usr/obj/usr/src.svn/rescue/rescue/../librescue/rcmdsh.o /usr/obj/usr/src.svn/rescue/rescue/../librescue/sysctl.o /usr/obj/usr/src.svn/rescue/rescue/../librescue/system.o -lcrypt -ledit -lkvm -ll -ltermcap -lutil -lalias -lcam -lcurses -ldevstat -lipsec -lgeom -lbsdxml -lkiconv -lmd -lsbuf -lufs -lz -lbz2 -llzma -larchive -lcrypto -lm
nc.lo: In function `_$$hide$$ nc.lo main':
(.text+0x2212): warning: warning: mktemp() possibly used unsafely; consider using mkstemp()
camcontrol.lo: In function `_$$hide$$ camcontrol.lo scsisanitize':
_$$hide$$ camcontrol.lo camcontrol.c:(.text+0xaf6c): undefined reference to `scsi_sanitize'
dhclient.lo: In function `_$$hide$$ dhclient.lo go_daemon':
(.text+0xa00): undefined reference to `__cap_rights_init'
dhclient.lo: In function `_$$hide$$ dhclient.lo go_daemon':
(.text+0xad5): undefined reference to `__cap_rights_init'
dhclient.lo: In function `_$$hide$$ dhclient.lo rewrite_client_leases':
(.text+0x1c80): undefined reference to `__cap_rights_init'
dhclient.lo: In function `_$$hide$$ dhclient.lo main':
(.text+0x47ee): undefined reference to `__cap_rights_init'
dhclient.lo: In function `_$$hide$$ dhclient.lo main':
(.text+0x48e7): undefined reference to `__cap_rights_init'
dhclient.lo:(.text+0x7b23): more undefined references to `__cap_rights_init' follow
*** [rescue] Error code 1
1 error
*** [rescue] Error code 2
1 error
*** [all] Error code 2
1 error
*** [rescue.all__D] Error code 2
>How-To-Repeat:
cat > /etc/src.conf <<EOF
MALLOC_PRODUCTION=
WITH_ATF=
WITHOUT_ATM=
WITHOUT_AUDIT=
WITHOUT_BHYVE=
WITHOUT_BIND_DNSSEC=
WITHOUT_BIND_ETC=
WITHOUT_BIND_LIBS_LWRES=
WITHOUT_BIND_NAMED=
WITHOUT_BLUETOOTH=
WITHOUT_BMAKE=
WITHOUT_BSNMP=
WITHOUT_CALENDAR=
WITHOUT_CLANG=
WITHOUT_CTM=
WITHOUT_DICT=
#WITHOUT_EXAMPLES=
WITHOUT_FORTRAN=
WITHOUT_FREEBSD_UPDATE=
WITHOUT_GAMES=
WITHOUT_GCOV=
WITHOUT_GPIB=
WITHOUT_GSSAPI=
WITHOUT_HAST=
WITHOUT_HESOID=
WITHOUT_HTML=
WITHOUT_I4B=
WITHOUT_ICONV=
WITHOUT_IPFILTER=
WITHOUT_IPFW=
WITHOUT_IPX=
WITHOUT_KERBEROS=
WITHOUT_LIBKSE=
WITHOUT_LOCALES=
WITHOUT_LPR=
WITHOUT_MAIL=
#WITHOUT_MAN=
WITHOUT_NCP=
WITHOUT_NDIS=
WITHOUT_NIS=
WITHOUT_NLS=
WITHOUT_NS_CACHING=
WITHOUT_OBJC=
WITHOUT_PF=
WITHOUT_PORTSNAP=
WITHOUT_PPP=
WITHOUT_PROFILE=
WITHOUT_RADIUS=
WITHOUT_RCMDS=
WITH_SSP=
WITHOUT_SVN=
WITHOUT_SVNLITE=
WITHOUT_SYSINSTALL=
WITH_TESTS=
WITHOUT_WIRELESS=
WITHOUT_WPA_SUPPLICANT_EAPOL=
WITHOUT_ZFS=
DEFAULT_KERNCONF= FUJI-NOCOMPAT
DEFAULT_KERNCONFDIR= /root
KERNCONF?= ${DEFAULT_KERNCONF}
KERNCONFDIR?= ${DEFAULT_KERNCONFDIR}
.if ${KERNCONFDIR} == "${DEFAULT_KERNCONFDIR}"
MODULES_OVERRIDE= cd9660 msdosfs nullfs
PORTS_MODULES=
.endif
EOF
env TARGET=i386 TARGET_ARCH=i386 WITHOUT_BMAKE=1 make buildworld -j8
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list