Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2018 14:32:52 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461058 - in head: Mk base/binutils base/gcc devel/binutils devel/powerpc64-binutils devel/powerpc64-gcc devel/powerpc64-xtoolchain-gcc devel/powerpc64-xtoolchain-gcc/files
Message-ID:  <201802061432.w16EWqKi005296@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Feb  6 14:32:52 2018
New Revision: 461058
URL: https://svnweb.freebsd.org/changeset/ports/461058

Log:
  Fix cross build of base/ ports
  
  This is a follow up to r461057 and fixes base/binutils and base/gcc in my
  testing.
  
  PR:		224217
  Submitted by:	nwhitehorn (partially, I made additional changes)
  Reviewed by:	bapt

Modified:
  head/Mk/bsd.port.mk   (contents, props changed)
  head/base/binutils/Makefile   (contents, props changed)
  head/base/binutils/pkg-plist.powerpc64   (contents, props changed)
  head/base/gcc/Makefile   (contents, props changed)
  head/devel/binutils/Makefile   (contents, props changed)
  head/devel/powerpc64-binutils/pkg-plist   (contents, props changed)
  head/devel/powerpc64-gcc/Makefile   (contents, props changed)
  head/devel/powerpc64-xtoolchain-gcc/Makefile   (contents, props changed)
  head/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Tue Feb  6 14:26:41 2018	(r461057)
+++ head/Mk/bsd.port.mk	Tue Feb  6 14:32:52 2018	(r461058)
@@ -2638,7 +2638,7 @@ GNU_CONFIGURE_MANPREFIX?=	${MANPREFIX}
 CONFIG_SITE?=		${PORTSDIR}/Templates/config.site
 CONFIGURE_ARGS+=	--prefix=${GNU_CONFIGURE_PREFIX} $${_LATE_CONFIGURE_ARGS}
 .if defined(CROSS_TOOLCHAIN)
-CROSS_HOST=		${CROSS_TOOLCHAIN:C,-.*$,,}-${OPSYS:tl}
+CROSS_HOST=		${CROSS_TOOLCHAIN:C,-.*$,,}-unknown-${OPSYS:tl}${OSREL}
 CONFIGURE_ARGS+=	--host=${CROSS_HOST}
 .endif
 CONFIGURE_ENV+=		CONFIG_SITE=${CONFIG_SITE} lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}

Modified: head/base/binutils/Makefile
==============================================================================
--- head/base/binutils/Makefile	Tue Feb  6 14:26:41 2018	(r461057)
+++ head/base/binutils/Makefile	Tue Feb  6 14:32:52 2018	(r461058)
@@ -2,12 +2,12 @@
 
 PORTEPOCH=	0
 CATEGORIES=	base
-PKGNAMEPREFIX=	${OPSYS}-
+PKGNAMEPREFIX=	${OPSYS:tl}-
 VALID_CATEGORIES=	base
 
 COMMENT=	GNU binary tools for base
 
-MASTERDIR=	${.CURDIR}/../..//devel/binutils
+MASTERDIR=	${.CURDIR}/../../devel/binutils
 PLIST=		${.CURDIR}/pkg-plist.${TARGET_ARCH}
 
 .if !defined(CROSS_TOOLCHAIN)
@@ -19,7 +19,8 @@ PLIST=		${.CURDIR}/pkg-plist.${TARGET_ARCH}
 .endif
 
 TARGET_ARCH=	${CROSS_TOOLCHAIN:C,-.*$,,}
-BUTARGET=	${TARGET_ARCH}-${OPSYS:tl}
+BUTARGET=	${TARGET_ARCH}-unknown-${OPSYS:tl}${OSREL}
+
 CONFIGURE_ARGS+=	--disable-host-shared
 PREFIX=	/usr
 

Modified: head/base/binutils/pkg-plist.powerpc64
==============================================================================
--- head/base/binutils/pkg-plist.powerpc64	Tue Feb  6 14:26:41 2018	(r461057)
+++ head/base/binutils/pkg-plist.powerpc64	Tue Feb  6 14:32:52 2018	(r461058)
@@ -3,64 +3,73 @@ bin/ld
 bin/ld.bfd
 bin/objcopy
 bin/objdump
-powerpc64-freebsd/bin/as
-powerpc64-freebsd/bin/ld
-powerpc64-freebsd/bin/ld.bfd
-powerpc64-freebsd/bin/objcopy
-powerpc64-freebsd/bin/objdump
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.x
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xbn
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xc
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xd
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xdc
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xdw
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xn
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xr
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xs
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xsc
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xsw
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xu
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xw
-powerpc64-freebsd/lib/ldscripts/elf32ppc.x
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xbn
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xc
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xd
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xdc
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xdw
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xn
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xr
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xs
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xsc
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xsw
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xu
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xw
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.x
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xbn
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xc
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xd
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xdc
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xdw
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xn
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xr
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xs
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xsc
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xsw
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xu
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xw
-powerpc64-freebsd/lib/ldscripts/elf64ppc.x
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xbn
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xc
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xd
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xdc
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xdw
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xn
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xr
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xs
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xsc
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xsw
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xu
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xw
+bin/powerpc64-unknown-freebsd12.0-as
+bin/powerpc64-unknown-freebsd12.0-ld
+bin/powerpc64-unknown-freebsd12.0-ld.bfd
+bin/powerpc64-unknown-freebsd12.0-objcopy
+bin/powerpc64-unknown-freebsd12.0-objdump
+powerpc64-unknown-freebsd12.0/bin/as
+powerpc64-unknown-freebsd12.0/bin/ld
+powerpc64-unknown-freebsd12.0/bin/ld.bfd
+powerpc64-unknown-freebsd12.0/bin/objcopy
+powerpc64-unknown-freebsd12.0/bin/objdump
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.x
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xbn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xd
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xdc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xdw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xr
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xs
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xsc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xsw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xu
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.x
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xbn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xd
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xdc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xdw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xr
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xs
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xsc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xsw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xu
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.x
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xbn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xd
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xdc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xdw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xr
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xs
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xsc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xsw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xu
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.x
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xbn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xd
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xdc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xdw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xr
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xs
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xsc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xsw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xu
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xw
 share/man/man1/as.1.gz
 share/man/man1/ld.1.gz
 share/man/man1/objcopy.1.gz
 share/man/man1/objdump.1.gz
+share/man/man1/powerpc64-unknown-freebsd12.0-as.1.gz
+share/man/man1/powerpc64-unknown-freebsd12.0-ld.1.gz
+share/man/man1/powerpc64-unknown-freebsd12.0-objcopy.1.gz
+share/man/man1/powerpc64-unknown-freebsd12.0-objdump.1.gz

Modified: head/base/gcc/Makefile
==============================================================================
--- head/base/gcc/Makefile	Tue Feb  6 14:26:41 2018	(r461057)
+++ head/base/gcc/Makefile	Tue Feb  6 14:32:52 2018	(r461058)
@@ -29,10 +29,13 @@ LICENSE_COMB=	multi
 .endif
 
 PREFIX=		/usr
-CONFIGURE_ENV=	gcc_gxx_include_dir="/usr/include/c++/v1"
+CONFIGURE_ENV=	gcc_gxx_include_dir="/usr/include/c++/v1" \
+		NM=/usr/bin/nm \
+		AS_FOR_TARGET=/usr/bin/as \
+		LD_FOR_TARGET=/usr/bin/ld \
+		NM_FOR_TARGET=/usr/bin/nm
 TARGET_ARCH=	${CROSS_TOOLCHAIN:C,-.*$,,}
 GCC_TARGET=	${TARGET_ARCH}-unknown-${OPSYS:tl}${OSREL}
-
 USES=	gmake libtool tar:bzip2 makeinfo
 PLIST_SUB=	TARGETARCH=${TARGET_ARCH} \
 		OPSYS=${OPSYS:tl} \
