public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: fernando@beprogramadores.org
To: gcc-gnats@gcc.gnu.org
Subject: c/4942: GCC build error
Date: Tue, 20 Nov 2001 12:36:00 -0000	[thread overview]
Message-ID: <20011124230000.27337.qmail@sourceware.cygnus.com> (raw)


>Number:         4942
>Category:       c
>Synopsis:       GCC build error
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 24 15:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     fernando@beprogramadores.org
>Release:        unknown-1.0
>Organization:
>Environment:
Mac OS X 10.0
>Description:
Hi, I'm tryint to compile GCC 3.02 over Mac OS X 10.0 and I get a compiler error.

I have executed configure correctly but in the build phase I get a compiler error in a file called builtin-attrs.def included by c-common.c

In file included from ../../gcc/gcc/c-common.c:36:
../../gcc/gcc/c-lex.h:28: warning: ANSI C forbids const or volatile functions
../../gcc/gcc/c-common.c:435: warning: ANSI C forbids const or volatile functions
../../gcc/gcc/c-common.c:455: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/gcc/c-common.c:3846:
../../gcc/gcc/builtin-attrs.def:94: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:95: redefinition of `ATTR_PRINTF_1'
../../gcc/gcc/builtin-attrs.def:94: `ATTR_PRINTF_1' previously defined here
../../gcc/gcc/builtin-attrs.def:95: redefinition of `ATTR_FORMAT_PRINTF_1'
../../gcc/gcc/builtin-attrs.def:94: `ATTR_FORMAT_PRINTF_1' previously defined here
../../gcc/gcc/builtin-attrs.def:97: redefinition of `ATTR_PRINTF_2'
../../gcc/gcc/builtin-attrs.def:96: `ATTR_PRINTF_2' previously defined here
../../gcc/gcc/builtin-attrs.def:97: redefinition of `ATTR_FORMAT_PRINTF_2'
../../gcc/gcc/builtin-attrs.def:96: `ATTR_FORMAT_PRINTF_2' previously defined here
../../gcc/gcc/builtin-attrs.def:99: redefinition of `ATTR_PRINTF_3'
../../gcc/gcc/builtin-attrs.def:98: `ATTR_PRINTF_3' previously defined here
../../gcc/gcc/builtin-attrs.def:99: redefinition of `ATTR_FORMAT_PRINTF_3'
../../gcc/gcc/builtin-attrs.def:98: `ATTR_FORMAT_PRINTF_3' previously defined here
../../gcc/gcc/builtin-attrs.def:101: redefinition of `ATTR_SCANF_1'
../../gcc/gcc/builtin-attrs.def:100: `ATTR_SCANF_1' previously defined here
../../gcc/gcc/builtin-attrs.def:101: redefinition of `ATTR_FORMAT_SCANF_1'
../../gcc/gcc/builtin-attrs.def:100: `ATTR_FORMAT_SCANF_1' previously defined here
../../gcc/gcc/builtin-attrs.def:103: redefinition of `ATTR_SCANF_2'
../../gcc/gcc/builtin-attrs.def:102: `ATTR_SCANF_2' previously defined here
../../gcc/gcc/builtin-attrs.def:103: redefinition of `ATTR_FORMAT_SCANF_2'
../../gcc/gcc/builtin-attrs.def:102: `ATTR_FORMAT_SCANF_2' previously defined here
../../gcc/gcc/c-common.c:3864: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/gcc/c-common.c:3920:
../../gcc/gcc/builtin-attrs.def: In function `c_init_attributes':
../../gcc/gcc/builtin-attrs.def:94: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:94: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:95: parse error before `_2'
../../gcc/gcc/builtin-attrs.def:95: parse error before `_2'
../../gcc/gcc/builtin-attrs.def:96: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:96: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:97: parse error before `_3'
../../gcc/gcc/builtin-attrs.def:97: parse error before `_3'
../../gcc/gcc/builtin-attrs.def:98: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:98: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:99: parse error before `_4'
../../gcc/gcc/builtin-attrs.def:99: parse error before `_4'
../../gcc/gcc/builtin-attrs.def:100: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:100: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:101: parse error before `_2'
../../gcc/gcc/builtin-attrs.def:101: parse error before `_2'
../../gcc/gcc/builtin-attrs.def:102: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:102: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:103: parse error before `_3'
../../gcc/gcc/builtin-attrs.def:103: parse error before `_3'
../../gcc/gcc/builtin-attrs.def:104: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:104: parse error before `_0'
../../gcc/gcc/builtin-attrs.def:105: parse error before `_4'
../../gcc/gcc/builtin-attrs.def:105: parse error before `_4'
In file included from ../../gcc/gcc/c-common.c:3949:
../../gcc/gcc/builtin-attrs.def: In function `c_common_insert_default_attributes':
../../gcc/gcc/builtin-attrs.def:126: `ATTR_FORMAT_PRINTF_1_2' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:126: (Each undeclared identifier is reported only once
../../gcc/gcc/builtin-attrs.def:126: for each function it appears in.)
../../gcc/gcc/builtin-attrs.def:127: `ATTR_FORMAT_PRINTF_2_3' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:134: `ATTR_FORMAT_SCANF_1_2' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:135: `ATTR_FORMAT_SCANF_2_3' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:137: `ATTR_FORMAT_PRINTF_1_0' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:138: `ATTR_FORMAT_PRINTF_2_0' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:140: `ATTR_FORMAT_STRFTIME_3_0' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:148: `ATTR_FORMAT_PRINTF_3_4' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:149: `ATTR_FORMAT_PRINTF_3_0' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:150: `ATTR_FORMAT_SCANF_1_0' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:151: `ATTR_FORMAT_SCANF_2_0' undeclared (first use in this function)
../../gcc/gcc/builtin-attrs.def:164: `ATTR_FORMAT_STRFMON_3_4' undeclared (first use in this function)
make[2]: *** [c-common.o] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2


>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-11-24 23:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-20 12:36 fernando [this message]
2001-11-21 21:41 rodrigc
2001-11-21 22:40 rodrigc
2003-01-23  6:26 Ryan Rasmussen
2003-01-23  8:16 Ryan Rasmussen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011124230000.27337.qmail@sourceware.cygnus.com \
    --to=fernando@beprogramadores.org \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).