This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build failure in libgfortran on i386-pc-solaris2.10


Hi.

My bootstrap builds have been failing in the 'libgfortran' portion
of the build since this patch:

2009-07-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40863
        * c99_functions.c: Define complex I, if not defined.
        Create prototypes for C99 functions to silence warnings.
        * gfortran.map: Add missing functions to GFORTRAN_C99_1.0
        and new GFORTRAN_C99_1.1.

Here's the error message from the build log:

libtool: compile:  /export/home/arth/gnu/gcc-0730/./gcc/xgcc -B/export/home/arth/gnu/gcc-0730/./gcc/ -B/export/home/arth/local/i386-pc-solaris2.10/bin/ -B/export/home/arth/local/i386-pc-solaris2.10/lib/ -isystem /export/home/arth/local/i386-pc-solaris2.10/include -isystem /export/home/arth/local/i386-pc-solaris2.10/sys-include -DHAVE_CONFIG_H -I. -I/export/home/arth/gnu/gcc.git/libgfortran -I. -iquote/export/home/arth/gnu/gcc.git/libgfortran/io -I/export/home/arth/gnu/gcc.git/libgfortran/../gcc -I/export/home/arth/gnu/gcc.git/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2 -march=pentium4 -MT c99_functions.lo -MD -MP -MF .deps/c99_functions.Tpo -c /export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c  -fPIC -DPIC -o .libs/c99_functions.o
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'casinf':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1585:11: error: '_Imaginary_I' undeclared (first use in this function)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1585:11: error: (Each undeclared identifier is reported only once
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1585:11: error: for each function it appears in.)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'casin':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1597:11: error: '_Imaginary_I' undeclared (first use in this function)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'casinl':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1609:11: error: '_Imaginary_I' undeclared (first use in this function)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'cacosf':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1624:11: error: '_Imaginary_I' undeclared (first use in this function)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'cacos':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1636:11: error: '_Imaginary_I' undeclared (first use in this function)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'cacosl':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1648:11: error: '_Imaginary_I' undeclared (first use in this function)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'catanf':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1663:10: error: '_Imaginary_I' undeclared (first use in this function)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'catan':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1675:10: error: '_Imaginary_I' undeclared (first use in this function)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'catanl':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1687:10: error: '_Imaginary_I' undeclared (first use in this function)
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1688:1: warning: control reaches end of non-void function
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'catan':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1676:1: warning: control reaches end of non-void function
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'catanf':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1664:1: warning: control reaches end of non-void function
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'cacosl':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1649:1: warning: control reaches end of non-void function
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'cacos':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1637:1: warning: control reaches end of non-void function
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'cacosf':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1625:1: warning: control reaches end of non-void function
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'casinl':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1610:1: warning: control reaches end of non-void function
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'casin':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1598:1: warning: control reaches end of non-void function
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c: In function 'casinf':
/export/home/arth/gnu/gcc.git/libgfortran/intrinsics/c99_functions.c:1586:1: warning: control reaches end of non-void function

Anyone else building on Solaris 10 seeing this problem?

Art Haas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]