public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Build failure in libgfortran on i386-pc-solaris2.10
@ 2009-07-30 14:38 Art Haas
  2009-08-25 23:07 ` Rainer Orth
  0 siblings, 1 reply; 3+ messages in thread
From: Art Haas @ 2009-07-30 14:38 UTC (permalink / raw)
  To: gcc


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build failure in libgfortran on i386-pc-solaris2.10
  2009-07-30 14:38 Build failure in libgfortran on i386-pc-solaris2.10 Art Haas
@ 2009-08-25 23:07 ` Rainer Orth
  2009-08-26  9:11   ` Arthur Haas
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer Orth @ 2009-08-25 23:07 UTC (permalink / raw)
  To: Art Haas; +Cc: gcc, Tobias Burnus

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Build failure in libgfortran on i386-pc-solaris2.10
  2009-08-25 23:07 ` Rainer Orth
@ 2009-08-26  9:11   ` Arthur Haas
  0 siblings, 0 replies; 3+ messages in thread
From: Arthur Haas @ 2009-08-26  9:11 UTC (permalink / raw)
  To: ro; +Cc: gcc, Tobias Burnus

 
>> 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:
>> 
> [ ... snip error message ... ]
> 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.

I've stopped building the fortran compiler for the moment. I haven't dug
into what preprocessor trickery is needed to get this code to build just
yet. I will keep an eye on the PR and be glad to test any potential
patches offered.

Art Haas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-25 20:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-30 14:38 Build failure in libgfortran on i386-pc-solaris2.10 Art Haas
2009-08-25 23:07 ` Rainer Orth
2009-08-26  9:11   ` Arthur Haas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).