From owner-freebsd-current@freebsd.org Fri Jun 23 18:28:21 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA217D8731D for ; Fri, 23 Jun 2017 18:28:21 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC6986F823; Fri, 23 Jun 2017 18:28:21 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id F1C1EA6BF; Fri, 23 Jun 2017 18:28:20 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 22C837279; Fri, 23 Jun 2017 18:28:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id NskVX6GE6XmN; Fri, 23 Jun 2017 18:28:18 +0000 (UTC) Subject: Re: compiler-metadata.mk for main arch deleted when crossbuilding DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com B317C7273 To: Guy Yur , freebsd-current References: From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Fri, 23 Jun 2017 11:28:20 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jHSHnu3BGbdrg9xdjS9wba4SRBlNbFGSW" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2017 18:28:21 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jHSHnu3BGbdrg9xdjS9wba4SRBlNbFGSW Content-Type: multipart/mixed; boundary="3og1IrrA8vQDmhI6F5TVa2mjfcBo0h3Lx"; protected-headers="v1" From: Bryan Drewery To: Guy Yur , freebsd-current Message-ID: Subject: Re: compiler-metadata.mk for main arch deleted when crossbuilding References: In-Reply-To: --3og1IrrA8vQDmhI6F5TVa2mjfcBo0h3Lx Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/23/2017 11:00 AM, Guy Yur wrote: > Hi Bryan, >=20 > I use a script for building both amd64 and armv6 on an amd64 machine. > Basically, > export TARGET=3Damd64 TARGET_ARCH=3Damd64 > make -j2 -DNO_CLEAN buildworld > export TARGET=3Darm TARGET_ARCH=3Darmv6 > make -j2 -DNO_CLEAN buildworld >=20 > The amd64 build creates /usr/obj/usr/src/compiler-metadata.mk > The armv6 build deletes it and creates > /usr/obj/arm.armv6/usr/src/compiler-metadata.mk >=20 > If I rebuild just amd64 I get /usr/obj/usr/src/compiler-metadata.mk aga= in. >=20 > Does _cross-tools target's "@rm -f ${.OBJDIR}/compiler-metadata.mk" > not respect TARGET and TARGET_ARCH? >=20 Yes, it is fixed now in r320286. Thanks for the report! --=20 Regards, Bryan Drewery --3og1IrrA8vQDmhI6F5TVa2mjfcBo0h3Lx-- --jHSHnu3BGbdrg9xdjS9wba4SRBlNbFGSW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZTV3EAAoJEDXXcbtuRpfP/zYIAN4J7blrLYv1l9uLgKuR3VDK 9Tn4SUbAl6cNPE+RYYC4LFgqNJkiQ8VeGDARyyrg4iaxXmZhysBaxURM7AgAC/X9 56ebXAWV6zgQG7XyzGqmBuc6bB+VIuyvAztZAxDha0Cnew8HOlCioQvQABIgNwfe 8RjTC8mvoq3xc4W+Jo9t7fDXJ1balN3zHTzGNtQ695AJVURrpcBYwhQ0Y/hNOVNi fZYG653FpSBbUyusl63/BWb3zpv9y/sGe2D1G23kHnEv25dRuBrBkyzugLUV7eTx xngtp6yJyVrJOvzV9ESYZJn2SyZri/nmRV0xix508z2Ln7IT+7qY0OXuApCOE3Y= =WtCx -----END PGP SIGNATURE----- --jHSHnu3BGbdrg9xdjS9wba4SRBlNbFGSW--