From owner-freebsd-current Sat Oct 12 10:29:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F9DB37B401; Sat, 12 Oct 2002 10:29:11 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id E391F43EA9; Sat, 12 Oct 2002 10:29:10 -0700 (PDT) (envelope-from kargl@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 g9CHTA4G097670; Sat, 12 Oct 2002 10:29:10 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id g9CHTAxN097669; Sat, 12 Oct 2002 10:29:10 -0700 (PDT) From: "Steven G. Kargl" Message-Id: <200210121729.g9CHTAxN097669@troutmask.apl.washington.edu> Subject: Rev. 1.48 of stdio.h breaks 3rd part software To: freebsd-current@freebsd.org Date: Sat, 12 Oct 2002 10:29:10 -0700 (PDT) Cc: peter@freebsd.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This commit by Peter breaks 3rd party software: Revision 1.48 / (download) - annotate - [select for diffs], \ Fri Oct 11 22:38:17 2002 UTC (18 hours, 14 minutes ago) by peter Branch: MAIN Changes since 1.47: +0 -8 lines Diff to previous 1.47 (colored) Zap the early-adopter transition aid before we get into serious 5.0-R territory, as threatened. This only affects antique 5.0 systems that have not had a 'make world' done for well over a year. In particular, NAG's Fortran 95 compiler on longer works. kargl[203] make f95 -O -C=all -o testchkder chkdrv.f90 -L. -lminpack /usr/local/lib/NAGWare/libf96.so: undefined reference to `__sF' collect2: ld returned 1 exit status *** Error code 1 I've tried passing numerous combinations of flags directly to gcc with the -Wc (compiler options) and -Wl (linker options) to f95 (including -L/usr/lib/compat, -nostdlib, and -v). See below for two examples. No amount of gymnastics has worked around this problem. Finally, the NAG compiler was released for 4.x, and it may be difficult to convince 3rd party software vendors to support both 4.x and 5.0. -- Steve http://troutmask.apl.washington.edu/~kargl/ cript started on Sat Oct 12 10:25:53 2002 f95 -O -C=all -o testchkder -Wc,-v -Wl,-v -Wc,-nostdlib -Wl,-nostdlib chkdrv.f90 -L. -L/usr/lib/c ompat -lminpack -lm -lc Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20021009 (prerelease) /usr/libexec/cc1 -lang-c -v -I/usr/local/lib/NAGWare -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PA TCHLEVEL__=1 -D__GXX_ABI_VERSION=102 -D__FreeBSD__=5 -D__FreeBSD_cc_version=500004 -Dunix -D__KPR INTF_ATTRIBUTE__ -D__FreeBSD__=5 -D__FreeBSD_cc_version=500004 -D__unix__ -D__KPRINTF_ATTRIBUTE__ -D__unix -Asystem=unix -Asystem=bsd -Asystem=FreeBSD -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i3 86 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ -D__ELF__ -D_LONGLONG -DBSD -DANSI_C -DINT64=long long -DPOW_IS_INACCURATE /var/tmp/chkdrv.026087.c -quiet -dumpbase chkdrv.026087.c -O -version -fsigned-char -funroll-loops -o /var/tmp/cc9AAdTR.s GNU CPP version 3.2.1 [FreeBSD] 20021009 (prerelease) (cpplib) (i386 FreeBSD/ELF) GNU C version 3.2.1 [FreeBSD] 20021009 (prerelease) (i386-undermydesk-freebsd) compiled by GNU C version 3.2.1 [FreeBSD] 20021009 (prerelease). ignoring duplicate directory "/usr/include" #include "..." search starts here: #include <...> search starts here: /usr/local/lib/NAGWare /usr/include End of search list. /usr/libexec/elf/as -v -o chkdrv.o /var/tmp/cc9AAdTR.s GNU assembler version 2.12.1 [FreeBSD] 2002-07-20 (i386-obrien-freebsd5.0) using BFD version 2.12 .1 [FreeBSD] 2002-07-20 Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20021009 (prerelease) /usr/libexec/collect2 -V -dynamic-linker /usr/libexec/ld-elf.so.1 -o testchkder -L. -L/usr/lib/c ompat -L/usr/lib /usr/local/lib/NAGWare/quickfit.o chkdrv.o -lminpack -lm -lc -rpath /usr/local/l ib/NAGWare /usr/local/lib/NAGWare/libf96.so /usr/local/lib/NAGWare/libf96.a -lm /usr/libexec/elf/ld: warning: cannot find entry symbol _start; defaulting to 08048d1c /usr/lib/libc.so: undefined reference to `environ' /usr/lib/libc.so: undefined reference to `__progname' /usr/local/lib/NAGWare/libf96.so: undefined reference to `__sF' GNU ld version 2.12.1 [FreeBSD] 2002-07-20 Supported emulations: elf_i386 collect2: ld returned 1 exit status To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message