Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2000 22:09:08 -0400 (EDT)
From:      jim@thehousleys.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20828: Upgrade *-rtems-binutils to version 2.10
Message-ID:  <200008250209.WAA05387@baby.int.thehousleys.net>

next in thread | raw e-mail | index | archive | help

>Number:         20828
>Category:       ports
>Synopsis:       Upgrade *-rtems-binutils to version 2.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 24 19:10:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     James E. Housley
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
The Housleys dot Net
>Environment:

	

>Description:

	This upgrades the binutils to version 2.10 with patch level 2.
	The make file uses the PORTREVISION variable in hopes that it
	is the correct spelling for recent discussions.

	This version also does not install 2 files that were causing
	conflicts/extra file problems with the *-rtems-gcc ports,
	soon to follow.

>How-To-Repeat:

	

>Fix:

diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/Makefile i386-rtems-binutils/Makefile
--- /mnt/usr/ports/devel/i386-rtems-binutils/Makefile	Thu Aug 17 13:02:44 2000
+++ i386-rtems-binutils/Makefile	Thu Aug 24 22:02:53 2000
@@ -6,13 +6,14 @@
 #
 
 PORTNAME=	binutils
-PORTVERSION=	2.9.5.0.24
+PORTVERSION=	2.10
 CATEGORIES=	devel
-MASTER_SITES=   ftp://ftp.oarcorp.com/pub/rtems/betas/rtems-4.5.0-beta/c_tools/source/ \
-		http://www.thehousleys.net/rtems-4.5.0b3/
-PATCHFILES=	${BINNAME}-rtems-20000207.diff.gz
-PATCH_SITES=	ftp://ftp.oarcorp.com/pub/rtems/betas/rtems-4.5.0-beta/c_tools/source/ \
-		http://www.thehousleys.net/rtems-4.5.0b3/
+MASTER_SITES=	ftp://ftp.oarcorp.com/pub/rtems/snapshots/c_tools/binutils-2.10-2/source/ \
+		http://rtems.thehousleys.net/
+DISTFILES=	${BINNAME}.tar.gz
+PATCHFILES=	${BINNAME}-rtems-20000726.diff.gz
+PATCH_SITES=	ftp://ftp.oarcorp.com/pub/rtems/snapshots/c_tools/binutils-2.10-2/source/ \
+		http://rtems.thehousleys.net/
 
 MAINTAINER=	jim@thehousleys.net
 
@@ -20,7 +21,8 @@
 
 LCLTARGET?=	i386-rtems
 
-BINNAME=	binutils-2.9.5.0.24
+PORTREVISION=	2
+BINNAME=	binutils-2.10
 MASTERDIR=	${.CURDIR}/../i386-rtems-binutils
 PLIST=		${PKGDIR}/PLIST.${LCLTARGET}
 
@@ -38,8 +40,7 @@
 		${LCLTARGET}-ranlib.1 ${LCLTARGET}-size.1 \
 		${LCLTARGET}-strings.1 ${LCLTARGET}-strip.1 \
 		${LCLTARGET}-objcopy.1 ${LCLTARGET}-addr2line.1 \
