* 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'.

Attachment: pgpRIjdy6Nv0Z.pgp
Description: PGP signature

Reply via email to