From owner-freebsd-ports-bugs@freebsd.org Mon Mar 9 11:19:31 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B3D825F727 for ; Mon, 9 Mar 2020 11:19:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48bbN029Bxz4DrD for ; Mon, 9 Mar 2020 11:19:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C38B125F726; Mon, 9 Mar 2020 11:19:27 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2B4225F725 for ; Mon, 9 Mar 2020 11:19:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48bbMz4M8tz4DqP for ; Mon, 9 Mar 2020 11:19:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6B1ED9ED2 for ; Mon, 9 Mar 2020 11:19:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 029BJQMJ040831 for ; Mon, 9 Mar 2020 11:19:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 029BJQ02040830 for ports-bugs@FreeBSD.org; Mon, 9 Mar 2020 11:19:26 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: ports-bugs@FreeBSD.org Subject: [Bug 214404] base/gcc: and base/binutils -r424540 for TARGET_ARCH=powerpc64 example: file placement and gcc/g++ internal file lookups do not match so gcc/g++ do not work Date: Mon, 09 Mar 2020 11:19:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2020 11:19:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214404 --- Comment #6 from Mark Millard --- (In reply to Mark Millard from comment #5) I forgot to mention needing to patch the pkg-plist and its handling for powerpc64. See below. I presumed that 64-bit would include 32-bit (lib32) but FreeBSD can be built without lib32 support. # svnlite diff /usr/ports/base/ Index: /usr/ports/base/binutils/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/ports/base/binutils/Makefile (revision 526539) +++ /usr/ports/base/binutils/Makefile (working copy) @@ -86,11 +86,17 @@ .else PLIST_SUB+=3D MIPS=3D"@comment " .endif +.if ${ARCH} =3D=3D "powerpc64" +PLIST_SUB+=3D POWERPC64=3D"" +PLIST_SUB+=3D POWERPC=3D"" +.else +PLIST_SUB+=3D POWERPC64=3D"@comment " .if ${ARCH:Mpowerpc*} PLIST_SUB+=3D POWERPC=3D"" .else PLIST_SUB+=3D POWERPC=3D"@comment " .endif +.endif .if ${ARCH:Msparc*} PLIST_SUB+=3D SPARC=3D"" .else Index: /usr/ports/base/binutils/pkg-plist =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/ports/base/binutils/pkg-plist (revision 526539) +++ /usr/ports/base/binutils/pkg-plist (working copy) @@ -494,32 +494,32 @@ %%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf32ppc.xsw %%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf32ppc.xu %%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf32ppc.xw -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.x -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xbn -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xc -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xd -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xdc -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xdw -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xn -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xr -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xs -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xsc -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xsw -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xu -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xw -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.x -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xbn -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xc -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xd -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xdc -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xdw -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xn -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xr -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xs -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xsc -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xsw -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xu -%%POWERPC%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xw +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.x +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xbn +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xc +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xd +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xdc +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xdw +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xn +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xr +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xs +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xsc +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xsw +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xu +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc_fbsd.xw +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.x +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xbn +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xc +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xd +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xdc +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xdw +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xn +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xr +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xs +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xsc +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xsw +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xu +%%POWERPC64%%%%BUTARGET%%/lib/ldscripts/elf64ppc.xw %%SPARC%%%%BUTARGET%%/lib/ldscripts/elf32_sparc.x %%SPARC%%%%BUTARGET%%/lib/ldscripts/elf32_sparc.xbn %%SPARC%%%%BUTARGET%%/lib/ldscripts/elf32_sparc.xc --=20 You are receiving this mail because: You are the assignee for the bug.=