From owner-freebsd-pkg@freebsd.org Sun Feb 18 21:18:02 2018 Return-Path: Delivered-To: freebsd-pkg@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 1936AF0506F for ; Sun, 18 Feb 2018 21:18:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A9C426C2C0 for ; Sun, 18 Feb 2018 21:18:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6DFA6F0506E; Sun, 18 Feb 2018 21:18:01 +0000 (UTC) Delivered-To: pkg@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 5BA4CF0506D for ; Sun, 18 Feb 2018 21:18:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E891E6C2B7 for ; Sun, 18 Feb 2018 21:18:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F1B5726E9 for ; Sun, 18 Feb 2018 21:17:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1ILHxQ7010769 for ; Sun, 18 Feb 2018 21:17:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1ILHxDV010768 for pkg@FreeBSD.org; Sun, 18 Feb 2018 21:17:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 224217] [patch] Fix cross build of base/ ports Date: Sun, 18 Feb 2018 21:17:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 21:18:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224217 --- Comment #28 from Mark Millard --- (In reply to Mark Millard from comment #27) [I tend to experiment with using system clang for targeting powerpc64 and powerpc. Thus my context is odd for what compiler I tend to have around.] Looks like I also needed to use WITHOUT_CLANG_IS_CC (or the matching one for gcc for the normal sort of build context) to avoid overlaps with the freebsd-gcc-6.3.0.txz content. I'll note that for WITH_CLANG_IS_CC there is a /usr/bin/CC script that is installed: # more /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/CC #!/bin/sh # $FreeBSD: head/usr.bin/clang/clang/CC.sh 292950 2015-12-30 16:14:30Z dim $ # This file is in the public domain. exec /usr/bin/c++ "$@" The /wrkdirs/usr/ports/base/gcc/work/pkg/freebsd-gcc-6.3.0.txz produced in my context for base/gcc does not seem to have such to put in place: # tar -tf /wrkdirs/usr/ports/base/gcc/work/pkg/freebsd-gcc-6.3.0.txz | more +COMPACT_MANIFEST +MANIFEST . . . /usr/bin/c++ /usr/bin/cc /usr/bin/cpp /usr/bin/g++ /usr/bin/gcc /usr/bin/gcov . . . I do not know if anything needs /usr/bin/CC to be around or not. Side note: Panics in fork activity on amd64 have sidelined my progress on the powerpc64 targeted base/* testing. I'm not likely to get through it this weekend. Instead the bias is to help identify what head version is the first to get the panics on amd64 (and possibly others). --=20 You are receiving this mail because: You are on the CC list for the bug.=