From owner-freebsd-pkg@freebsd.org Sat Feb 17 23:36:36 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 6B721F1BB7D for ; Sat, 17 Feb 2018 23:36:36 +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 001D2731C5 for ; Sat, 17 Feb 2018 23:36:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B020AF1BB7B; Sat, 17 Feb 2018 23:36:35 +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 9EB9BF1BB7A for ; Sat, 17 Feb 2018 23:36:35 +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 3DE00731B1 for ; Sat, 17 Feb 2018 23:36:35 +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 68C3F1F191 for ; Sat, 17 Feb 2018 23:36:34 +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 w1HNaYDJ020124 for ; Sat, 17 Feb 2018 23:36:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1HNaYeh020122 for pkg@FreeBSD.org; Sat, 17 Feb 2018 23:36:34 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: Sat, 17 Feb 2018 23:36:34 +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: Sat, 17 Feb 2018 23:36:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224217 --- Comment #27 from Mark Millard --- (In reply to commit-hook from comment #22) base/binutils/pkg-plist.sparc64 and base/binutils/pkg-plist.powerpc64 list: bin/as bin/ld bin/ld.bfd bin/objcopy bin/objdump This appears to imply that the README's sparc64 example lines: 2/ cross build world make CROSS_TOOLCHAIN=3Dsparc64-gcc TARGET=3Dsparc64 TARGET_ARCH=3Dsparc64 b= uildworld are intended to be based on (implicitly or explicitly) WITHOUT_BINUTILS=3D so that the files listed are only from base/binutils . This is likely because the system binutils are insufficient in some cases for the likes of, at least, powerpc64. WITHOUT_BINUTILS=3D is the default only for arm64/aarch64, riscv/riscv64, and riscv/riscv64sf according to the man src.conf that I'm reading. (It turns out my normal/historical cross-builds include the system binutils by not having been explicit to avoid such, both for system-clang based builds and for powerpc64-xtoolchain-gcc based builds: Not the best way to test base/binutils use. My test target-context here is: powerpc64.) --=20 You are receiving this mail because: You are on the CC list for the bug.=