* [Bug fortran/46816] can not compile gcc due to a Fortran configure error
2010-12-06 11:17 [Bug fortran/46816] New: can not compile gcc due to a Fortran configure error yikey326 at hotmail dot com
@ 2010-12-06 11:22 ` yikey326 at hotmail dot com
2010-12-06 11:28 ` burnus at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: yikey326 at hotmail dot com @ 2010-12-06 11:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46816
--- Comment #1 from yikey326 at hotmail dot com 2010-12-06 11:22:39 UTC ---
Created attachment 22651
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22651
The file "/i686-pc-linux-gnu/libgfortran/config.log"
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/46816] can not compile gcc due to a Fortran configure error
2010-12-06 11:17 [Bug fortran/46816] New: can not compile gcc due to a Fortran configure error 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
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-06 11:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46816
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
Severity|blocker |normal
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-06 11:28:41 UTC ---
There is some issue with your MPFR installation:
configure:11068: /usr/src/gccobjects/./gcc/gfortran
-B/usr/src/gccobjects/./gcc/ -B/usr//i686-pc-linux-gnu/bin/
-B/usr//i686-pc-linux-gnu/lib/ -isystem /usr//i686-pc-linux-gnu/include
-isystem /usr//i686-pc-linux-gnu/sys-include -c conftest.F >&5
/usr/src/gccobjects/./gcc/f951: symbol lookup error:
/usr/local/lib/libmpfr.so.1: undefined symbol: __gmpn_sqr
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/46816] can not compile gcc due to a Fortran configure error
2010-12-06 11:17 [Bug fortran/46816] New: can not compile gcc due to a Fortran configure error 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
2010-12-07 10:51 ` yikey326 at hotmail dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: yikey326 at hotmail dot com @ 2010-12-07 10:49 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/46816] can not compile gcc due to a Fortran configure error
2010-12-06 11:17 [Bug fortran/46816] New: can not compile gcc due to a Fortran configure error yikey326 at hotmail dot com
` (2 preceding siblings ...)
2010-12-07 10:49 ` yikey326 at hotmail dot com
@ 2010-12-07 10:51 ` yikey326 at hotmail dot com
2010-12-07 10:59 ` yikey326 at hotmail dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: yikey326 at hotmail dot com @ 2010-12-07 10:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46816
--- Comment #4 from yikey326 at hotmail dot com 2010-12-07 10:51:02 UTC ---
Created attachment 22666
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22666
The new config file for a libcpp compile problem
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/46816] can not compile gcc due to a Fortran configure error
2010-12-06 11:17 [Bug fortran/46816] New: can not compile gcc due to a Fortran configure error yikey326 at hotmail dot com
` (3 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: yikey326 at hotmail dot com @ 2010-12-07 10:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46816
--- Comment #5 from yikey326 at hotmail dot com 2010-12-07 10:59:16 UTC ---
Created attachment 22667
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22667
/usr/src/gccobjects/libcpp/config.log
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/46816] can not compile gcc due to a Fortran configure error
2010-12-06 11:17 [Bug fortran/46816] New: can not compile gcc due to a Fortran configure error yikey326 at hotmail dot com
` (4 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: yikey326 at hotmail dot com @ 2010-12-08 11:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46816
--- Comment #6 from yikey326 at hotmail dot com 2010-12-08 11:37:07 UTC ---
Now it works, thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/46816] can not compile gcc due to a Fortran configure error
2010-12-06 11:17 [Bug fortran/46816] New: can not compile gcc due to a Fortran configure error yikey326 at hotmail dot com
` (5 preceding siblings ...)
2010-12-08 11:37 ` yikey326 at hotmail dot com
@ 2010-12-08 13:16 ` burnus at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-08 13:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46816
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-08 13:16:45 UTC ---
(In reply to comment #6)
> Now it works, thanks!
Great! Close as WORKSFORME.
^ permalink raw reply [flat|nested] 8+ messages in thread