Re: gcc-4.2.0 update and f77

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Fri, 25 May 2007 19:57:36 +0400
On Fri, May 25, 2007 at 04:43:34PM +0200, Pascal Hofstee wrote:
> Hi,
> 
> After the recent update to gcc-4.2.0 as the new base system compiler and
> a run of make delete-old and make delete-old-libs ... i noticed there's
> still a stale /usr/bin/f77 lying around on my system (version 3.4.6).
> 
> Was this file forgotten to be added to ObsoleteFiles now that with
> gcc-4.2.0 we (to my understanding) dropped the fortran compiler from the
> base system ?
> 
ObsoleteFiles hasn't been updated at all for the GCC import.
There are more obsolete files.

And libg2c.* and libgcc_pic.a were mistakenly and incompletely
put into OLD_LIBS as part of "20070521: shared library version
bump" though they belong to the new GCC import dropping support
for Fortran.  (Incompletely because the libg2c.so symlink isn't
removed.)

The following patch is incomplete as it doesn't deal with
usr/include/c++/3.4.

%%%
Index: ObsoleteFiles.inc
===================================================================
RCS file: /home/ncvs/src/ObsoleteFiles.inc,v
retrieving revision 1.86
diff -u -r1.86 ObsoleteFiles.inc
--- ObsoleteFiles.inc	21 May 2007 08:53:26 -0000	1.86
+++ ObsoleteFiles.inc	25 May 2007 15:57:32 -0000
_at__at_ -14,6 +14,24 _at__at_
 # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
 #
 
+# 20070519: GCC 4.2
+OLD_FILES+=usr/bin/f77
+OLD_FILES+=usr/bin/protoize
+OLD_FILES+=usr/libexec/f771
+OLD_FILES+=usr/share/info/g77.info.gz
+OLD_FILES+=usr/share/man/man1/f77.1.gz
+OLD_LIBS+=usr/lib/libg2c.a
+OLD_LIBS+=usr/lib/libg2c.so
+OLD_LIBS+=usr/lib/libg2c.so.2
+OLD_LIBS+=usr/lib/libg2c_p.a
+OLD_LIBS+=usr/lib/libgcc_pic.a
+.if ${TARGET_ARCH} == "amd64"
+OLD_LIBS+=usr/lib32/libg2c.a
+OLD_LIBS+=usr/lib32/libg2c.so
+OLD_LIBS+=usr/lib32/libg2c.so.2
+OLD_LIBS+=usr/lib32/libg2c_p.a
+OLD_LIBS+=usr/lib32/libgcc_pic.a
+.endif
 # 20070521: shared library version bump
 OLD_LIBS+=lib/libatm.so.4
 OLD_LIBS+=lib/libbegemot.so.2
_at__at_ -45,10 +63,6 _at__at_
 OLD_LIBS+=usr/lib/libform.so.3
 OLD_LIBS+=usr/lib/libformw.so.3
 OLD_LIBS+=usr/lib/libftpio.so.6
-OLD_LIBS+=usr/lib/libg2c.a
-OLD_LIBS+=usr/lib/libg2c.so.2
-OLD_LIBS+=usr/lib/libg2c_p.a
-OLD_LIBS+=usr/lib/libgcc_pic.a
 OLD_LIBS+=usr/lib/libgpib.so.1
 OLD_LIBS+=usr/lib/libkse.so.2
 OLD_LIBS+=usr/lib/libmagic.so.2
%%%


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Fri May 25 2007 - 14:02:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC