Date: Mon, 09 Mar 2020 11:19:26 +0000 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 Message-ID: <bug-214404-7788-Cjy23dgMza@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214404-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-214404-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214404 --- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214404-7788-Cjy23dgMza>