From owner-freebsd-current@freebsd.org Fri Jun 23 18:50:47 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 D7C8ED878A3 for ; Fri, 23 Jun 2017 18:50:47 +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 A908B704BC; Fri, 23 Jun 2017 18:50:47 +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 DBEDAAD7C; Fri, 23 Jun 2017 18:50:46 +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 A321072E0; Fri, 23 Jun 2017 18:50:45 +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 rPQ8hN-Dbmao; Fri, 23 Jun 2017 18:50:43 +0000 (UTC) Subject: Re: compiler-metadata.mk for main arch deleted when crossbuilding DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 2ED4472DB From: Bryan Drewery To: Guy Yur , freebsd-current References: Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <1f9b8754-d6bd-8754-9083-bf1408a0d2ad@FreeBSD.org> Date: Fri, 23 Jun 2017 11:50:45 -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="NiVghvh96tMMOtjAjRM2wbJvjLcVJICBd" 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:50:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NiVghvh96tMMOtjAjRM2wbJvjLcVJICBd Content-Type: multipart/mixed; boundary="pL4AGH7qoajPw9VevNVpLEvauMmQ21gFk"; protected-headers="v1" From: Bryan Drewery To: Guy Yur , freebsd-current Message-ID: <1f9b8754-d6bd-8754-9083-bf1408a0d2ad@FreeBSD.org> Subject: Re: compiler-metadata.mk for main arch deleted when crossbuilding References: In-Reply-To: --pL4AGH7qoajPw9VevNVpLEvauMmQ21gFk Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/23/2017 11:28 AM, Bryan Drewery wrote: > On 6/23/2017 11:00 AM, Guy Yur wrote: >> Hi Bryan, >> >> 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 >> >> 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 >> >> If I rebuild just amd64 I get /usr/obj/usr/src/compiler-metadata.mk ag= ain. >> >> 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 >=20 This may have been the reason release.sh failed earlier. Is release.sh still failing for you now? --=20 Regards, Bryan Drewery --pL4AGH7qoajPw9VevNVpLEvauMmQ21gFk-- --NiVghvh96tMMOtjAjRM2wbJvjLcVJICBd 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 iQEcBAEBAgAGBQJZTWMFAAoJEDXXcbtuRpfPVG4IANFZCFNUxAlLUHAzKfGcbhVV QPowkzLCFw58Jp93jI93kdexjv/ACkU5I7kUJZYjKJ2R6U1j300JORZdtafK8RPA A6lth1j4wde+8Isc3ecpv/w4pVCLofk+BEPh/6XKNlHnhR6qXsEL8mRKAwOsaUIr b58hrmZRuBlZG7EonWTTyZrsZdcosKV1OOlQUCclA9wabgk47irUrSfgXvSdvfcF H5r+iTnjSew37egArSl6t5XqsBJpUVXwqAYAEq6hnURjbmRpNObFPmEbYG7mmY+j QmlC3GAtbsCBhIiCzp/23SQlQT5GIH8KvomQ8sbNSyUv/8wWvBxyWWwt0YuEvD0= =oGjj -----END PGP SIGNATURE----- --NiVghvh96tMMOtjAjRM2wbJvjLcVJICBd--