public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "yikey326 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/46816] can not compile gcc due to a Fortran configure error
Date: Tue, 07 Dec 2010 10:49:00 -0000	[thread overview]
Message-ID: <bug-46816-4-dS8IzBvXNp@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-46816-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46816

--- Comment #3 from yikey326 at hotmail dot com 2010-12-07 10:48:51 UTC ---
Yes, the old problem might due to mpfr since in my computer I had several
versions of gmp and mpfr was not installed properly. 

Now I reinstalled gmp and mpfr. But this time when I compile gcc it even have
more problems and stops quickly.

../../gcc-4.4.5/gcc/../libcpp/include/line-map.h:66: error: `CHAR_BIT'
undeclared here (not in a function)
../../gcc-4.4.5/gcc/../libcpp/include/line-map.h:66: error: bit-field `reason'
width not an integer constant
../../gcc-4.4.5/gcc/../libcpp/include/line-map.h:66: warning: `reason' is
narrower than values of its type
In file included from ../../gcc-4.4.5/gcc/c-common.h:26,
                 from ../../gcc-4.4.5/gcc/c-tree.h:25,
                 from ../../gcc-4.4.5/gcc/c-lang.c:28:
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:198: error: bit-field `type'
width not an integer constant
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:198: warning: `type' is narrower
than values of its type
In file included from ../../gcc-4.4.5/gcc/c-common.h:26,
                 from ../../gcc-4.4.5/gcc/c-tree.h:25,
                 from ../../gcc-4.4.5/gcc/c-lang.c:28:
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:241:3: #error "Cannot find a
least-32-bit signed integer type"
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:243: error: syntax error before
"cppchar_t"
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:243: warning: type defaults to
`int' in declaration of `cppchar_t'
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:243: warning: data definition
has no type or storage class
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:244: error: syntax error before
"cppchar_signed_t"
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:244: warning: type defaults to
`int' in declaration of `cppchar_signed_t'
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:244: warning: data definition
has no type or storage class
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:732: error: syntax error before
"cpp_interpret_charconst"
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:733: warning: type defaults to
`int' in declaration of `cpp_interpret_charconst'
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:733: warning: data definition
has no type or storage class
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: error: syntax error before
"cpp_host_to_exec_charset"
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: error: syntax error before
"cppchar_t"
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: warning: type defaults to
`int' in declaration of `cpp_host_to_exec_charset'
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: warning: function
declaration isn't a prototype
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: warning: data definition
has no type or storage class
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:870: error: syntax error before
"cpp_parse_escape"
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:871: warning: type defaults to
`int' in declaration of `cpp_parse_escape'
../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:871: warning: data definition
has no type or storage class
make[3]: *** [c-lang.o] Error 1
make[3]: Leaving directory `/usr/src/gccobjects/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/usr/src/gccobjects'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/usr/src/gccobjects'
make: *** [all] Error 2


  parent reply	other threads:[~2010-12-07 10:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06 11:17 [Bug fortran/46816] New: " yikey326 at hotmail dot com
2010-12-06 11:22 ` [Bug fortran/46816] " yikey326 at hotmail dot com
2010-12-06 11:28 ` burnus at gcc dot gnu.org
2010-12-07 10:49 ` yikey326 at hotmail dot com [this message]
2010-12-07 10:51 ` yikey326 at hotmail dot com
2010-12-07 10:59 ` yikey326 at hotmail dot com
2010-12-08 11:37 ` yikey326 at hotmail dot com
2010-12-08 13:16 ` burnus at gcc dot gnu.org

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=bug-46816-4-dS8IzBvXNp@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).