This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building gcc for SunOS5.6


> getting the following errors while building gcc on SunOS5.6 (using gcc
> 2.95.3)
> I configured it as --with-as=/usr/ucb/as --with-ld=/usr/ucb/ld
>
>
> /sw/skg/gnu/gcc/libiberty/concat.c: In function `vconcat_copy':
> /sw/skg/gnu/gcc/libiberty/concat.c:97: warning: function
> `__builtin_va_arg_incr'
>  was previously declared within a block
> /sw/skg/gnu/gcc/libiberty/concat.c: In function `concat_length':
> /sw/skg/gnu/gcc/libiberty/concat.c:115: `__builtin_va_alist' undeclared
> (first u
> se in this function)
> /sw/skg/gnu/gcc/libiberty/concat.c:115: (Each undeclared identifier is
> reported
> only once
> /sw/skg/gnu/gcc/libiberty/concat.c:115: for each function it appears in.)
> /sw/skg/gnu/gcc/libiberty/concat.c:115: warning: `args' might be used
> uninitiali
> zed in this function
> /sw/skg/gnu/gcc/libiberty/concat.c: In function `concat_copy':
> /sw/skg/gnu/gcc/libiberty/concat.c:130: `__builtin_va_alist' undeclared
> (first u

At the beginning of stage1 (that is, right after bootstrap has started)?

I can't reproduce on mainline (GCC 2.95.3 on Solaris 2.6):

gcc295 -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include  -W 
-Wall -Wtraditional -pedantic ../../src/libiberty/concat.c -o concat.o

Is your GCC 2.95.3 properly installed?

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]