This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building gcc for SunOS5.6
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: "Sanjiv Gupta" <skg at cradle dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Wed, 7 Jan 2004 12:04:22 +0100
- Subject: Re: Building gcc for SunOS5.6
- References: <CPEBIFIFLKPINAADLBJHIEOACKAA.skg@cradle.com>
> 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