Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 10:29:10 -0700 (PDT)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Cc:        peter@freebsd.org
Subject:   Rev. 1.48 of stdio.h breaks 3rd part software
Message-ID:  <200210121729.g9CHTAxN097669@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
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




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