From owner-freebsd-current@freebsd.org Sat Jun 24 06:03:05 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 4E289D98BAC for ; Sat, 24 Jun 2017 06:03:05 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D89CE84B6F; Sat, 24 Jun 2017 06:03:04 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: by mail-wr0-x236.google.com with SMTP id k67so89179303wrc.2; Fri, 23 Jun 2017 23:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=h6JzfhuVFNNQtV70yCKEK0crvmwKTonLL2/p1HZpY1A=; b=dpX3XtbTquBs4qLUrBMwvEJR4vSr+0c4NnUXXhY631FAOdATO8JGYSAiYh8baD9UHh DcjK3FzSLB8+QnYFtnvEWZTJXvxZl68//Swqu+8JkA99gxFGK36DoGRd5zARrqv39KLg QC2kvpBACcYic4MDrKpbePE/pbdUXwnvr4X7s8PLJL/QOpjRqX0DpUScYlqtPhW3krtp 4M6bsT+cSHRt8hvw7u3GfwTQZrYQ4Hh1bEGq8uNGcp8QEwo35U00fUcG3Er4jRVV1WpU f8bBNGFGZYequirJWCnqbN1YULko2D+0LAVCLSVDj6jiCmGq9ms4k0FnQmOgIPAN7br5 trHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=h6JzfhuVFNNQtV70yCKEK0crvmwKTonLL2/p1HZpY1A=; b=CXA9w/biLcNBFrpD+WO0xJ9Dc4Sfc2ymUYFCujO/mTrusrLL4/JoKDLzFG9xYVmGmy c1eV2cds1Xl43Uvmb1plTcxOfT6GwFgIxUI/GrCkw7kfJfc6ffJBj3c1lSJs4vNrf7HM UBtRganuw4CJruL9rfVd+r7y5dSF1mJjfshyaN/qzEA6f8glpAL/1HLvpsq+L8zyTWqL CDhlzYDucYTF84Go+jnbwtS/8GsxOOnq4HIPvAL3KJ4261zBBgIJKeaQkr74p/6YRF65 IYmwQ5QxRBMmEBMDuiA6yV+G4JCjrWvsMSh/0ykEHc4hoBmP9wsZeZAc9C4wloiggOOJ NqSg== X-Gm-Message-State: AKS2vOwIUjJm/QXJnq3rta3CdFxYCqEoddhWjQsb9ie5wTiEf5pT0lOR 5wE4msRRds+0S2LI5ZNqv7wCGXAvGMrLzz8= X-Received: by 10.223.154.74 with SMTP id z68mr8030504wrb.136.1498284182739; Fri, 23 Jun 2017 23:03:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.164.129 with HTTP; Fri, 23 Jun 2017 23:03:02 -0700 (PDT) In-Reply-To: <1f9b8754-d6bd-8754-9083-bf1408a0d2ad@FreeBSD.org> References: <1f9b8754-d6bd-8754-9083-bf1408a0d2ad@FreeBSD.org> From: Guy Yur Date: Sat, 24 Jun 2017 09:03:02 +0300 Message-ID: Subject: Re: compiler-metadata.mk for main arch deleted when crossbuilding To: Bryan Drewery Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" 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: Sat, 24 Jun 2017 06:03:05 -0000 On 23 June 2017 at 21:50, Bryan Drewery wrote: > 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=amd64 TARGET_ARCH=amd64 >>> make -j2 -DNO_CLEAN buildworld >>> export TARGET=arm TARGET_ARCH=armv6 >>> 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 again. >>> >>> Does _cross-tools target's "@rm -f ${.OBJDIR}/compiler-metadata.mk" >>> not respect TARGET and TARGET_ARCH? >>> >> >> Yes, it is fixed now in r320286. Thanks for the report! >> >> > > This may have been the reason release.sh failed earlier. Is release.sh > still failing for you now? Hi, It fixed my problem. My problem was that I couldn't do installworld or distributeworld for the main arch after buildworld + cross buildworld. I thought it was the same problem as the release.sh failure when I replied to the other thread, sorry for the confusion. > > -- > Regards, > Bryan Drewery > Thanks, Guy