From owner-cvs-all Sat Nov 2 10: 4:15 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 591E637B404; Sat, 2 Nov 2002 10:04:13 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ECB443EA9; Sat, 2 Nov 2002 10:04:10 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.5) with ESMTP id gA2I44eZ028890; Sat, 2 Nov 2002 10:04:04 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id gA2I44op028889; Sat, 2 Nov 2002 10:04:04 -0800 (PST) Date: Sat, 2 Nov 2002 10:04:04 -0800 From: Steve Kargl To: Alfred Perlstein Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/stdio findfp.c Message-ID: <20021102180404.GA28779@troutmask.apl.washington.edu> References: <200210310154.g9V1sRiC017013@repoman.freebsd.org> <20021031015818.GU24139@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021031015818.GU24139@elvis.mu.org> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 30, 2002 at 05:58:18PM -0800, Alfred Perlstein wrote: > * Alfred Perlstein [021030 17:55] wrote: > > alfred 2002/10/30 17:54:27 PST > > > > Modified files: > > lib/libc/stdio findfp.c > > Log: > > Make __sF static. This can not be allowed to exist in 5.x. > > My suggestion is to use: > portupgrade -aF > after an installworld and things will be fine. > > If this is truly too upsetting for some then I recommend that you > submit a patch to add a make.conf knob for your special case. > > I'd much prefer to cut the cord now than to have this bleed over > into 5.x. > This breaks commercial third party software, which cannot be easily updated by portupgrade -aF. kargl[206] f95 -o a a.f90 /usr/local/lib/NAGWare/libf96.so: undefined reference to `__sF' collect2: ld returned 1 exit status f95 is NAG's Fortran 95 compiler. It translates Fortran 95 into C, then hands the C to gcc to complete the compilation. It does the equivalent of f95 -c -o a.c a.f90 gcc -o a a.c -lf96 -lm -lc libf96.so was compiled on a 4.2 system. libm.so and libc.so are compiled on 5.0. Before Peter backed out his last attempt to kill __sF, he helped find a hackish work-around. It is documented here: http://www.freebsd.org/cgi/getmsg.cgi?fetch=1755928+1759974+/usr/local/\ www/db/text/2002/freebsd-current/20021013.freebsd-current One other work-around may be to directly relink libf96.so to /usr/lib/compat/libc.so.4. I don't know if this is possible. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message