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]

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


Art Haas <ahaas@impactweather.com> writes:

> 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.)

I've got the same problem on both Solaris 10/x86 and Solaris 11/SPARC (and
most likely, IRIX 6.5 will be affected, too).  I've file PR
libfortran/41169 for the issue, assigned to Tobias.

It seems that the underlying issue is a problem in GCC's complex support on
Solaris 2, though.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University


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