@@ -44,8 +47,10 @@ EXTRA_PATCHES+= ${.CURDIR}/../../devel/powerpc64-gcc/f
 
 GNU_CONFIGURE=	yes
 CONFIGURE_OUTSOURCE=	yes
-CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls \
+CONFIGURE_ARGS+=	\
+		--target=${GCC_TARGET} \
 		--enable-languages=c,c++ \
+		--disable-nls \
 		--without-headers \
 		--with-build-sysroot=${CROSS_SYSROOT} \
 		-with-pkgversion="GNU Collection for FreeBSD"
@@ -63,8 +68,12 @@ post-patch:
 		${WRKSRC}//gcc/cp/g++spec.c
 
 post-install:
+	${MV} ${STAGEDIR}/usr/bin/gcov-tool ${STAGEDIR}/usr/bin/${GCC_TARGET}-gcov-tool ; \
 	for tool in cpp gcc g++ gcov; do \
+		${MV} ${STAGEDIR}/usr/bin/$${tool} ${STAGEDIR}/usr/bin/${GCC_TARGET}-$${tool} ; \
 		${LN} -sf ${GCC_TARGET}-$${tool}  ${STAGEDIR}/usr/bin/$${tool} ; \
+		${MV} ${STAGEDIR}/${MANDIR}1/$${tool}.1 ${STAGEDIR}/${MANDIR}1/${GCC_TARGET}-$${tool}.1 ; \
+		${GZIP_CMD} ${STAGEDIR}/${MANDIR}1/${GCC_TARGET}-$${tool}.1 ; \
 		${LN} -sf ${GCC_TARGET}-$${tool}.1.gz ${STAGEDIR}/${MANDIR}1/$${tool}.1.gz ; \
 	done ; \
 	${LN} -sf ${GCC_TARGET}-g++  ${STAGEDIR}/usr/bin/c++ ; \

Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile	Tue Feb  6 14:26:41 2018	(r461057)
+++ head/devel/binutils/Makefile	Tue Feb  6 14:32:52 2018	(r461058)
@@ -36,7 +36,7 @@ CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
 
 .if defined(PKGNAMEPREFIX)
-BUTARGET?=	${PKGNAMEPREFIX}${OPSYS:tl}
+BUTARGET?=	${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
 OPTIONS_EXCLUDE=	NLS
 INFO_PATH=	${PKGNAMEPREFIX:S/-$//}/info
 CONFIGURE_ARGS+=	--disable-shared \
@@ -111,6 +111,30 @@ post-install:
 .endif
 	@if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH} ] ; then rm -rf ${STAGEDIR}${PREFIX}/${INFO_PATH}; fi
 	${LN} -fs ../../bin/${BUTARGET}-size ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/size
+.if defined(CROSS_TOOLCHAIN)
+	${MV} ${STAGEDIR}/usr/bin/as ${STAGEDIR}/usr/bin/${BUTARGET}-as
+	${LN} -fs /usr/bin/${BUTARGET}-as ${STAGEDIR}/usr/bin/as
+	${MV} ${STAGEDIR}/usr/bin/ld ${STAGEDIR}/usr/bin/${BUTARGET}-ld
+	${LN} -fs /usr/bin/${BUTARGET}-ld ${STAGEDIR}/usr/bin/ld
+	${MV} ${STAGEDIR}/usr/bin/ld.bfd ${STAGEDIR}/usr/bin/${BUTARGET}-ld.bfd
+	${LN} -fs /usr/bin/${BUTARGET}-ld.bfd ${STAGEDIR}/usr/bin/ld.bfd
+	${MV} ${STAGEDIR}/usr/bin/objcopy ${STAGEDIR}/usr/bin/${BUTARGET}-objcopy
+	${LN} -fs /usr/bin/${BUTARGET}-objcopy ${STAGEDIR}/usr/bin/objcopy
+	${MV} ${STAGEDIR}/usr/bin/objdump ${STAGEDIR}/usr/bin/${BUTARGET}-objdump
+	${LN} -fs /usr/bin/${BUTARGET}-objdump ${STAGEDIR}/usr/bin/objdump
+	${MV} ${STAGEDIR}/${MANDIR}1/as.1 ${STAGEDIR}/${MANDIR}1/${BUTARGET}-as.1
+	${GZIP_CMD} ${STAGEDIR}/${MANDIR}1/${BUTARGET}-as.1
+	${LN} -fs ${BUTARGET}-as.1.gz ${STAGEDIR}/${MANDIR}1/as.1.gz
+	${MV} ${STAGEDIR}/${MANDIR}1/ld.1 ${STAGEDIR}/${MANDIR}1/${BUTARGET}-ld.1
+	${GZIP_CMD} ${STAGEDIR}/${MANDIR}1/${BUTARGET}-ld.1
+	${LN} -fs ${BUTARGET}-ld.1.gz ${STAGEDIR}/${MANDIR}1/ld.1.gz
+	${MV} ${STAGEDIR}/${MANDIR}1/objcopy.1 ${STAGEDIR}/${MANDIR}1/${BUTARGET}-objcopy.1
+	${GZIP_CMD} ${STAGEDIR}/${MANDIR}1/${BUTARGET}-objcopy.1
+	${LN} -fs ${BUTARGET}-objcopy.1.gz ${STAGEDIR}/${MANDIR}1/objcopy.1.gz
+	${MV} ${STAGEDIR}/${MANDIR}1/objdump.1 ${STAGEDIR}/${MANDIR}1/${BUTARGET}-objdump.1
+	${GZIP_CMD} ${STAGEDIR}/${MANDIR}1/${BUTARGET}-objdump.1
+	${LN} -fs ${BUTARGET}-objdump.1.gz ${STAGEDIR}/${MANDIR}1/objdump.1.gz
+.endif
 .endif
 .for tool in ${BUREMOVE}
 	@${RM} ${STAGEDIR}${PREFIX}/bin/${BUTARGET}-${tool} \

