From owner-freebsd-toolchain@freebsd.org Mon Oct 15 18:55:13 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56DBE10C4C50 for ; Mon, 15 Oct 2018 18:55:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E177D80647 for ; Mon, 15 Oct 2018 18:55:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vs1-xe33.google.com with SMTP id y195so1134999vsc.7 for ; Mon, 15 Oct 2018 11:55:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xTOom5TqTE8+IE8Zkk7S6mhfX1OhoPD2Q6692oPgsdk=; b=f4ImzreOu5XllmI8avhb6jsoFGzbGy51bY/FAin7YLh1m76M6kfI3mk2tzs4RlPCwR 4nbISC0/SB4iXUKykoBafneB4BU9oMEewo31rKlV+FxML83Es2UdzwKy7uMd252geOzy Sd6gPmiXivIXILFqP7X6mPkgVijDPsdpTmEtIJgCMeW343WUrmDmJJnAJc2XJoKWrks+ KgunYYoZ07Yq5ynWmM2engW7Vx0mBqI+9f4bxWMgF+F1i/X45aU22nKdIxLItBCCgtUu oEm+2QgHACU14XgvpYu+qirUXQ9H4Rcl2ZNE+D5t7ns8oAyaz9QrV+c+Vf25BoscF6OU KLYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xTOom5TqTE8+IE8Zkk7S6mhfX1OhoPD2Q6692oPgsdk=; b=OENMSWgoK4XURJcNDCq+WnkGfTP17h62bZbnBN0AMfzmoozzJrMz4kToHememoom9O OzD6Dc4vquBEhKN3tQH/9A9RsFzmZdssZ9/PvxKt/5CQmXMotxq+DWQU0JRbHDv4GZsp xKribCoZcaHKQDAPcW4wd8LawK1XF0QsBmZXNTxOPE4tJIYOa/CyNnniUifu3wx1Pi8B nEj2QGqMqPn98FqJvM9XF9UOrKO2WxrN+c5vNfMLKHR53P+KZX0jOzHyqqHmkX4QUt5O B7I6rrUJlGZ13mTflZ4jAhJjXV036zKejFe/U8AWej74ydIVpg/euNeNoLmksf4an9uP 9reA== X-Gm-Message-State: ABuFfohR63gYAJbfM8EPcNMOkWVC7Rs9z2WtO1M3aajKTVN0mY6uRjSe W+jzzKYXIlun0M+qpe3yq8jlL/NpQOB7f2sYAbfYjA== X-Google-Smtp-Source: ACcGV62v0wpiX4IeHhvp89dgeCS+F+jk6Ktbdahha9lsnw1oU1qUKRQaW3etU0HnWK8ixEaaXFy3Cro0MH6nP7THZLM= X-Received: by 2002:a67:2704:: with SMTP id n4mr7471568vsn.209.1539629711984; Mon, 15 Oct 2018 11:55:11 -0700 (PDT) MIME-Version: 1.0 References: <925D3E9A-4EF0-4B49-83D4-C9574170EB66@yahoo.com> <4b7cb935-7643-da6c-261a-d69e9f155c78@FreeBSD.org> <27396a4d-7fe9-2540-dfd2-28ae75109e01@FreeBSD.org> In-Reply-To: <27396a4d-7fe9-2540-dfd2-28ae75109e01@FreeBSD.org> From: Warner Losh Date: Mon, 15 Oct 2018 12:55:00 -0600 Message-ID: Subject: Re: powerpc64 example, base/binutils presence vs. devel/powerpc64-gcc build failure: "phase: build-depends" confused then gcc config aborts build To: John Baldwin Cc: Mark Millard , "freebsd-toolchain@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2018 18:55:13 -0000 On Mon, Oct 15, 2018 at 12:25 PM John Baldwin wrote: > On 10/15/18 11:06 AM, Warner Losh wrote: > > > > > > On Mon, Oct 15, 2018, 10:20 AM John Baldwin jhb@freebsd.org>> wrote: > > > > On 10/12/18 6:51 AM, Mark Millard wrote: > > > The following is from attempting to build devel/powerpc-gcc > > > via poudriere-devel on the powerpc64 system after having > > > bootstrapped via (in part) base/binutils and the .txz > > > produced on the host (amd64). > > > > > > Looks like having both: > > > > > > /usr/bin/powerpc64-unknown-freebsd12.0-* > > > and: > > > /usr/local/bin/powerpc64-unknown-freebsd12.0-* > > > > > > in a powerpc64 environment confuses "phase: build-depends" > > > in poudriere for the devel/powerpc64-gcc build: > > > > Ah, I could see that. I had kept the longer binary names with the > full tuple > > since the original base/binutils had them, but I've considered > stripping them > > as we only really need /usr/bin/as, etc. for the base system. I > hadn't gotten > > to the point of trying to build any ports with base/* as I'm still > trying to > > just do a buildworld (and running poudriere in a qemu image of > mips64 would > > be very unpleasant). I think probably base/binutils just needs to > drop the > > names with a full tuple if possible. > > > > > > Having symlinks to the long names plays nicer with autoconf, of at least > has in the past. Our build system doesn't care, though... > > I think it only plays nicer for the port. We've never had > /usr/bin/x86_64-freebsd-ld > linked to /usr/bin/ld in base, and base/binutils' role is to provide > /usr/bin/as, > /usr/bin/ld, etc. > The tools built by xdev did, though not that specific link... I do agree that if we do this, it's only of marginal benefit. Warner