From owner-freebsd-current@FreeBSD.ORG Fri Jan 24 10:42:58 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 916EDDA1 for ; Fri, 24 Jan 2014 10:42:58 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2594A1F6B for ; Fri, 24 Jan 2014 10:42:57 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1W6eDq-000D5e-JL>; Fri, 24 Jan 2014 11:42:50 +0100 Received: from g225038049.adsl.alicedsl.de ([92.225.38.49] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.82) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1W6eDq-000QtD-Do>; Fri, 24 Jan 2014 11:42:50 +0100 Date: Fri, 24 Jan 2014 11:42:45 +0100 From: "O. Hartmann" To: FreeBSD CURRENT Subject: r261034: buildworld fails: undefined reference to `DES_ecb_encrypt' Message-ID: <20140124114245.54ba8db7@thor.walstatt.dyndns.org> Organization: FU Berlin X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/rteT=z7Vjjn.fIRHm5Xi_V0"; protocol="application/pgp-signature" X-Originating-IP: 92.225.38.49 X-ZEDAT-Hint: A X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 24 Jan 2014 10:42:58 -0000 --Sig_/rteT=z7Vjjn.fIRHm5Xi_V0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable With r261034, I get the error shown below on one specific box running kernel/world 11.0-CURRENT #0 r261034: Wed Jan 22 20:14:05 CET 2014 amd64 Another box compiles the same source without any problems (running kernel/world=20 11.0-CURRENT #4 r261091: Thu Jan 23 22:46:03 CET 2014 amd64 My buildworld process on all systems is to delete the content of /usr/obj first before building the world/kernel, so remnants of faulty code or inconsistencies regarding the source tree are not likely. How to repair this strange behaviour? Regards, Oliver [...] (cd /usr/src/rescue/rescue/../../usr.bin/id && make -DRESCUE CRUNCH_CFLAGS=3D-DRESCUE DIRPRFX=3Drescue/rescue/id/ depend && make -DRESCUE CRUNCH_CFLAGS=3D-DRESCUE DIRPRFX=3Drescue/rescue/id/ id.o) `id.o' is up to date. (cd /usr/src/rescue/rescue/../../usr.sbin/chroot && make -DRESCUE CRUNCH_CFLAGS=3D-DRESCUE DIRPRFX=3Drescue/rescue/chroot/ depend && make -DRESCUE CRUNCH_CFLAGS=3D-DRESCUE DIRPRFX=3Drescue/rescue/chroot/ chroot.o) `chroot.o' is up to date. (cd /usr/src/rescue/rescue/../../usr.sbin/chown && make -DRESCUE CRUNCH_CFLAGS=3D-DRESCUE DIRPRFX=3Drescue/rescue/chown/ depend && make -DRESCUE CRUNCH_CFLAGS=3D-DRESCUE DIRPRFX=3Drescue/rescue/chown/ chown.o) `chown.o' is up to date. 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 rcp.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 atmconfig.lo ping6.lo ipf.lo zfs.lo zpool.lo bsdlabel.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 chown.lo /usr/obj/usr/src/rescue/rescue/../librescue/exec.o /usr/obj/usr/sr= c/rescue/rescue/../librescue/getusershell.o /usr/obj/usr/src/rescue/rescue/= ../librescue/login_class.o /usr/obj/usr/src/rescue/rescue/../librescue/pope= n.o /usr/obj/usr/src/rescue/rescue/../librescue/rcmdsh.o /usr/obj/usr/src/r= escue/rescue/../librescue/sysctl.o /usr/obj/usr/src/rescue/rescue/../libres= cue/system.o -lcrypt -ledit -lkvm -ll -ltermcap -lutil -lalias -lcam -lcurses -ldevstat -lipsec -lipx -lavl -ljail -lzfs_core -lzfs -lnvpair -lpthread -luutil -lumem -lgeom -lbsdxml -lkiconv -lmd -lsbuf -lufs -lz -lbz2 -llzma -larchive -lcrypto -lm nc.lo: In function `_$$hide$$ nc.lo main': (.text+0x622): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() ed.lo: In function `_$$hide$$ ed.lo cbc_decode': (.text+0xddc): undefined reference to `DES_ecb_encrypt' ed.lo: In function `_$$hide$$ ed.lo cbc_encode': (.text+0xf81): undefined reference to `DES_ecb_encrypt' ed.lo: In function `_$$hide$$ ed.lo cbc_encode': (.text+0x100a): undefined reference to `DES_ecb_encrypt' ed.lo: In function `_$$hide$$ ed.lo get_keyword': (.text+0x1187): undefined reference to `DES_set_odd_parity' ed.lo: In function `_$$hide$$ ed.lo get_keyword': (.text+0x1194): undefined reference to `DES_set_key' ed.lo: In function `_$$hide$$ ed.lo set_des_key': (.text+0x15a3): undefined reference to `DES_set_odd_parity' ed.lo: In function `_$$hide$$ ed.lo set_des_key': (.text+0x15b4): undefined reference to `DES_set_key' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[5]: stopped in /usr/obj/usr/src/rescue/rescue *** Error code 1 --Sig_/rteT=z7Vjjn.fIRHm5Xi_V0 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJS4kOpAAoJEOgBcD7A/5N8IqwIALQTEcFElxTvXUYapRvHZffQ FqJ2VK+t5ATYPAcAG+2Pui2+NkWnOrUCpgnlhxpCUKFQAdxdIawEdTZHhJ0Bcw3O k0ytxroUqdiZGxA3O9dsAuEO950v50UEBPHHXI7miW1COLoDD57j5YLEsWTFO6XU Oj+DK1leXWVN5R1DqyC3/9sbdDZMjSaNAxB7EXLEbsh25FREPlyORKNPMo/FfcfN U6NDf6/qNxkrVNMrVq/CUr71vMrD0YTlkWj7sC2h+Um8hZDfcpewdvX7rkqBI0jE M8+MJ151J3AIOpLdeL37cI0GuC9Yuu4AodtfvG4Dbt9TbsyQfN+UGCiS48z0e7k= =ZPbO -----END PGP SIGNATURE----- --Sig_/rteT=z7Vjjn.fIRHm5Xi_V0--