From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117528 invoked by alias); 30 Aug 2015 10:42:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 117495 invoked by uid 48); 30 Aug 2015 10:42:22 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66534] Compilation error of gfortran building on YDL6.2 Date: Sun, 30 Aug 2015 10:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg02038.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66534 --- Comment #3 from Dominique d'Humieres --- > Created attachment 35780 [details] > The file `/home/zgzg/gcc-5.1.0/powerpc-unknown-linux-gnu/libgfortran/config.log' Are you sure you have posted the right log file? I don't see the error ../.././libgfortran/runtime/string.c:96:1: error: static declaration of 'strnlen' in it and HAVE_STRNLEN is defined, thus the block #ifndef HAVE_STRNLEN static size_t strnlen (const char *s, size_t maxlen) { for (size_t ii = 0; ii < maxlen; ii++) { if (s[ii] == '\0') return ii; } return maxlen; } #endif should be skipped.