svn commit: r439595 - in head/devel: aarch64-gcc aarch64-none-elf-gcc amd64-gcc arm-none-eabi-gcc arm-none-eabi-gcc492 mips-gcc mips64-gcc powerpc64-gcc riscv64-gcc sparc64-gcc

Mark Millard markmi at dsl-only.net
Sat Apr 29 02:41:37 UTC 2017


On 2017-Apr-28, at 7:28 PM, Mark Linimon <linimon at lonesome.com> wrote:

> On Fri, Apr 28, 2017 at 03:27:31PM -0700, Mark Millard wrote:
>> I do not have access to mips, mips64, riscv, sparc64
>> so they could be targets but not hosts in my tests
> 
> I don't think we have any native mips, mips64, or riscv package build
> capability right now.
> 
> I have sparc64 native.  I have never gotten around to trying any, but
> I can.
> 
>> I have access to powerpc but currently am not well set up to use it
>> without rebuilding it
> 
> I have powerpc64 native and am currently attempting builds.

I do have access to powerpc64 and tested it in my context.
It is powerpc that I'm far from an appropriate configuration
of for now.

FYI: The D10537 patch for devel/[powerpc64-gcc looks like:

# svnlite diff /usr/ports/devel/powerpc64-gcc
Index: /usr/ports/devel/powerpc64-gcc/Makefile
===================================================================
--- /usr/ports/devel/powerpc64-gcc/Makefile	(revision 439263)
+++ /usr/ports/devel/powerpc64-gcc/Makefile	(working copy)
@@ -74,11 +74,19 @@
 .endif
 
 post-install:
-	@if [ -f ${STAGEDIR}${PREFIX}/bin/cpp ] ; then \
-		mv ${STAGEDIR}${PREFIX}/bin/cpp  \
-		    ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-cpp ; \
+.for f in cpp gcov gcov-tool
+	@if [ -f ${STAGEDIR}${PREFIX}/bin/$f ] ; then \
+		${MV} ${STAGEDIR}${PREFIX}/bin/$f  \
+		    ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-$f ; \
 	fi
+.endfor
 .for f in c++ cpp g++ gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-tool
+	@if [ ! -f ${STAGEDIR}${PREFIX}/man/man1/${GCC_TARGET}-$f.1 ] ; then \
+		if [ -f ${STAGEDIR}${PREFIX}/man/man1/$f.1 ] ; then \
+			${CP} ${STAGEDIR}${PREFIX}/man/man1/$f.1  \
+			    ${STAGEDIR}${PREFIX}/man/man1/${GCC_TARGET}-$f.1 ; \
+		fi \
+	fi
 	@${RM} ${STAGEDIR}${PREFIX}/bin/$f
 	@${RM} ${STAGEDIR}${PREFIX}/man/man1/$f.1
 	@${RM} ${STAGEDIR}${PREFIX}/man/man1/$f.1.gz

It contributes to all its slave ports.

As for the other part of D10537's patch (the
pkg-plist part of the below):

# svnlite diff /usr/ports/devel/amd64-gcc
Index: /usr/ports/devel/amd64-gcc/Makefile
===================================================================
--- /usr/ports/devel/amd64-gcc/Makefile	(revision 439263)
+++ /usr/ports/devel/amd64-gcc/Makefile	(working copy)
@@ -8,6 +8,4 @@
 BU_PREFIX=	x86_64-${OPSYS:tl}
 FREEBSD_EXTENSION=	yes
 
-BROKEN_powerpc64=	Does not build
-
 .include "${MASTERDIR}/Makefile"
Index: /usr/ports/devel/amd64-gcc/pkg-plist
===================================================================
--- /usr/ports/devel/amd64-gcc/pkg-plist	(revision 439263)
+++ /usr/ports/devel/amd64-gcc/pkg-plist	(working copy)
@@ -6,6 +6,8 @@
 bin/%%GCC_TARGET%%-gcc-ar
 bin/%%GCC_TARGET%%-gcc-nm
 bin/%%GCC_TARGET%%-gcc-ranlib
+bin/%%GCC_TARGET%%-gcov
+bin/%%GCC_TARGET%%-gcov-tool
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_fil.h
@@ -489,3 +491,7 @@
 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/lto-wrapper
 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/lto1
 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/gengtype
+man/man1/%%GCC_TARGET%%-cpp.1.gz
+man/man1/%%GCC_TARGET%%-g++.1.gz
+man/man1/%%GCC_TARGET%%-gcc.1.gz
+man/man1/%%GCC_TARGET%%-gcov.1.gz

devel/amd64-gcc was missing 6 files in pkg-plist
that devel/aarch64-gcc and devel/powerpc64-gcc
had in place. Plus I enabled attempting the build.

===
Mark Millard
markmi at dsl-only.net



More information about the svn-ports-head mailing list