public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
@ 2008-09-15 19:48 reuben dot kraft at gmail dot com
2008-09-15 19:50 ` [Bug fortran/37527] " reuben dot kraft at gmail dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: reuben dot kraft at gmail dot com @ 2008-09-15 19:48 UTC (permalink / raw)
To: gcc-bugs
Hi,
I am trying to compile GCC4.3.2 on Linux x86_64. I am getting the following
compile error:
configure: error: GNU Fortran is not working; please report a bug in
http://gcc.gnu.org/bugzilla, attaching
/home/rkraft/apps/gcc-4.3.2/x86_64-unknown-linux-gnu/libgfortran/config.log
make[1]: *** [configure-target-libgfortran] Error 1
make[1]: Leaving directory `/home/rkraft/apps/gcc-4.3.2'
In gcc-4.3.2/x86_64-unknown-linux-gnu/libgfortran/config.log:
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'me'
My configure options are:
./configure
--prefix=/home/rkraft/apps/gcc-4.3.2
--with-mpfr=/home/rkraft/apps/mpfr-2.3.2
--disable-multilib
--enable-languages=c,c++,fortran
--with-gmp=/home/rkraft/apps/gmp-4.2.3
--with-gmp-lib=/home/rkraft/apps/gmp-4.2.3/lib
--with-mpfr-lib=/home/rkraft/apps/mpfr-2.3.2/lib
I have also set:
export
LD_LIBRARY_PATH=/home/rkraft/apps/mpfr-2.3.2/lib:/home/rkraft/apps/gmp-4.2.3/lib
Any ideas how to fix this?
--
Summary: conftest.c:2: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'me'
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reuben dot kraft at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
2008-09-15 19:48 [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' reuben dot kraft at gmail dot com
@ 2008-09-15 19:50 ` reuben dot kraft at gmail dot com
2008-09-15 19:53 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reuben dot kraft at gmail dot com @ 2008-09-15 19:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from reuben dot kraft at gmail dot com 2008-09-15 19:49 -------
Created an attachment (id=16328)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16328&action=view)
Config log from gcc-4.3.2/x86_64-unknown-linux-gnu/libgfortran/config.log
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
2008-09-15 19:48 [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' reuben dot kraft at gmail dot com
2008-09-15 19:50 ` [Bug fortran/37527] " reuben dot kraft at gmail dot com
@ 2008-09-15 19:53 ` pinskia at gcc dot gnu dot org
2008-09-15 19:54 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-15 19:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-09-15 19:51 -------
/home/rkraft/apps/gcc-4.3.2/libgfortran/configure: line 13399:
/home/rkraft/apps/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/gfortran: No such
file or directory
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
2008-09-15 19:48 [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' reuben dot kraft at gmail dot com
2008-09-15 19:50 ` [Bug fortran/37527] " reuben dot kraft at gmail dot com
2008-09-15 19:53 ` pinskia at gcc dot gnu dot org
@ 2008-09-15 19:54 ` pinskia at gcc dot gnu dot org
2008-09-16 12:02 ` reuben dot kraft at gmail dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-15 19:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-09-15 19:52 -------
Oh building in the source directory is not really supported.
Can you try building in a different object directory?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
2008-09-15 19:48 [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' reuben dot kraft at gmail dot com
` (2 preceding siblings ...)
2008-09-15 19:54 ` pinskia at gcc dot gnu dot org
@ 2008-09-16 12:02 ` reuben dot kraft at gmail dot com
2008-09-16 13:15 ` reuben dot kraft at gmail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reuben dot kraft at gmail dot com @ 2008-09-16 12:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from reuben dot kraft at gmail dot com 2008-09-16 12:00 -------
(In reply to comment #3)
> Oh building in the source directory is not really supported.
> Can you try building in a different object directory?
>
Using a different object directory I was able to compile c and c++, but not
fortran. I configured with:
./configure
--prefix=/home/rkraft/apps/gcc4
--with-mpfr=/home/rkraft/apps/mpfr-2.3.2
--disable-multilib
--enable-languages=c,c++,fortran
--with-gmp=/home/rkraft/apps/gmp-4.2.3
--with-gmp-lib=/home/rkraft/apps/gmp-4.2.3/lib
--with-mpfr-lib=/home/rkraft/apps/mpfr-2.3.2/lib
in the config.log file from I searched for "error" and found these:
--conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'me'
--conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
--conftest.c:70:27: error: floatingpoint.h: No such file or directory
--conftest.c:70:20: error: ieeefp.h: No such file or directory
--conftest.c:71:20: error: fptrap.h: No such file or directory
I don't thing gfortran in getting compiled, but it is hard to determine because
all errors are output on the terminal. Where can I find error messages?
Thanks for your time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
2008-09-15 19:48 [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' reuben dot kraft at gmail dot com
` (3 preceding siblings ...)
2008-09-16 12:02 ` reuben dot kraft at gmail dot com
@ 2008-09-16 13:15 ` reuben dot kraft at gmail dot com
2008-12-08 22:18 ` mikael at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reuben dot kraft at gmail dot com @ 2008-09-16 13:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from reuben dot kraft at gmail dot com 2008-09-16 13:13 -------
My problem looks very similar to this bug report which does not seem to be full
resolved:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36349
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
2008-09-15 19:48 [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' reuben dot kraft at gmail dot com
` (4 preceding siblings ...)
2008-09-16 13:15 ` reuben dot kraft at gmail dot com
@ 2008-12-08 22:18 ` mikael at gcc dot gnu dot org
2008-12-24 22:52 ` pinskia at gcc dot gnu dot org
2009-03-28 9:36 ` fxcoudert at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: mikael at gcc dot gnu dot org @ 2008-12-08 22:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from mikael at gcc dot gnu dot org 2008-12-08 22:17 -------
(In reply to comment #4)
>
> Using a different object directory I was able to compile c and c++, but not
> fortran. I configured with:
> ./configure
> --prefix=/home/rkraft/apps/gcc4
> --with-mpfr=/home/rkraft/apps/mpfr-2.3.2
> --disable-multilib
> --enable-languages=c,c++,fortran
> --with-gmp=/home/rkraft/apps/gmp-4.2.3
> --with-gmp-lib=/home/rkraft/apps/gmp-4.2.3/lib
> --with-mpfr-lib=/home/rkraft/apps/mpfr-2.3.2/lib
>
This is still wrong.
If you are using a separated build directory, your command shall look like:
../gcc-4.3.2/configure (your options here ...)
Does it work now ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
2008-09-15 19:48 [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' reuben dot kraft at gmail dot com
` (5 preceding siblings ...)
2008-12-08 22:18 ` mikael at gcc dot gnu dot org
@ 2008-12-24 22:52 ` pinskia at gcc dot gnu dot org
2009-03-28 9:36 ` fxcoudert at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-24 22:52 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
2008-09-15 19:48 [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' reuben dot kraft at gmail dot com
` (6 preceding siblings ...)
2008-12-24 22:52 ` pinskia at gcc dot gnu dot org
@ 2009-03-28 9:36 ` fxcoudert at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-03-28 9:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from fxcoudert at gcc dot gnu dot org 2009-03-28 09:35 -------
Closing for now. Please reopen with additional information if you still have
issues building gfortran.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-03-28 9:36 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-15 19:48 [Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' reuben dot kraft at gmail dot com
2008-09-15 19:50 ` [Bug fortran/37527] " reuben dot kraft at gmail dot com
2008-09-15 19:53 ` pinskia at gcc dot gnu dot org
2008-09-15 19:54 ` pinskia at gcc dot gnu dot org
2008-09-16 12:02 ` reuben dot kraft at gmail dot com
2008-09-16 13:15 ` reuben dot kraft at gmail dot com
2008-12-08 22:18 ` mikael at gcc dot gnu dot org
2008-12-24 22:52 ` pinskia at gcc dot gnu dot org
2009-03-28 9:36 ` fxcoudert at gcc dot gnu dot org
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).