Modified: head/devel/powerpc64-binutils/pkg-plist
==============================================================================
--- head/devel/powerpc64-binutils/pkg-plist	Tue Feb  6 14:26:41 2018	(r461057)
+++ head/devel/powerpc64-binutils/pkg-plist	Tue Feb  6 14:32:52 2018	(r461058)
@@ -1,134 +1,134 @@
-bin/powerpc64-freebsd-addr2line
-bin/powerpc64-freebsd-ar
-bin/powerpc64-freebsd-as
-bin/powerpc64-freebsd-c++filt
-bin/powerpc64-freebsd-elfedit
-bin/powerpc64-freebsd-gprof
-bin/powerpc64-freebsd-ld
-bin/powerpc64-freebsd-ld.bfd
-bin/powerpc64-freebsd-nm
-bin/powerpc64-freebsd-objcopy
-bin/powerpc64-freebsd-objdump
-bin/powerpc64-freebsd-ranlib
-bin/powerpc64-freebsd-readelf
-bin/powerpc64-freebsd-size
-bin/powerpc64-freebsd-strings
-bin/powerpc64-freebsd-strip
-man/man1/powerpc64-freebsd-addr2line.1.gz
-man/man1/powerpc64-freebsd-ar.1.gz
-man/man1/powerpc64-freebsd-as.1.gz
-man/man1/powerpc64-freebsd-c++filt.1.gz
-man/man1/powerpc64-freebsd-dlltool.1.gz
-man/man1/powerpc64-freebsd-elfedit.1.gz
-man/man1/powerpc64-freebsd-gprof.1.gz
-man/man1/powerpc64-freebsd-ld.1.gz
-man/man1/powerpc64-freebsd-nlmconv.1.gz
-man/man1/powerpc64-freebsd-nm.1.gz
-man/man1/powerpc64-freebsd-objcopy.1.gz
-man/man1/powerpc64-freebsd-objdump.1.gz
-man/man1/powerpc64-freebsd-ranlib.1.gz
-man/man1/powerpc64-freebsd-readelf.1.gz
-man/man1/powerpc64-freebsd-size.1.gz
-man/man1/powerpc64-freebsd-strings.1.gz
-man/man1/powerpc64-freebsd-strip.1.gz
-man/man1/powerpc64-freebsd-windmc.1.gz
-man/man1/powerpc64-freebsd-windres.1.gz
-powerpc64-freebsd/bin/ar
-powerpc64-freebsd/bin/as
-powerpc64-freebsd/bin/ld
-powerpc64-freebsd/bin/ld.bfd
-powerpc64-freebsd/bin/nm
-powerpc64-freebsd/bin/objcopy
-powerpc64-freebsd/bin/objdump
-powerpc64-freebsd/bin/ranlib
-powerpc64-freebsd/bin/readelf
-powerpc64-freebsd/bin/size
-powerpc64-freebsd/bin/strip
-powerpc64-freebsd/lib/ldscripts/elf32ppc.x
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xbn
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xc
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xce
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xd
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xdc
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xdce
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xde
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xdw
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xdwe
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xe
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xn
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xr
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xs
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xsc
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xsce
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xse
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xsw
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xswe
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xu
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xw
-powerpc64-freebsd/lib/ldscripts/elf32ppc.xwe
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.x
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xbn
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xc
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xce
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xd
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xdc
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xdce
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xde
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xdw
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xdwe
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xe
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xn
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xr
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xs
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xsc
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xsce
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xse
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xsw
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xswe
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xu
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xw
-powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xwe
-powerpc64-freebsd/lib/ldscripts/elf64ppc.x
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xbn
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xc
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xce
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xd
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xdc
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xdce
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xde
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xdw
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xdwe
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xe
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xn
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xr
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xs
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xsc
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xsce
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xse
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xsw
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xswe
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xu
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xw
-powerpc64-freebsd/lib/ldscripts/elf64ppc.xwe
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.x
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xbn
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xc
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xce
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xd
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xdc
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xdce
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xde
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xdw
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xdwe
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xe
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xn
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xr
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xs
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xsc
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xsce
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xse
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xsw
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xswe
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xu
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xw
-powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xwe
+bin/powerpc64-unknown-freebsd12.0-addr2line
+bin/powerpc64-unknown-freebsd12.0-ar
+bin/powerpc64-unknown-freebsd12.0-as
+bin/powerpc64-unknown-freebsd12.0-c++filt
+bin/powerpc64-unknown-freebsd12.0-elfedit
+bin/powerpc64-unknown-freebsd12.0-gprof
+bin/powerpc64-unknown-freebsd12.0-ld
+bin/powerpc64-unknown-freebsd12.0-ld.bfd
+bin/powerpc64-unknown-freebsd12.0-nm
+bin/powerpc64-unknown-freebsd12.0-objcopy
+bin/powerpc64-unknown-freebsd12.0-objdump
+bin/powerpc64-unknown-freebsd12.0-ranlib
+bin/powerpc64-unknown-freebsd12.0-readelf
+bin/powerpc64-unknown-freebsd12.0-size
+bin/powerpc64-unknown-freebsd12.0-strings
+bin/powerpc64-unknown-freebsd12.0-strip
+man/man1/powerpc64-unknown-freebsd12.0-addr2line.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-ar.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-as.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-c++filt.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-dlltool.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-elfedit.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-gprof.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-ld.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-nlmconv.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-nm.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-objcopy.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-objdump.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-ranlib.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-readelf.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-size.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-strings.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-strip.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-windmc.1.gz
+man/man1/powerpc64-unknown-freebsd12.0-windres.1.gz
+powerpc64-unknown-freebsd12.0/bin/ar
+powerpc64-unknown-freebsd12.0/bin/as
+powerpc64-unknown-freebsd12.0/bin/ld
+powerpc64-unknown-freebsd12.0/bin/ld.bfd
+powerpc64-unknown-freebsd12.0/bin/nm
+powerpc64-unknown-freebsd12.0/bin/objcopy
+powerpc64-unknown-freebsd12.0/bin/objdump
+powerpc64-unknown-freebsd12.0/bin/ranlib
+powerpc64-unknown-freebsd12.0/bin/readelf
+powerpc64-unknown-freebsd12.0/bin/size
+powerpc64-unknown-freebsd12.0/bin/strip
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.x
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xbn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xd
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xdc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xdce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xde
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xdw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xdwe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xr
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xs
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xsc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xsce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xse
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xsw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xswe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xu
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xwe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.x
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xbn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xd
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xdc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xdce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xde
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xdw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xdwe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xr
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xs
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xsc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xsce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xse
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xsw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xswe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xu
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xwe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.x
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xbn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xd
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xdc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xdce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xde
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xdw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xdwe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xr
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xs
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xsc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xsce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xse
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xsw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xswe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xu
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xwe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.x
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xbn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xd
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xdc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xdce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xde
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xdw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xdwe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xn
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xr
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xs
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xsc
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xsce
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xse
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xsw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xswe
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xu
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xw
+powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xwe

