From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22864 invoked by alias); 13 Dec 2002 04:16:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 22837 invoked by uid 71); 13 Dec 2002 04:16:01 -0000 Resent-Date: 13 Dec 2002 04:16:01 -0000 Resent-Message-ID: <20021213041601.22836.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, mmokrejs@natur.cuni.cz Received: (qmail 18886 invoked by uid 61); 13 Dec 2002 04:07:41 -0000 Message-Id: <20021213040741.18882.qmail@sources.redhat.com> Date: Thu, 12 Dec 2002 20:16:00 -0000 From: mmokrejs@natur.cuni.cz Reply-To: mmokrejs@natur.cuni.cz To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1 X-SW-Source: 2002-12/txt/msg00731.txt.bz2 List-Id: >Number: 8920 >Category: other >Synopsis: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Dec 12 20:16:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: mmokrejs@natur.cuni.cz >Release: gcc-3.2.1 >Organization: >Environment: >Description: Hi, I've already reported this bug in previous gcc version, but it is still present. :( gcc -c -DHAVE_CONFIG_H -I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses -I/software/@sys/usr/openssl/include -I/software/@sys/usr/include/freetype2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/concat.c ../../libiberty/concat.c: In function `concat_length': ../../libiberty/concat.c:115: warning: implicit declaration of function `VA_OPEN' ../../libiberty/concat.c:115: `args' undeclared (first use in this function) ../../libiberty/concat.c:115: (Each undeclared identifier is reported only once ../../libiberty/concat.c:115: for each function it appears in.) ../../libiberty/concat.c:116: warning: implicit declaration of function `VA_FIXEDARG' ../../libiberty/concat.c:116: parse error before "const" ../../libiberty/concat.c:118: warning: implicit declaration of function `VA_CLOSE' ../../libiberty/concat.c: In function `concat_copy': ../../libiberty/concat.c:130: warning: function `VA_OPEN' was previously declared within a block ../../libiberty/concat.c:130: `args' undeclared (first use in this function) ../../libiberty/concat.c:131: warning: function `VA_FIXEDARG' was previously declared within a block ../../libiberty/concat.c:131: parse error before "char" ../../libiberty/concat.c:132: parse error before "const" ../../libiberty/concat.c:135: warning: function `VA_CLOSE' was previously declared within a block ../../libiberty/concat.c: In function `concat_copy2': ../../libiberty/concat.c:147: warning: function `VA_OPEN' was previously declared within a block ../../libiberty/concat.c:147: `args' undeclared (first use in this function) ../../libiberty/concat.c:148: warning: function `VA_FIXEDARG' was previously declared within a block ../../libiberty/concat.c:148: parse error before "const" ../../libiberty/concat.c:150: warning: function `VA_CLOSE' was previously declared within a block ../../libiberty/concat.c: In function `concat': ../../libiberty/concat.c:161: warning: function `VA_OPEN' was previously declared within a block ../../libiberty/concat.c:161: `args' undeclared (first use in this function) ../../libiberty/concat.c:162: warning: function `VA_FIXEDARG' was previously declared within a block ../../libiberty/concat.c:162: parse error before "const" ../../libiberty/concat.c:164: warning: function `VA_CLOSE' was previously declared within a block ../../libiberty/concat.c:168: parse error before "const" ../../libiberty/concat.c: In function `reconcat': ../../libiberty/concat.c:198: warning: function `VA_OPEN' was previously declared within a block ../../libiberty/concat.c:198: `args' undeclared (first use in this function) ../../libiberty/concat.c:199: warning: function `VA_FIXEDARG' was previously declared within a block ../../libiberty/concat.c:199: parse error before "char" ../../libiberty/concat.c:200: parse error before "const" ../../libiberty/concat.c:202: warning: function `VA_CLOSE' was previously declared within a block ../../libiberty/concat.c:206: parse error before "char" ../../libiberty/concat.c:207: parse error before "const" make[1]: *** [concat.o] Error 1 make[1]: Leaving directory `/scratch/mmokrejs/gcc-3.2.1/objdir/libiberty' >How-To-Repeat: Lokk using google for these errors/warnings, you will get enough hits. ;) >Fix: binutils-2.11.2 have compilable libiberty >Release-Note: >Audit-Trail: >Unformatted: