other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1

mmokrejs@natur.cuni.cz mmokrejs@natur.cuni.cz
Thu Dec 12 20:16:00 GMT 2002


>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:



More information about the Gcc-bugs mailing list