The patch

2005-10-03  Francois-Xavier Coudert  <[EMAIL PROTECTED]>

        PR libfortran/19308
        PR libfortran/22437
        * Makefile.am: Add generated files for large real and integers
        kinds. Add a rule to create the kinds.inc c99_protos.inc files.
        Use kinds.inc to preprocess Fortran generated files.
        * libgfortran.h: Add macro definitions for GFC_INTEGER_16_HUGE,
        GFC_REAL_10_HUGE and GFC_REAL_16_HUGE. Add types gfc_array_i16,
        gfc_array_r10, gfc_array_r16, gfc_array_c10, gfc_array_c16,
        gfc_array_l16.
        * mk-kinds-h.sh: Define macros HAVE_GFC_LOGICAL_* and
        HAVE_GFC_COMPLEX_* when these types are available.
        * intrinsics/ishftc.c (ishftc16): New function for GFC_INTEGER_16.
        * m4/all.m4, m4/any.m4, m4/count.m4, m4/cshift1.m4, m4/dotprod.m4,
        m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4, m4/eoshift3.m4,
        m4/exponent.m4, m4/fraction.m4, m4/in_pack.m4, m4/in_unpack.m4,
        m4/matmul.m4, m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4,
        m4/maxval.m4, m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/mtype.m4,
        m4/nearest.m4, m4/pow.m4, m4/product.m4, m4/reshape.m4,
        m4/set_exponent.m4, m4/shape.m4, m4/specific.m4, m4/specific2.m4,
        m4/sum.m4, m4/transpose.m4: Protect generated functions with
        appropriate "#if defined (HAVE_GFC_type_kind)" preprocessor directives.
        * Makefile.in: Regenerate.
        * all files in generated/: Regenerate.

has introduced a bunch of regressions on non-C99 SPARC/Solaris platforms:
  http://gcc.gnu.org/ml/gcc-testresults/2005-10/msg00785.html
  http://gcc.gnu.org/ml/gcc-testresults/2005-10/msg00786.html
  http://gcc.gnu.org/ml/gcc-testresults/2005-10/msg00787.html
  http://gcc.gnu.org/ml/gcc-testresults/2005-10/msg00788.html
while SPARC/Solaris 10 is OK:
  http://gcc.gnu.org/ml/gcc-testresults/2005-10/msg00789.html

All almost the failures are:

FAIL: gfortran.dg/fold_nearest.f90  -Os  (test for excess errors)
Excess errors:
Undefined                       first referenced
 symbol                             in file
_gfortran_nearest_r4                /var/tmp//cckqXPiC.o
ld: fatal: Symbol referencing errors. No output written to ./fold_nearest.exe


_gfortran_nearest_r4 is missing because it is now guarded with:

#if defined (HAVE_GFC_REAL_4) && defined (HAVE_COPYSIGNF) && defined
(HAVE_NEXTAFTERF)
[...]
#endif

and neither HAVE_COPYSIGNF nor HAVE_NEXTAFTERF is defined; but of course
intrinsics/c99_functions.c provides copysignf and nextafterf.


[FX, please make sure your email address as recorded in the ChangeLog file is
registered with Bugzilla; same for [EMAIL PROTECTED]  Thanks in advance.]


-- 
           Summary: [4.1 regression] Missing symbols
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: link-failure
          Severity: critical
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
 GCC build triplet: *-*-solaris2.*
  GCC host triplet: *-*-solaris2.*
GCC target triplet: *-*-solaris2.*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24432

Reply via email to