-		${LCLTARGET}-nlmconv.1 ${LCLTARGET}-c++filt.1 \
-		${LCLTARGET}-as.1 ${LCLTARGET}-ld.1
+		${LCLTARGET}-nlmconv.1 ${LCLTARGET}-as.1 ${LCLTARGET}-ld.1
 
 .if defined(PATCH_DEBUG)
 PATCH_DIST_ARGS=   -d ${WRKDIR} -E ${PATCH_DIST_STRIP}
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/files/md5 i386-rtems-binutils/files/md5
--- /mnt/usr/ports/devel/i386-rtems-binutils/files/md5	Mon Jul 10 00:32:01 2000
+++ i386-rtems-binutils/files/md5	Fri Aug 11 15:14:32 2000
@@ -1,2 +1,2 @@
-MD5 (rtems/binutils-2.9.5.0.24-rtems-20000207.diff.gz) = 3b6e19c6f6bf569437dafdde69d9ef3a
-MD5 (rtems/binutils-2.9.5.0.24.tar.gz) = a87ace0b5a3eee5ea8a8723db9c51b7a
+MD5 (rtems/binutils-2.10.tar.gz) = 4feaad7d856509d9f8844f21a0a9e4b7
+MD5 (rtems/binutils-2.10-rtems-20000726.diff.gz) = 3802eebcbefec5b7d8a8d2bcecb4be28
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/patches/patch-aa i386-rtems-binutils/patches/patch-aa
--- /mnt/usr/ports/devel/i386-rtems-binutils/patches/patch-aa	Wed Dec 31 19:00:00 1969
+++ i386-rtems-binutils/patches/patch-aa	Thu Aug 24 09:38:11 2000
@@ -0,0 +1,48 @@
+--- binutils/Makefile.in.orig	Fri Apr  7 00:39:24 2000
++++ binutils/Makefile.in	Thu Aug 24 09:33:00 2000
+@@ -152,14 +152,14 @@
+ SRCONV_PROG = srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT) 
+ 
+ man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \
+-	addr2line.1 nlmconv.1 $(DEMANGLER_NAME).1
++	addr2line.1 nlmconv.1
+ 
+ 
+-PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
++PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
+ 
+ bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
+ 
+-noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
++noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG)
+ 
+ EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
+ 
+@@ -293,7 +293,7 @@
+ 
+ MAINTAINERCLEANFILES = config.texi
+ 
+-MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum \
++MOSTLYCLEANFILES = sysinfo binutils.log binutils.sum \
+ 	abcdefgh*
+ 
+ 
+@@ -306,7 +306,7 @@
+ strings$(EXEEXT) ranlib$(EXEEXT) objcopy$(EXEEXT) @BUILD_NLMCONV@ \
+ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ addr2line$(EXEEXT) \
+ readelf$(EXEEXT) @BUILD_DLLWRAP@ @BUILD_MISC@
+-noinst_PROGRAMS =  nm-new$(EXEEXT) strip-new$(EXEEXT) cxxfilt$(EXEEXT)
++noinst_PROGRAMS =  nm-new$(EXEEXT) strip-new$(EXEEXT)
+ PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)
+ 
+ 
+@@ -1191,9 +1191,6 @@
+ 
+ binutils.info: $(srcdir)/binutils.texi config.texi
+ 
+-$(DEMANGLER_NAME).1: cxxfilt.man Makefile
+-	sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < $(srcdir)/cxxfilt.man \
+-		> $(DEMANGLER_NAME).1
+ mostlyclean-local:
+ 	-rm -rf tmpdir
+ 
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/patches/patch-ab i386-rtems-binutils/patches/patch-ab
--- /mnt/usr/ports/devel/i386-rtems-binutils/patches/patch-ab	Wed Dec 31 19:00:00 1969
+++ i386-rtems-binutils/patches/patch-ab	Thu Aug 24 10:37:40 2000
@@ -0,0 +1,18 @@
+--- libiberty/Makefile.in.orig	Fri Mar 24 16:31:22 2000
++++ libiberty/Makefile.in	Thu Aug 24 10:37:01 2000
+@@ -152,15 +152,9 @@
+ install: install_to_$(INSTALL_DEST) install-subdir
+ 
+ install_to_libdir: all
+-	$(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
+-	( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
+-	mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
+ 	@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
+ 
+ install_to_tooldir: all
+-	$(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n
+-	( cd $(tooldir)/lib$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
+-	mv -f $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)
+ 	@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
+ 
+ # needed-list is used by libstdc++.  NEEDED is the list of functions
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.i386-rtems i386-rtems-binutils/pkg/PLIST.i386-rtems
--- /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.i386-rtems	Mon Jul 10 00:32:02 2000
+++ i386-rtems-binutils/pkg/PLIST.i386-rtems	Thu Aug 24 10:39:22 2000
@@ -8,14 +8,12 @@
 bin/i386-rtems-readelf
 bin/i386-rtems-nm
 bin/i386-rtems-strip
-bin/i386-rtems-c++filt
 bin/i386-rtems-as
 bin/i386-rtems-gasp
 bin/i386-rtems-ld
 include/bfd.h
 include/ansidecl.h
 include/bfdlink.h
-lib/libiberty.a
 lib/libbfd.la
 lib/libbfd.a
 lib/libopcodes.la
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.i960-rtems i386-rtems-binutils/pkg/PLIST.i960-rtems
--- /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.i960-rtems	Mon Jul 10 00:32:02 2000
+++ i386-rtems-binutils/pkg/PLIST.i960-rtems	Thu Aug 24 10:39:24 2000
@@ -8,14 +8,12 @@
 bin/i960-rtems-readelf
 bin/i960-rtems-nm
 bin/i960-rtems-strip
-bin/i960-rtems-c++filt
 bin/i960-rtems-as
 bin/i960-rtems-gasp
 bin/i960-rtems-ld
 include/bfd.h
 include/ansidecl.h
 include/bfdlink.h
-lib/libiberty.a
 lib/libbfd.la
 lib/libbfd.a
 lib/libopcodes.la
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.m68k-rtems i386-rtems-binutils/pkg/PLIST.m68k-rtems
--- /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.m68k-rtems	Mon Jul 10 00:32:02 2000
+++ i386-rtems-binutils/pkg/PLIST.m68k-rtems	Thu Aug 24 10:39:27 2000
@@ -8,14 +8,12 @@
 bin/m68k-rtems-readelf
 bin/m68k-rtems-nm
 bin/m68k-rtems-strip
-bin/m68k-rtems-c++filt
 bin/m68k-rtems-as
 bin/m68k-rtems-gasp
 bin/m68k-rtems-ld
 include/bfd.h
 include/ansidecl.h
 include/bfdlink.h
-lib/libiberty.a
 lib/libbfd.la
 lib/libbfd.a
 lib/libopcodes.la
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.mips64orion-rtems i386-rtems-binutils/pkg/PLIST.mips64orion-rtems
--- /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.mips64orion-rtems	Mon Jul 10 00:32:02 2000
+++ i386-rtems-binutils/pkg/PLIST.mips64orion-rtems	Thu Aug 24 10:39:31 2000
@@ -8,14 +8,12 @@
 bin/mips64orion-rtems-readelf
 bin/mips64orion-rtems-nm
 bin/mips64orion-rtems-strip
-bin/mips64orion-rtems-c++filt
 bin/mips64orion-rtems-as
 bin/mips64orion-rtems-gasp
 bin/mips64orion-rtems-ld
 include/bfd.h
 include/ansidecl.h
 include/bfdlink.h
-lib/libiberty.a
 lib/libbfd.la
 lib/libbfd.a
 lib/libopcodes.la
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.powerpc-rtems i386-rtems-binutils/pkg/PLIST.powerpc-rtems
--- /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.powerpc-rtems	Mon Jul 10 00:32:02 2000
+++ i386-rtems-binutils/pkg/PLIST.powerpc-rtems	Thu Aug 24 10:39:34 2000
@@ -8,14 +8,12 @@
 bin/powerpc-rtems-readelf
 bin/powerpc-rtems-nm
 bin/powerpc-rtems-strip
-bin/powerpc-rtems-c++filt
 bin/powerpc-rtems-as
 bin/powerpc-rtems-gasp
 bin/powerpc-rtems-ld
 include/bfd.h
 include/ansidecl.h
 include/bfdlink.h
-lib/libiberty.a
 lib/libbfd.la
 lib/libbfd.a
 lib/libopcodes.la
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.sh-rtems i386-rtems-binutils/pkg/PLIST.sh-rtems
--- /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.sh-rtems	Mon Jul 10 00:32:02 2000
+++ i386-rtems-binutils/pkg/PLIST.sh-rtems	Thu Aug 24 10:39:36 2000
@@ -8,14 +8,12 @@
 bin/sh-rtems-readelf
 bin/sh-rtems-nm
 bin/sh-rtems-strip
-bin/sh-rtems-c++filt
 bin/sh-rtems-as
 bin/sh-rtems-gasp
 bin/sh-rtems-ld
 include/bfd.h
 include/ansidecl.h
 include/bfdlink.h
-lib/libiberty.a
 lib/libbfd.la
 lib/libbfd.a
 lib/libopcodes.la
diff -ruN /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.sparc-rtems i386-rtems-binutils/pkg/PLIST.sparc-rtems
--- /mnt/usr/ports/devel/i386-rtems-binutils/pkg/PLIST.sparc-rtems	Mon Jul 10 00:32:02 2000
+++ i386-rtems-binutils/pkg/PLIST.sparc-rtems	Thu Aug 24 10:39:39 2000
@@ -8,14 +8,12 @@
 bin/sparc-rtems-readelf
 bin/sparc-rtems-nm
 bin/sparc-rtems-strip
-bin/sparc-rtems-c++filt
 bin/sparc-rtems-as
 bin/sparc-rtems-gasp
 bin/sparc-rtems-ld
 include/bfd.h
 include/ansidecl.h
 include/bfdlink.h
-lib/libiberty.a
 lib/libbfd.la
 lib/libbfd.a
 lib/libopcodes.la



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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