From owner-svn-src-head@FreeBSD.ORG Sun May 10 15:40:57 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9C99F1B; Sun, 10 May 2015 15:40:57 +0000 (UTC) Received: from relay.mailchannels.net (ar-005-i207.relay.mailchannels.net [162.253.144.89]) by mx1.freebsd.org (Postfix) with ESMTP id 376D51AF3; Sun, 10 May 2015 15:40:52 +0000 (UTC) X-Sender-Id: duocircle|x-authuser|hippie Received: from smtp4.ore.mailhop.org (ip-10-237-13-110.us-west-2.compute.internal [10.237.13.110]) by relay.mailchannels.net (Postfix) with ESMTPA id A7AFD4307; Sun, 10 May 2015 15:40:50 +0000 (UTC) X-Sender-Id: duocircle|x-authuser|hippie Received: from smtp4.ore.mailhop.org (smtp4.ore.mailhop.org [10.21.145.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.4.8); Sun, 10 May 2015 15:40:51 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: duocircle|x-authuser|hippie X-MailChannels-Auth-Id: duocircle X-MC-Loop-Signature: 1431272450776:2526392302 X-MC-Ingress-Time: 1431272450775 Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp4.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YrTLU-0001nz-3I; Sun, 10 May 2015 15:40:48 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t4AFeiMN073872; Sun, 10 May 2015 09:40:44 -0600 (MDT) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX186WSG59V55yxhe69x3kGbp Message-ID: <1431272444.6170.231.camel@freebsd.org> Subject: Re: svn commit: r282726 - head/lib/libmd From: Ian Lepore To: Thomas Quinot Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Sun, 10 May 2015 09:40:44 -0600 In-Reply-To: <20150510142627.GA77866@melamine.cuivre.fr.eu.org> References: <201505101321.t4ADLa54030049@svn.freebsd.org> <1431266347.6170.221.camel@freebsd.org> <20150510142627.GA77866@melamine.cuivre.fr.eu.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-AuthUser: hippie X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2015 15:40:57 -0000 On Sun, 2015-05-10 at 16:26 +0200, Thomas Quinot wrote: > * Ian Lepore, 2015-05-10 : >=20 > > This appears to break bootstrapping, at least when cross-building ARM o= n > > a 10-stable build host. The build runs for about 15 seconds before > > hitting... > >=20 > > --- _bootstrap-tools-usr.bin/xinstall --- > > xinstall.o: In function `install': > > /local/build/staging/freebsd/wand/src/usr.bin/xinstall/xinstall.c:(.tex= t+0xdff): undefined reference to `_libmd_MD5File' > > /local/build/staging/freebsd/wand/src/usr.bin/xinstall/xinstall.c:(.tex= t+0x12ee): undefined reference to `_libmd_MD5Init' > > /local/build/staging/freebsd/wand/src/usr.bin/xinstall/xinstall.c:(.tex= t+0x12fa): undefined reference to `_libmd_RIPEMD160_File' > > [quite a few more symbols listed] > >=20 > > Complete log is here (command includes -DNO_CLEAN, but objdir started o= ut empty). > >=20 > > http://pastebin.com/v3iSZpSJ >=20 > Thanks for your report Ian. Could you please try the patch below? >=20 > Thomas. >=20 > Index: Makefile.inc1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- Makefile.inc1 (r=E9vision 282726) > +++ Makefile.inc1 (copie de travail) > @@ -1361,6 +1361,9 @@ > .ORDER: ${_kerberos5_bootstrap_tools:C/^/${_bt}-/g} > .endif > =20 > +# Rebuild up-to-date libmd for xinstall > +${_bt}-usr.bin/xinstall: ${_bt}-lib/libmd > + > bootstrap-tools: .PHONY > =20 > # Please document (add comment) why something is in 'bootstrap-tools'. That gets past the bootstrapping problem, now it dies like this: --- lib/libcrypt__L --- --- crypt-md5.So --- cc -fpic -DPIC -O -pipe -I/local/build/staging/freebsd/wand/src/lib/lib= crypt/../libmd -I/local/build/staging/freebsd/wand/src/lib/libcrypt/../libu= til -I/local/build/staging/freebsd/wand/src/lib/libcrypt -DHAS_DES -DHAS_BL= OWFISH -DMD4Init=3D__MD4Init -DMD4Final=3D__MD4Final -DMD4Update=3D__MD4Upd= ate -DMD4Pad=3D__MD4Pad -DMD5Init=3D__MD5Init -DMD5Final=3D__MD5Final -DMD5= Update=3D__MD5Update -DMD5Pad=3D__MD5Pad -DSHA256_Init=3D__SHA256_Init -DSH= A256_Final=3D__SHA256_Final -DSHA256_Update=3D__SHA256_Update -DSHA512_Init= =3D__SHA512_Init -DSHA512_Final=3D__SHA512_Final -DSHA512_Update=3D__SHA512= _Update -std=3Dgnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-un= initialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unu= sed-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parenth= eses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-t= ypedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-ar= guments -c /local/build/staging/freebsd/wand/src/lib/libcrypt/crypt-md5.c -= o crypt-md5.So [...] --- lib/libcrypt__L --- In file included from /local/build/staging/freebsd/wand/src/lib/libcrypt/cr= ypt-md5.c:33: /local/build/staging/freebsd/wand/src/lib/libcrypt/../libmd/md5.h:10:9: war= ning: 'MD5Init' macro redefined [-Wmacro-redefined] #define MD5Init _libmd_MD5Init ^ :8:9: note: previous definition is here #define MD5Init __MD5Init ^ -- Ian