From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18490 invoked by alias); 25 Aug 2009 20:11:50 -0000 Received: (qmail 18481 invoked by uid 22791); 25 Aug 2009 20:11:50 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smarthost.TechFak.Uni-Bielefeld.DE (HELO smarthost.TechFak.Uni-Bielefeld.DE) (129.70.137.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 25 Aug 2009 20:11:44 +0000 Received: from asahi.TechFak.Uni-Bielefeld.DE (asahi.TechFak.Uni-Bielefeld.DE [129.70.137.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smarthost.TechFak.Uni-Bielefeld.DE (Postfix) with ESMTPS id DE253CB; Tue, 25 Aug 2009 20:11:41 +0000 (UTC) To: Art Haas Cc: , Tobias Burnus Subject: Re: Build failure in libgfortran on i386-pc-solaris2.10 References: <200907301438.n6UEcleh017505@impdell3.impactweather.local> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Rainer Orth Date: Tue, 25 Aug 2009 23:07:00 -0000 In-Reply-To: Art Haas's message of "Thu, 30 Jul 2009 14:38:47 GMT" Message-ID: X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00458.txt.bz2 Art Haas writes: > My bootstrap builds have been failing in the 'libgfortran' portion > of the build since this patch: > > 2009-07-27 Tobias Burnus > > 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