gcc-4.2.0 update and f77

Ruslan Ermilov ru at freebsd.org
Fri May 25 16:02:34 UTC 2007


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
@@ -14,6 +14,24 @@
 # 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
@@ -45,10 +63,6 @@
 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070525/9357726a/attachment.pgp


More information about the freebsd-current mailing list