svn commit: r282726 - head/lib/libmd

Thomas Quinot thomas at FreeBSD.ORG
Sun May 10 14:26:30 UTC 2015


* Ian Lepore, 2015-05-10 :

> 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

Thanks for your report Ian. Could you please try the patch below?

Thomas.

Index: Makefile.inc1
===================================================================
--- Makefile.inc1	(révision 282726)
+++ Makefile.inc1	(copie de travail)
@@ -1361,6 +1361,9 @@
 .ORDER: ${_kerberos5_bootstrap_tools:C/^/${_bt}-/g}
 .endif
 
+# Rebuild up-to-date libmd for xinstall
+${_bt}-usr.bin/xinstall: ${_bt}-lib/libmd
+
 bootstrap-tools: .PHONY
 
 #	Please document (add comment) why something is in 'bootstrap-tools'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150510/aad3536a/attachment.sig>


More information about the svn-src-all mailing list