Date: Sun, 10 May 2015 07:59:07 -0600 From: Ian Lepore <ian@freebsd.org> To: Thomas Quinot <thomas@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r282726 - head/lib/libmd Message-ID: <1431266347.6170.221.camel@freebsd.org> In-Reply-To: <201505101321.t4ADLa54030049@svn.freebsd.org> References: <201505101321.t4ADLa54030049@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2015-05-10 at 13:21 +0000, Thomas Quinot wrote: > Author: thomas > Date: Sun May 10 13:21:36 2015 > New Revision: 282726 > URL: https://svnweb.freebsd.org/changeset/base/282726 > > Log: > Ensure libmd symbols do not clash with libcrypto > > Add a prefix to all symbols in libmd to avoid incompatibilites > with same-named, but not binary compatible, symbols from libcrypto. > > Also introduce Weak aliases to avoid the need to rebuild dependent > binaries and a major version bump. > > PR: 199119 > Differential Revision: D2216 > Reviewed by: roberto, delphij > MFC after: 2 weeks > > Modified: > head/lib/libmd/md4.h > head/lib/libmd/md4c.c > head/lib/libmd/md5.h > head/lib/libmd/md5c.c > head/lib/libmd/mdXhl.c > head/lib/libmd/ripemd.h > head/lib/libmd/rmd160c.c > head/lib/libmd/sha.h > head/lib/libmd/sha1c.c > head/lib/libmd/sha256.h > head/lib/libmd/sha256c.c > head/lib/libmd/sha512.h > head/lib/libmd/sha512c.c > head/lib/libmd/shadriver.c This appears to break bootstrapping, at least when cross-building ARM on a 10-stable build host. The build runs for about 15 seconds before hitting... --- _bootstrap-tools-usr.bin/xinstall --- xinstall.o: In function `install': /local/build/staging/freebsd/wand/src/usr.bin/xinstall/xinstall.c:(.text+0xdff): undefined reference to `_libmd_MD5File' /local/build/staging/freebsd/wand/src/usr.bin/xinstall/xinstall.c:(.text+0x12ee): undefined reference to `_libmd_MD5Init' /local/build/staging/freebsd/wand/src/usr.bin/xinstall/xinstall.c:(.text+0x12fa): undefined reference to `_libmd_RIPEMD160_File' [quite a few more symbols listed] Complete log is here (command includes -DNO_CLEAN, but objdir started out empty). http://pastebin.com/v3iSZpSJ -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1431266347.6170.221.camel>