Modified: head/devel/powerpc64-gcc/Makefile
==============================================================================
--- head/devel/powerpc64-gcc/Makefile	Tue Feb  6 14:26:41 2018	(r461057)
+++ head/devel/powerpc64-gcc/Makefile	Tue Feb  6 14:32:52 2018	(r461058)
@@ -29,7 +29,7 @@ PLIST_SUB=	TARGETARCH=${PKGNAMEPREFIX:C/-//g} \
 .if empty(GCC_TARGET)
 # We are building for a FreeBSD target
 GCC_TARGET?=	${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
-BU_PREFIX?=	${PKGNAMEPREFIX}${OPSYS:tl}
+BU_PREFIX?=	${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
 EXTRA_PATCHES+= ${FILESDIR}/freebsd-format-extensions
 .else
 BU_PREFIX?=	${GCC_TARGET}

Modified: head/devel/powerpc64-xtoolchain-gcc/Makefile
==============================================================================
--- head/devel/powerpc64-xtoolchain-gcc/Makefile	Tue Feb  6 14:26:41 2018	(r461057)
+++ head/devel/powerpc64-xtoolchain-gcc/Makefile	Tue Feb  6 14:32:52 2018	(r461058)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	xtoolchain
-PORTVERSION=	0.2
+PORTVERSION=	0.3
 CATEGORIES=	devel
 MASTER_SITES=	# none
 DISTFILES=	# none
@@ -28,6 +28,7 @@ RUN_DEPENDS?=	${XCC}:devel/${PKGNAMEPREFIX}${X_COMPILE
 SUB_FILES=	xtoolchain.mk
 SUB_LIST=	TARGETARCH=${TOOLCHAIN_PREFIX:C/-//g} \
 		OPSYS=${OPSYS:tl} \
+		OSREL=${OSREL} \
 		XCC=${XCC} \
 		XCXX=${XCXX} \
 		XCPP=${XCPP} \

Modified: head/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in
==============================================================================
--- head/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in	Tue Feb  6 14:26:41 2018	(r461057)
+++ head/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in	Tue Feb  6 14:32:52 2018	(r461058)
@@ -1,5 +1,5 @@
 XCC=%%LOCALBASE%%/bin/%%XCC%%
 XCXX=%%LOCALBASE%%/bin/%%XCXX%%
 XCPP=%%LOCALBASE%%/bin/%%XCPP%%
-CROSS_BINUTILS_PREFIX=%%LOCALBASE%%/%%TARGETARCH%%-%%OPSYS%%/bin/
+CROSS_BINUTILS_PREFIX=%%LOCALBASE%%/%%TARGETARCH%%-unknown-%%OPSYS%%%%OSREL%%/bin/
 X_COMPILER_TYPE=%%X_COMPILER_TYPE%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802061432.w16EWqKi005296>