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


_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to