Date: Fri, 24 Jan 2014 11:42:45 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: r261034: buildworld fails: undefined reference to `DES_ecb_encrypt' Message-ID: <20140124114245.54ba8db7@thor.walstatt.dyndns.org>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140124114245.54ba8db7>