public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35471]  New: gfortran build fails in libgfortran
@ 2008-03-05 11:28 george at gcc dot gnu dot org
  2008-03-05 21:46 ` [Bug fortran/35471] libgfortran fails with nonstandard <complex.h> fxcoudert at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: george at gcc dot gnu dot org @ 2008-03-05 11:28 UTC (permalink / raw)
  To: gcc-bugs

gfortran build fails due to "complex" not being defined in kinds.h.  Though the
system has a <complex.h>, #define for complex is missing in it.  Fix is to
include

#ifndef complex
#define complex __complex__
#endif

at top of kinds.h, or to explicitly check for complex type in
libgfortran/configure.ac

....
gmake[2]: Entering directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
/bin/sh ../../../gcc/libgfortran/mk-sik-inc.sh
'/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -I . -Wall -fno-repack-arrays
-fno-underscoring -g -O2' > selected_int_kind.inc || rm selected_int_kind.inc
/bin/sh ../../../gcc/libgfortran/mk-srk-inc.sh
'/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -I . -Wall -fno-repack-arrays
-fno-underscoring -g -O2' > selected_real_kind.inc || rm selected_real_kind.inc
/bin/sh ../../../gcc/libgfortran/mk-kinds-h.sh
'/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -I . -Wall -fno-repack-arrays
-fno-underscoring -g -O2' > kinds.h || rm kinds.h
grep '^#' < kinds.h > kinds.inc
grep '^#' < ../../../gcc/libgfortran/c99_protos.h > c99_protos.inc
cp ../../../gcc/libgfortran/config/fpu-387.h fpu-target.h
gmake  all-am
gmake[3]: Entering directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
if /bin/sh ./libtool --tag=CC --mode=compile
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc/libgfortran -I.  -iquote../../../gcc/libgfortran/io
-I../../../gcc/libgfortran/../gcc -I../../../gcc/libgfortran/../gcc/config
-I../.././gcc -D_GNU_SOURCE  -std=gnu99 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -g
-O2   -MT fmain.lo -MD -MP -MF ".deps/fmain.Tpo" -c -o fmain.lo
../../../gcc/libgfortran/fmain.c; \
        then mv -f ".deps/fmain.Tpo" ".deps/fmain.Plo"; else rm -f
".deps/fmain.Tpo"; exit 1; fi
libtool: compile:  /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc/libgfortran -I. -iquote../../../gcc/libgfortran/io
-I../../../gcc/libgfortran/../gcc -I../../../gcc/libgfortran/../gcc/config
-I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -g
-O2 -MT fmain.lo -MD -MP -MF .deps/fmain.Tpo -c
../../../gcc/libgfortran/fmain.c  -fPIC -DPIC -o .libs/fmain.o
In file included from ../../../gcc/libgfortran/libgfortran.h:211,
                 from ../../../gcc/libgfortran/fmain.c:1:
./kinds.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'float'
./kinds.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'double'
./kinds.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'long'
In file included from ../../../gcc/libgfortran/fmain.c:1:
../../../gcc/libgfortran/libgfortran.h:287: error: expected
specifier-qualifier-list before 'GFC_COMPLEX_4'
../../../gcc/libgfortran/libgfortran.h:288: error: expected
specifier-qualifier-list before 'GFC_COMPLEX_8'
../../../gcc/libgfortran/libgfortran.h:290: error: expected
specifier-qualifier-list before 'GFC_COMPLEX_10'
../../../gcc/libgfortran/libgfortran.h:627: error: expected '=', ',', ';',
'asm' or '__attribute__' before '*' token
../../../gcc/libgfortran/libgfortran.h:628: error: 'internal_pack_c4'
undeclared here (not in a function)
../../../gcc/libgfortran/libgfortran.h:628: warning: type defaults to 'int' in
declaration of 'internal_pack_c4'
../../../gcc/libgfortran/libgfortran.h:630: error: expected '=', ',', ';',
'asm' or '__attribute__' before '*' token
../../../gcc/libgfortran/libgfortran.h:631: error: 'internal_pack_c8'
undeclared here (not in a function)
../../../gcc/libgfortran/libgfortran.h:631: warning: type defaults to 'int' in
declaration of 'internal_pack_c8'
../../../gcc/libgfortran/libgfortran.h:634: error: expected '=', ',', ';',
'asm' or '__attribute__' before '*' token
../../../gcc/libgfortran/libgfortran.h:635: error: 'internal_pack_c10'
undeclared here (not in a function)
../../../gcc/libgfortran/libgfortran.h:635: warning: type defaults to 'int' in
declaration of 'internal_pack_c10'
../../../gcc/libgfortran/libgfortran.h:649: warning: type defaults to 'int' in
declaration of 'GFC_COMPLEX_4'
../../../gcc/libgfortran/libgfortran.h:649: error: expected ';', ',' or ')'
before '*' token
../../../gcc/libgfortran/libgfortran.h:650: error: 'internal_unpack_c4'
undeclared here (not in a function)
../../../gcc/libgfortran/libgfortran.h:650: warning: type defaults to 'int' in
declaration of 'internal_unpack_c4'
../../../gcc/libgfortran/libgfortran.h:652: warning: type defaults to 'int' in
declaration of 'GFC_COMPLEX_8'
../../../gcc/libgfortran/libgfortran.h:652: error: expected ';', ',' or ')'
before '*' token
../../../gcc/libgfortran/libgfortran.h:653: error: 'internal_unpack_c8'
undeclared here (not in a function)
../../../gcc/libgfortran/libgfortran.h:653: warning: type defaults to 'int' in
declaration of 'internal_unpack_c8'
../../../gcc/libgfortran/libgfortran.h:656: warning: type defaults to 'int' in
declaration of 'GFC_COMPLEX_10'
../../../gcc/libgfortran/libgfortran.h:656: error: expected ';', ',' or ')'
before '*' token
../../../gcc/libgfortran/libgfortran.h:657: error: 'internal_unpack_c10'
undeclared here (not in a function)
../../../gcc/libgfortran/libgfortran.h:657: warning: type defaults to 'int' in
declaration of 'internal_unpack_c10'
gmake[3]: *** [fmain.lo] Error 1
gmake[3]: Leaving directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
gmake[1]: *** [all-target-libgfortran] Error 2
gmake[1]: Leaving directory `/usr2/local/src/gcc-4.3-20080204/gcc-linux'
gmake: *** [all] Error 2


-- 
           Summary: gfortran build fails in libgfortran
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: george at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug fortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
@ 2008-03-05 21:46 ` fxcoudert at gcc dot gnu dot org
  2008-03-11 12:03 ` [Bug libfortran/35471] " pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-03-05 21:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2008-03-05 21:45 -------
What kind of system do you have, to have a <complex.h> without complex defined
in it? (sounds kind of useless)

I suggest the following patch:

Index: libgfortran.h
===================================================================
--- libgfortran.h       (revision 132578)
+++ libgfortran.h       (working copy)
@@ -42,10 +42,12 @@

 #if HAVE_COMPLEX_H
 # include <complex.h>
-#else
-#define complex __complex__
 #endif

+#if !defined(HAVE_COMPLEX_H) || !defined(complex)
+# define complex __complex__
+#endif
+
 #include "../gcc/fortran/libgfortran.h"

 #include "c99_protos.h"


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
            Summary|gfortran build fails in     |libgfortran fails with
                   |libgfortran                 |nonstandard <complex.h>


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
  2008-03-05 21:46 ` [Bug fortran/35471] libgfortran fails with nonstandard <complex.h> fxcoudert at gcc dot gnu dot org
@ 2008-03-11 12:03 ` pinskia at gcc dot gnu dot org
  2008-03-21 21:50 ` george at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-11 12:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-03-11 12:02 -------
What glibc or newlib version are you using to compile GCC with?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
  2008-03-05 21:46 ` [Bug fortran/35471] libgfortran fails with nonstandard <complex.h> fxcoudert at gcc dot gnu dot org
  2008-03-11 12:03 ` [Bug libfortran/35471] " pinskia at gcc dot gnu dot org
@ 2008-03-21 21:50 ` george at gcc dot gnu dot org
  2008-03-21 21:52 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: george at gcc dot gnu dot org @ 2008-03-21 21:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from george at gcc dot gnu dot org  2008-03-21 21:49 -------
Here is the relevant info for the build system:

#gcc -v -o /tmp/test /tmp/test.c
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cpp -lang-c -v -undef
-D__GNUC__=2 -D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Di386 -D__i386__ -Dlinux
-D__ELF__ -D__unix__ -D__i386__ -D__i386__ -D__linux__ -D__unix -D__i386
-D__linux -Asystem(posix) -Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386
-D__i386 -D__i386__ -D__tune_i386__ /tmp/test.c /tmp/ccrWlkAf.i
GNU CPP version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) (i386
Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/i386-redhat-linux/include
 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cc1 /tmp/ccrWlkAf.i -quiet
-dumpbase test.c -version -o /tmp/cc6cfipl.s
GNU C version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
(i386-redhat-linux) compiled by GNU C version egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release).
 as -V -Qy -o /tmp/cchERe5o.o /tmp/cc6cfipl.s
GNU assembler version 2.9.5 (i386-redhat-linux) using BFD version 2.9.5.0.22
 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/collect2 -m elf_i386
-dynamic-linker /lib/ld-linux.so.2 -o /tmp/test /usr/lib/crt1.o /usr/lib/crti.o
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/crtbegin.o
-L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -L/usr/i386-redhat-linux/lib
/tmp/cchERe5o.o -lgcc -lc -lgcc
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/crtend.o /usr/lib/crtn.o


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-03-21 21:50 ` george at gcc dot gnu dot org
@ 2008-03-21 21:52 ` pinskia at gcc dot gnu dot org
  2008-03-22 10:38 ` george at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-21 21:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-03-21 21:52 -------
What glibc version are you using?


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-03-21 21:52 ` pinskia at gcc dot gnu dot org
@ 2008-03-22 10:38 ` george at gcc dot gnu dot org
  2008-03-22 13:56 ` fxcoudert at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: george at gcc dot gnu dot org @ 2008-03-22 10:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from george at gcc dot gnu dot org  2008-03-22 10:37 -------
glibc version used in build:

#rpm -q glibc
glibc-2.1.3-15


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-03-22 10:38 ` george at gcc dot gnu dot org
@ 2008-03-22 13:56 ` fxcoudert at gcc dot gnu dot org
  2008-04-01  8:24 ` george at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-03-22 13:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from fxcoudert at gcc dot gnu dot org  2008-03-22 13:55 -------
If you confirm that the patch in comment #1 fixes it for you, I'll commit it.

(glibc-2.1.3 and egcs-2.91.66? impressive)


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-03-22 13:56 ` fxcoudert at gcc dot gnu dot org
@ 2008-04-01  8:24 ` george at gcc dot gnu dot org
  2008-04-01 10:44 ` fxcoudert at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: george at gcc dot gnu dot org @ 2008-04-01  8:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from george at gcc dot gnu dot org  2008-04-01 08:24 -------
Can't verify that the patch provided works.  After three attempts at a build
(one just by patching libgfortran.h followed by a "make", one by "make
clean-target-libgfortran" followed by "make" and one built from scratch in an
empty object directory), all fail in a way similar as this (can't show initial
make commands because they overflow my 10,000 line default conversation
buffer):

...
.libs/in_unpack_generic.o: In function `putc_unlocked':
.libs/in_unpack_generic.o(.text+0x2220): multiple definition of `putc_unlocked'
.libs/backtrace.o(.text+0x27c0): first defined here
.libs/in_unpack_generic.o: In function `fputc_unlocked':
.libs/in_unpack_generic.o(.text+0x2280): multiple definition of
`fputc_unlocked'
.libs/backtrace.o(.text+0x2820): first defined here
.libs/in_unpack_generic.o: In function `putchar':
.libs/in_unpack_generic.o(.text+0x22e0): multiple definition of `putchar'
.libs/backtrace.o(.text+0x2880): first defined here
.libs/in_unpack_generic.o: In function `getchar_unlocked':
.libs/in_unpack_generic.o(.text+0x2310): multiple definition of
`getchar_unlocked'
.libs/backtrace.o(.text+0x28b0): first defined here
.libs/in_unpack_generic.o: In function `getc_unlocked':
.libs/in_unpack_generic.o(.text+0x2360): multiple definition of `getc_unlocked'
.libs/backtrace.o(.text+0x2900): first defined here
.libs/in_unpack_generic.o: In function `getchar':
.libs/in_unpack_generic.o(.text+0x23b0): multiple definition of `getchar'
.libs/backtrace.o(.text+0x2950): first defined here
.libs/in_unpack_generic.o: In function `vprintf':
.libs/in_unpack_generic.o(.text+0x23e0): multiple definition of `vprintf'
.libs/backtrace.o(.text+0x2980): first defined here
collect2: ld returned 1 exit status
gmake[3]: *** [libgfortran.la] Error 1
gmake[3]: Leaving directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
gmake[1]: *** [all-target-libgfortran] Error 2
gmake[1]: Leaving directory `/usr2/local/src/gcc-4.3-20080204/gcc-linux'
gmake: *** [all] Error 2

gmake is GNU make 3.81 (if not used, the build fails due to outdated make
unable to cope with features of newer make versions)

configured with

../gcc/configure MAKE=gmake --enable-languages=fortran

gmp 4.2.2 configure: ./configure
mpfr 2.3.0 configure: ./configure LDFLAGS=-L/usr/local/lib


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-04-01  8:24 ` george at gcc dot gnu dot org
@ 2008-04-01 10:44 ` fxcoudert at gcc dot gnu dot org
  2008-04-05  8:20 ` george at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-04-01 10:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from fxcoudert at gcc dot gnu dot org  2008-04-01 10:43 -------
(In reply to comment #7)
> .libs/in_unpack_generic.o: In function `putc_unlocked':
> .libs/in_unpack_generic.o(.text+0x2220): multiple definition of `putc_unlocked'
> .libs/backtrace.o(.text+0x27c0): first defined here

That one is weird. Does the C compiler otherwise work OK? I'm wondering whether
some of your headers (the one that have putc_unlocked) are incorrectly
fixincluded.


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-04-01 10:44 ` fxcoudert at gcc dot gnu dot org
@ 2008-04-05  8:20 ` george at gcc dot gnu dot org
  2008-04-05  9:27 ` fxcoudert at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: george at gcc dot gnu dot org @ 2008-04-05  8:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from george at gcc dot gnu dot org  2008-04-05 08:19 -------
Relevant info for libgfortran build prior to blizzard of duplicate symbol
warnings.  This was from a pristine build:

../gcc/configure MAKE=gmake --enable-languages=fortran LDFLAGS=-L/usr/local/lib

...
Checking multilib configuration for libgfortran...
mkdir -p -- i686-pc-linux-gnu/libgfortran
Configuring in i686-pc-linux-gnu/libgfortran
configure: creating cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking for --enable-version-specific-runtime-libs... no
checking for --enable-intermodule... 
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc...
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include accepts -g... yes
checking for /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include option to accept ANSI C... none needed
checking for style of include used by gmake... GNU
checking dependency style of
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include... gcc3
checking whether symbol versioning is supported... yes
checking for i686-pc-linux-gnu-as...
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/as
checking for i686-pc-linux-gnu-ar... ar
checking for i686-pc-linux-gnu-ranlib... ranlib
checking whether gmake sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for fgrep... grep -F
checking for ld used by /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include...
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/collect-ld
checking if the linker
(/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/collect-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/nm
checking the name lister (/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/nm)
interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/collect-ld option
to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... (cached) ar
checking for i686-pc-linux-gnu-strip... strip
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking command to parse /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/nm
output from /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include object... ok
checking how to run the C preprocessor...
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include supports -fno-rtti -fno-exceptions...
no
checking for /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include option to produce PIC... -fPIC -DPIC
checking if /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include PIC flag -fPIC -DPIC works... yes
checking if /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include static flag -static works... yes
checking if /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include supports -c -o file.o... yes
checking if /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include supports -c -o file.o... (cached) yes
checking whether the /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include linker
(/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/collect-ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-gfortran...
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include
checking whether we are using the GNU Fortran compiler... yes
checking whether /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include accepts -g... yes
checking for i686-pc-linux-gnu-f95... (cached)
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include
checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include accepts -g... (cached) yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include option to produce PIC... -fPIC
checking if /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include PIC flag -fPIC works... yes
checking if /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include static flag -static works... no
checking if /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include supports -c -o file.o... yes
checking if /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include supports -c -o file.o... (cached) yes
checking whether the /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include linker
(/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/collect-ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the GNU Fortran compiler is working... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for off_t... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking fptrap.h usability... no
checking fptrap.h presence... no
checking for fptrap.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in gstdint.h... stdint.h (already complete)
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for getrusage... yes
checking for times... yes
checking for mkstemp... yes
checking for strtof... yes
checking for strtold... yes
checking for snprintf... yes
checking for ftruncate... yes
checking for chsize... no
checking for chdir... yes
checking for strerror... yes
checking for getlogin... yes
checking for gethostname... yes
checking for kill... yes
checking for link... yes
checking for symlink... yes
checking for perror... yes
checking for sleep... yes
checking for time... yes
checking for ttyname... yes
checking for signal... yes
checking for alarm... yes
checking for ctime... yes
checking for clock... yes
checking for access... yes
checking for fork... yes
checking for execl... yes
checking for wait... yes
checking for setmode... no
checking for execvp... yes
checking for pipe... yes
checking for dup2... yes
checking for close... yes
checking for fdopen... yes
checking for strcasestr... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for stat... yes
checking for fstat... yes
checking for lstat... yes
checking for getpwuid... yes
checking for vsnprintf... yes
checking for dup... yes
checking for getcwd... yes
checking for backtrace... yes
checking for backtrace_symbols... yes
checking for intptr_t... yes
checking for getgid in -lc... yes
checking for getpid in -lc... yes
checking for getppid in -lc... yes
checking for getuid in -lc... yes
checking for geteuid in -lc... yes
checking for acosf in -lm... yes
checking for acos in -lm... yes
checking for acosl in -lm... yes
checking for acoshf in -lm... yes
checking for acosh in -lm... yes
checking for acoshl in -lm... yes
checking for asinf in -lm... yes
checking for asin in -lm... yes
checking for asinl in -lm... yes
checking for asinhf in -lm... yes
checking for asinh in -lm... yes
checking for asinhl in -lm... yes
checking for atan2f in -lm... yes
checking for atan2 in -lm... yes
checking for atan2l in -lm... yes
checking for atanf in -lm... yes
checking for atan in -lm... yes
checking for atanl in -lm... yes
checking for atanhf in -lm... yes
checking for atanh in -lm... yes
checking for atanhl in -lm... yes
checking for cargf in -lm... yes
checking for carg in -lm... yes
checking for cargl in -lm... yes
checking for ceilf in -lm... yes
checking for ceil in -lm... yes
checking for ceill in -lm... yes
checking for copysignf in -lm... yes
checking for copysign in -lm... yes
checking for copysignl in -lm... yes
checking for cosf in -lm... yes
checking for cos in -lm... yes
checking for cosl in -lm... yes
checking for ccosf in -lm... yes
checking for ccos in -lm... yes
checking for ccosl in -lm... yes
checking for coshf in -lm... yes
checking for cosh in -lm... yes
checking for coshl in -lm... yes
checking for ccoshf in -lm... yes
checking for ccosh in -lm... yes
checking for ccoshl in -lm... yes
checking for expf in -lm... yes
checking for exp in -lm... yes
checking for expl in -lm... yes
checking for cexpf in -lm... yes
checking for cexp in -lm... yes
checking for cexpl in -lm... yes
checking for fabsf in -lm... yes
checking for fabs in -lm... yes
checking for fabsl in -lm... yes
checking for cabsf in -lm... yes
checking for cabs in -lm... yes
checking for cabsl in -lm... yes
checking for floorf in -lm... yes
checking for floor in -lm... yes
checking for floorl in -lm... yes
checking for fmodf in -lm... yes
checking for fmod in -lm... yes
checking for fmodl in -lm... yes
checking for frexpf in -lm... yes
checking for frexp in -lm... yes
checking for frexpl in -lm... yes
checking for hypotf in -lm... yes
checking for hypot in -lm... yes
checking for hypotl in -lm... yes
checking for ldexpf in -lm... yes
checking for ldexp in -lm... yes
checking for ldexpl in -lm... yes
checking for logf in -lm... yes
checking for log in -lm... yes
checking for logl in -lm... yes
checking for clogf in -lm... yes
checking for clog in -lm... yes
checking for clogl in -lm... yes
checking for log10f in -lm... yes
checking for log10 in -lm... yes
checking for log10l in -lm... yes
checking for clog10f in -lm... yes
checking for clog10 in -lm... yes
checking for clog10l in -lm... yes
checking for nextafterf in -lm... yes
checking for nextafter in -lm... yes
checking for nextafterl in -lm... yes
checking for powf in -lm... yes
checking for pow in -lm... yes
checking for powl in -lm... yes
checking for cpowf in -lm... yes
checking for cpow in -lm... yes
checking for cpowl in -lm... yes
checking for roundf in -lm... yes
checking for round in -lm... yes
checking for roundl in -lm... yes
checking for lroundf in -lm... yes
checking for lround in -lm... yes
checking for lroundl in -lm... yes
checking for llroundf in -lm... yes
checking for llround in -lm... yes
checking for llroundl in -lm... yes
checking for scalbnf in -lm... yes
checking for scalbn in -lm... yes
checking for scalbnl in -lm... yes
checking for sinf in -lm... yes
checking for sin in -lm... yes
checking for sinl in -lm... yes
checking for csinf in -lm... yes
checking for csin in -lm... yes
checking for csinl in -lm... yes
checking for sinhf in -lm... yes
checking for sinh in -lm... yes
checking for sinhl in -lm... yes
checking for csinhf in -lm... yes
checking for csinh in -lm... yes
checking for csinhl in -lm... yes
checking for sqrtf in -lm... yes
checking for sqrt in -lm... yes
checking for sqrtl in -lm... yes
checking for csqrtf in -lm... yes
checking for csqrt in -lm... yes
checking for csqrtl in -lm... yes
checking for tanf in -lm... yes
checking for tan in -lm... yes
checking for tanl in -lm... yes
checking for ctanf in -lm... yes
checking for ctan in -lm... yes
checking for ctanl in -lm... yes
checking for tanhf in -lm... yes
checking for tanh in -lm... yes
checking for tanhl in -lm... yes
checking for ctanhf in -lm... yes
checking for ctanh in -lm... yes
checking for ctanhl in -lm... yes
checking for truncf in -lm... yes
checking for trunc in -lm... yes
checking for truncl in -lm... yes
checking for erff in -lm... yes
checking for erf in -lm... yes
checking for erfl in -lm... yes
checking for erfcf in -lm... yes
checking for erfc in -lm... yes
checking for erfcl in -lm... yes
checking for j0f in -lm... yes
checking for j0 in -lm... yes
checking for j0l in -lm... yes
checking for j1f in -lm... yes
checking for j1 in -lm... yes
checking for j1l in -lm... yes
checking for jnf in -lm... yes
checking for jn in -lm... yes
checking for jnl in -lm... yes
checking for y0f in -lm... yes
checking for y0 in -lm... yes
checking for y0l in -lm... yes
checking for y1f in -lm... yes
checking for y1 in -lm... yes
checking for y1l in -lm... yes
checking for ynf in -lm... yes
checking for yn in -lm... yes
checking for ynl in -lm... yes
checking for tgamma in -lm... yes
checking for tgammaf in -lm... yes
checking for tgammal in -lm... yes
checking for lgamma in -lm... yes
checking for lgammaf in -lm... yes
checking for lgammal in -lm... yes
checking for __clog in -lm... no
checking whether isfinite is broken... no
checking whether isnan is broken... no
checking whether fpclassify is broken... no
checking whether the target stat is reliable... yes
checking whether __mingw_snprintf is present... no
checking for feenableexcept in -lm... no
checking whether fpsetmask is present... no
checking for fp_trap... no
checking for fp_enable... no
configure: FPU dependent file will be fpu-387.h
checking whether the target supports hidden visibility... no
checking whether the target supports dllexport... no
checking whether the target supports symbol aliases... yes
checking whether the target supports __sync_fetch_and_add... no
checking configured target thread model... posix
checking whether pragma weak works... yes
checking whether the target can unlink an open file... yes
checking whether the target has CRLF as line terminator... no
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../gcc/libgfortran
multidirs=
with_multisubdir=
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing gstdint.h commands
gmake[2]: Entering directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
/bin/sh ../../../gcc/libgfortran/mk-sik-inc.sh
'/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -I . -Wall -fno-repack-arrays
-fno-underscoring -g -O2' > selected_int_kind.inc || rm selected_int_kind.inc
/bin/sh ../../../gcc/libgfortran/mk-srk-inc.sh
'/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -I . -Wall -fno-repack-arrays
-fno-underscoring -g -O2' > selected_real_kind.inc || rm selected_real_kind.inc
/bin/sh ../../../gcc/libgfortran/mk-kinds-h.sh
'/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/gfortran
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -I . -Wall -fno-repack-arrays
-fno-underscoring -g -O2' > kinds.h || rm kinds.h
grep '^#' < kinds.h > kinds.inc
grep '^#' < ../../../gcc/libgfortran/c99_protos.h > c99_protos.inc
cp ../../../gcc/libgfortran/config/fpu-387.h fpu-target.h
gmake  all-am
gmake[3]: Entering directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
if /bin/sh ./libtool --tag=CC --mode=compile
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc/libgfortran -I.  -iquote../../../gcc/libgfortran/io
-I../../../gcc/libgfortran/../gcc -I../../../gcc/libgfortran/../gcc/config
-I../.././gcc -D_GNU_SOURCE  -std=gnu99 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -g
-O2   -MT fmain.lo -MD -MP -MF ".deps/fmain.Tpo" -c -o fmain.lo
../../../gcc/libgfortran/fmain.c; \
        then mv -f ".deps/fmain.Tpo" ".deps/fmain.Plo"; else rm -f
".deps/fmain.Tpo"; exit 1; fi
libtool: compile:  /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc/libgfortran -I. -iquote../../../gcc/libgfortran/io
-I../../../gcc/libgfortran/../gcc -I../../../gcc/libgfortran/../gcc/config
-I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -g
-O2 -MT fmain.lo -MD -MP -MF .deps/fmain.Tpo -c
../../../gcc/libgfortran/fmain.c  -fPIC -DPIC -o .libs/fmain.o

... (all .o files built here) ...

/bin/sh ./libtool --tag=CC --mode=link
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -std=gnu99 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -g
-O2     -o libgfortran.la -rpath /usr/local/lib -version-info `grep -v '^#'
../../../gcc/libgfortran/libtool-version` -lm 
-Wl,--version-script=../../../gcc/libgfortran/gfortran.map backtrace.lo
compile_options.lo environ.lo error.lo fpu.lo main.lo memory.lo pause.lo
stop.lo string.lo select.lo all_l1.lo all_l2.lo all_l4.lo all_l8.lo all_l16.lo
any_l1.lo any_l2.lo any_l4.lo any_l8.lo any_l16.lo count_1_l.lo count_2_l.lo
count_4_l.lo count_8_l.lo count_16_l.lo maxloc0_4_i1.lo maxloc0_8_i1.lo
maxloc0_16_i1.lo maxloc0_4_i2.lo maxloc0_8_i2.lo maxloc0_16_i2.lo
maxloc0_4_i4.lo maxloc0_8_i4.lo maxloc0_16_i4.lo maxloc0_4_i8.lo
maxloc0_8_i8.lo maxloc0_16_i8.lo maxloc0_4_i16.lo maxloc0_8_i16.lo
maxloc0_16_i16.lo maxloc0_4_r4.lo maxloc0_8_r4.lo maxloc0_16_r4.lo
maxloc0_4_r8.lo maxloc0_8_r8.lo maxloc0_16_r8.lo maxloc0_4_r10.lo
maxloc0_8_r10.lo maxloc0_16_r10.lo maxloc0_4_r16.lo maxloc0_8_r16.lo
maxloc0_16_r16.lo maxloc1_4_i1.lo maxloc1_8_i1.lo maxloc1_16_i1.lo
maxloc1_4_i2.lo maxloc1_8_i2.lo maxloc1_16_i2.lo maxloc1_4_i4.lo
maxloc1_8_i4.lo maxloc1_16_i4.lo maxloc1_4_i8.lo maxloc1_8_i8.lo
maxloc1_16_i8.lo maxloc1_4_i16.lo maxloc1_8_i16.lo maxloc1_16_i16.lo
maxloc1_4_r4.lo maxloc1_8_r4.lo maxloc1_16_r4.lo maxloc1_4_r8.lo
maxloc1_8_r8.lo maxloc1_16_r8.lo maxloc1_4_r10.lo maxloc1_8_r10.lo
maxloc1_16_r10.lo maxloc1_4_r16.lo maxloc1_8_r16.lo maxloc1_16_r16.lo
maxval_i1.lo maxval_i2.lo maxval_i4.lo maxval_i8.lo maxval_i16.lo maxval_r4.lo
maxval_r8.lo maxval_r10.lo maxval_r16.lo minloc0_4_i1.lo minloc0_8_i1.lo
minloc0_16_i1.lo minloc0_4_i2.lo minloc0_8_i2.lo minloc0_16_i2.lo
minloc0_4_i4.lo minloc0_8_i4.lo minlo
c0_16_i4.lo minloc0_4_i8.lo minloc0_8_i8.lo minloc0_16_i8.lo minloc0_4_i16.lo
minloc0_8_i16.lo minloc0_16_i16.lo minloc0_4_r4.lo minloc0_8_r4.lo
minloc0_16_r4.lo minloc0_4_r8.lo minloc0_8_r8.lo minloc0_16_r8.lo
minloc0_4_r10.lo minloc0_8_r10.lo minloc0_16_r10.lo minloc0_4_r16.lo
minloc0_8_r16.lo minloc0_16_r16.lo minloc1_4_i1.lo minloc1_8_i1.lo
minloc1_16_i1.lo minloc1_4_i2.lo minloc1_8_i2.lo minloc1_16_i2.lo
minloc1_4_i4.lo minloc1_8_i4.lo minloc1_16_i4.lo minloc1_4_i8.lo
minloc1_8_i8.lo minloc1_16_i8.lo minloc1_4_i16.lo minloc1_8_i16.lo
minloc1_16_i16.lo minloc1_4_r4.lo minloc1_8_r4.lo minloc1_16_r4.lo
minloc1_4_r8.lo minloc1_8_r8.lo minloc1_16_r8.lo minloc1_4_r10.lo
minloc1_8_r10.lo minloc1_16_r10.lo minloc1_4_r16.lo minloc1_8_r16.lo
minloc1_16_r16.lo minval_i1.lo minval_i2.lo minval_i4.lo minval_i8.lo
minval_i16.lo minval_r4.lo minval_r8.lo minval_r10.lo minval_r16.lo
product_i1.lo product_i2.lo product_i4.lo product_i8.lo product_i16.lo
product_r4.lo product_r8.lo product_r10.lo product_r16.lo product_c4.lo
product_c8.lo product_c10.lo product_c16.lo sum_i1.lo sum_i2.lo sum_i4.lo
sum_i8.lo sum_i16.lo sum_r4.lo sum_r8.lo sum_r10.lo sum_r16.lo sum_c4.lo
sum_c8.lo sum_c10.lo sum_c16.lo matmul_i1.lo matmul_i2.lo matmul_i4.lo
matmul_i8.lo matmul_i16.lo matmul_r4.lo matmul_r8.lo matmul_r10.lo
matmul_r16.lo matmul_c4.lo matmul_c8.lo matmul_c10.lo matmul_c16.lo
matmul_l4.lo matmul_l8.lo matmul_l16.lo transpose_i4.lo transpose_i8.lo
transpose_i16.lo transpose_r4.lo transpose_r8.lo transpose_r10.lo
transpose_r16.lo transpose_c4.lo transpose_c8.lo transpose_c10.lo
transpose_c16.lo shape_i4.lo shape_i8.lo shape_i16.lo eoshift1_4.lo
eoshift1_8.lo eoshift1_16.lo eoshift3_4.lo eoshift3_8.lo eoshift3_16.lo
cshift1_4.lo cshift1_8.lo cshift1_16.lo reshape_i4.lo reshape_i8.lo
reshape_i16.lo reshape_r4.lo reshape_r8.lo reshape_r10.lo reshape_r16.lo
reshape_c4.lo reshape_c8.lo reshape_c10.lo reshape_c16.lo in_pack_i4.lo
in_pack_i8.lo in_pack_i16.lo in_pack_c4.lo in_pack_c8.lo in_pack_c10.lo
in_pack_c16.lo in_unpack_i4.lo in_unp
ack_i8.lo in_unpack_i16.lo in_unpack_c4.lo in_unpack_c8.lo in_unpack_c10.lo
in_unpack_c16.lo exponent_r4.lo exponent_r8.lo exponent_r10.lo exponent_r16.lo
fraction_r4.lo fraction_r8.lo fraction_r10.lo fraction_r16.lo nearest_r4.lo
nearest_r8.lo nearest_r10.lo nearest_r16.lo set_exponent_r4.lo
set_exponent_r8.lo set_exponent_r10.lo set_exponent_r16.lo pow_i4_i4.lo
pow_i8_i4.lo pow_i16_i4.lo pow_c4_i4.lo pow_c8_i4.lo pow_c10_i4.lo
pow_c16_i4.lo pow_i4_i8.lo pow_i8_i8.lo pow_i16_i8.lo pow_r4_i8.lo pow_r8_i8.lo
pow_r10_i8.lo pow_r16_i8.lo pow_c4_i8.lo pow_c8_i8.lo pow_c10_i8.lo
pow_c16_i8.lo pow_i4_i16.lo pow_i8_i16.lo pow_i16_i16.lo pow_r4_i16.lo
pow_r8_i16.lo pow_r10_i16.lo pow_r16_i16.lo pow_c4_i16.lo pow_c8_i16.lo
pow_c10_i16.lo pow_c16_i16.lo rrspacing_r4.lo rrspacing_r8.lo rrspacing_r10.lo
rrspacing_r16.lo spacing_r4.lo spacing_r8.lo spacing_r10.lo spacing_r16.lo
close.lo file_pos.lo format.lo inquire.lo intrinsics.lo list_read.lo lock.lo
open.lo read.lo size_from_kind.lo transfer.lo unit.lo unix.lo write.lo
associated.lo abort.lo access.lo args.lo c99_functions.lo chdir.lo chmod.lo
clock.lo cpu_time.lo cshift0.lo ctime.lo date_and_time.lo dtime.lo env.lo
eoshift0.lo eoshift2.lo etime.lo exit.lo fnum.lo gerror.lo getcwd.lo getlog.lo
getXid.lo hostnm.lo ierrno.lo ishftc.lo iso_c_generated_procs.lo
iso_c_binding.lo kill.lo link.lo malloc.lo mvbits.lo move_alloc.lo
pack_generic.lo perror.lo signal.lo size.lo sleep.lo spread_generic.lo
string_intrinsics.lo system.lo rand.lo random.lo rename.lo reshape_generic.lo
reshape_packed.lo selected_int_kind.lo selected_real_kind.lo stat.lo symlnk.lo
system_clock.lo time.lo transpose_generic.lo umask.lo unlink.lo
unpack_generic.lo in_pack_generic.lo in_unpack_generic.lo  _abs_c4.lo
_abs_c8.lo _abs_c10.lo _abs_c16.lo _abs_i4.lo _abs_i8.lo _abs_i16.lo _abs_r4.lo
_abs_r8.lo _abs_r10.lo _abs_r16.lo _aimag_c4.lo _aimag_c8.lo _aimag_c10.lo
_aimag_c16.lo _exp_r4.lo _exp_r8.lo _exp_r10.lo _exp_r16.lo _exp_c4.lo
_exp_c8.lo _exp_c10.lo _exp_c16.lo _log_r4.lo _log_r8.lo _log_r10.lo _lo
g_r16.lo _log_c4.lo _log_c8.lo _log_c10.lo _log_c16.lo _log10_r4.lo
_log10_r8.lo _log10_r10.lo _log10_r16.lo _sqrt_r4.lo _sqrt_r8.lo _sqrt_r10.lo
_sqrt_r16.lo _sqrt_c4.lo _sqrt_c8.lo _sqrt_c10.lo _sqrt_c16.lo _asin_r4.lo
_asin_r8.lo _asin_r10.lo _asin_r16.lo _asinh_r4.lo _asinh_r8.lo _asinh_r10.lo
_asinh_r16.lo _acos_r4.lo _acos_r8.lo _acos_r10.lo _acos_r16.lo _acosh_r4.lo
_acosh_r8.lo _acosh_r10.lo _acosh_r16.lo _atan_r4.lo _atan_r8.lo _atan_r10.lo
_atan_r16.lo _atanh_r4.lo _atanh_r8.lo _atanh_r10.lo _atanh_r16.lo _sin_r4.lo
_sin_r8.lo _sin_r10.lo _sin_r16.lo _sin_c4.lo _sin_c8.lo _sin_c10.lo
_sin_c16.lo _cos_r4.lo _cos_r8.lo _cos_r10.lo _cos_r16.lo _cos_c4.lo _cos_c8.lo
_cos_c10.lo _cos_c16.lo _tan_r4.lo _tan_r8.lo _tan_r10.lo _tan_r16.lo
_sinh_r4.lo _sinh_r8.lo _sinh_r10.lo _sinh_r16.lo _cosh_r4.lo _cosh_r8.lo
_cosh_r10.lo _cosh_r16.lo _tanh_r4.lo _tanh_r8.lo _tanh_r10.lo _tanh_r16.lo
_conjg_c4.lo _conjg_c8.lo _conjg_c10.lo _conjg_c16.lo _aint_r4.lo _aint_r8.lo
_aint_r10.lo _aint_r16.lo _anint_r4.lo _anint_r8.lo _anint_r10.lo _anint_r16.lo
_sign_i4.lo _sign_i8.lo _sign_i16.lo _sign_r4.lo _sign_r8.lo _sign_r10.lo
_sign_r16.lo _dim_i4.lo _dim_i8.lo _dim_i16.lo _dim_r4.lo _dim_r8.lo
_dim_r10.lo _dim_r16.lo _atan2_r4.lo _atan2_r8.lo _atan2_r10.lo _atan2_r16.lo
_mod_i4.lo _mod_i8.lo _mod_i16.lo _mod_r4.lo _mod_r8.lo _mod_r10.lo _mod_r16.lo
misc_specifics.lo dprod_r8.lo f2c_specifics.lo  
libtool: link: /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -shared  .libs/backtrace.o
.libs/compile_options.o .libs/environ.o .libs/error.o .libs/fpu.o .libs/main.o
.libs/memory.o .libs/pause.o .libs/stop.o .libs/string.o .libs/select.o
.libs/all_l1.o .libs/all_l2.o .libs/all_l4.o .libs/all_l8.o .libs/all_l16.o
.libs/any_l1.o .libs/any_l2.o .libs/any_l4.o .libs/any_l8.o .libs/any_l16.o
.libs/count_1_l.o .libs/count_2_l.o .libs/count_4_l.o .libs/count_8_l.o
.libs/count_16_l.o .libs/maxloc0_4_i1.o .libs/maxloc0_8_i1.o
.libs/maxloc0_16_i1.o .libs/maxloc0_4_i2.o .libs/maxloc0_8_i2.o
.libs/maxloc0_16_i2.o .libs/maxloc0_4_i4.o .libs/maxloc0_8_i4.o
.libs/maxloc0_16_i4.o .libs/maxloc0_4_i8.o .libs/maxloc0_8_i8.o
.libs/maxloc0_16_i8.o .libs/maxloc0_4_i16.o .libs/maxloc0_8_i16.o
.libs/maxloc0_16_i16.o .libs/maxloc0_4_r4.o .libs/maxloc0_8_r4.o
.libs/maxloc0_16_r4.o .libs/maxloc0_4_r8.o .libs/maxloc0_8_r8.o
.libs/maxloc0_16_r8.o .libs/maxloc0_4_r10.o .libs/maxloc0_8_r10.o
.libs/maxloc0_16_r10.o .libs/maxloc0_4_r16.o .libs/maxloc0_8_r16.o
.libs/maxloc0_16_r16.o .libs/maxloc1_4_i1.o .libs/maxloc1_8_i1.o
.libs/maxloc1_16_i1.o .libs/maxloc1_4_i2.o .libs/maxloc1_8_i2.o
.libs/maxloc1_16_i2.o .libs/maxloc1_4_i4.o .libs/maxloc1_8_i4.o
.libs/maxloc1_16_i4.o .libs/maxloc1_4_i8.o .libs/maxloc1_8_i8.o
.libs/maxloc1_16_i8.o .libs/maxloc1_4_i16.o .libs/maxloc1_8_i16.o
.libs/maxloc1_16_i16.o .libs/maxloc1_4_r4.o .libs/maxloc1_8_r4.o
.libs/maxloc1_16_r4.o .libs/maxloc1_4_r8.o .libs/maxloc1_8_r8.o
.libs/maxloc1_16_r8.o .libs/maxloc1_4_r10.o .libs/maxloc1_8_r10.o
.libs/maxloc1_16_r10.o .libs/maxloc1_4_r16.o .libs/maxloc1_8_r16.o
.libs/maxloc1_16_r16.o .libs/maxval_i1.o .libs/maxval_i2.o .libs/maxval_i4.o
.libs/maxval_i8.o .libs/maxval_i16.o .libs/maxval_r4.o .libs/maxval_r8.o
.libs/maxval_r10.o .libs/maxval_r16.o .l
ibs/minloc0_4_i1.o .libs/minloc0_8_i1.o .libs/minloc0_16_i1.o
.libs/minloc0_4_i2.o .libs/minloc0_8_i2.o .libs/minloc0_16_i2.o
.libs/minloc0_4_i4.o .libs/minloc0_8_i4.o .libs/minloc0_16_i4.o
.libs/minloc0_4_i8.o .libs/minloc0_8_i8.o .libs/minloc0_16_i8.o
.libs/minloc0_4_i16.o .libs/minloc0_8_i16.o .libs/minloc0_16_i16.o
.libs/minloc0_4_r4.o .libs/minloc0_8_r4.o .libs/minloc0_16_r4.o
.libs/minloc0_4_r8.o .libs/minloc0_8_r8.o .libs/minloc0_16_r8.o
.libs/minloc0_4_r10.o .libs/minloc0_8_r10.o .libs/minloc0_16_r10.o
.libs/minloc0_4_r16.o .libs/minloc0_8_r16.o .libs/minloc0_16_r16.o
.libs/minloc1_4_i1.o .libs/minloc1_8_i1.o .libs/minloc1_16_i1.o
.libs/minloc1_4_i2.o .libs/minloc1_8_i2.o .libs/minloc1_16_i2.o
.libs/minloc1_4_i4.o .libs/minloc1_8_i4.o .libs/minloc1_16_i4.o
.libs/minloc1_4_i8.o .libs/minloc1_8_i8.o .libs/minloc1_16_i8.o
.libs/minloc1_4_i16.o .libs/minloc1_8_i16.o .libs/minloc1_16_i16.o
.libs/minloc1_4_r4.o .libs/minloc1_8_r4.o .libs/minloc1_16_r4.o
.libs/minloc1_4_r8.o .libs/minloc1_8_r8.o .libs/minloc1_16_r8.o
.libs/minloc1_4_r10.o .libs/minloc1_8_r10.o .libs/minloc1_16_r10.o
.libs/minloc1_4_r16.o .libs/minloc1_8_r16.o .libs/minloc1_16_r16.o
.libs/minval_i1.o .libs/minval_i2.o .libs/minval_i4.o .libs/minval_i8.o
.libs/minval_i16.o .libs/minval_r4.o .libs/minval_r8.o .libs/minval_r10.o
.libs/minval_r16.o .libs/product_i1.o .libs/product_i2.o .libs/product_i4.o
.libs/product_i8.o .libs/product_i16.o .libs/product_r4.o .libs/product_r8.o
.libs/product_r10.o .libs/product_r16.o .libs/product_c4.o .libs/product_c8.o
.libs/product_c10.o .libs/product_c16.o .libs/sum_i1.o .libs/sum_i2.o
.libs/sum_i4.o .libs/sum_i8.o .libs/sum_i16.o .libs/sum_r4.o .libs/sum_r8.o
.libs/sum_r10.o .libs/sum_r16.o .libs/sum_c4.o .libs/sum_c8.o .libs/sum_c10.o
.libs/sum_c16.o .libs/matmul_i1.o .libs/matmul_i2.o .libs/matmul_i4.o
.libs/matmul_i8.o .libs/matmul_i16.o .libs/matmul_r4.o .libs/matmul_r8.o
.libs/matmul_r10.o .libs/matmul_r16.o .libs/matmul_c4.o .libs/matmul_c8.o
.libs/matmul_c10.o .libs/matmul_c16.o .libs/matmul_l4.o .libs
/matmul_l8.o .libs/matmul_l16.o .libs/transpose_i4.o .libs/transpose_i8.o
.libs/transpose_i16.o .libs/transpose_r4.o .libs/transpose_r8.o
.libs/transpose_r10.o .libs/transpose_r16.o .libs/transpose_c4.o
.libs/transpose_c8.o .libs/transpose_c10.o .libs/transpose_c16.o
.libs/shape_i4.o .libs/shape_i8.o .libs/shape_i16.o .libs/eoshift1_4.o
.libs/eoshift1_8.o .libs/eoshift1_16.o .libs/eoshift3_4.o .libs/eoshift3_8.o
.libs/eoshift3_16.o .libs/cshift1_4.o .libs/cshift1_8.o .libs/cshift1_16.o
.libs/reshape_i4.o .libs/reshape_i8.o .libs/reshape_i16.o .libs/reshape_r4.o
.libs/reshape_r8.o .libs/reshape_r10.o .libs/reshape_r16.o .libs/reshape_c4.o
.libs/reshape_c8.o .libs/reshape_c10.o .libs/reshape_c16.o .libs/in_pack_i4.o
.libs/in_pack_i8.o .libs/in_pack_i16.o .libs/in_pack_c4.o .libs/in_pack_c8.o
.libs/in_pack_c10.o .libs/in_pack_c16.o .libs/in_unpack_i4.o
.libs/in_unpack_i8.o .libs/in_unpack_i16.o .libs/in_unpack_c4.o
.libs/in_unpack_c8.o .libs/in_unpack_c10.o .libs/in_unpack_c16.o
.libs/exponent_r4.o .libs/exponent_r8.o .libs/exponent_r10.o
.libs/exponent_r16.o .libs/fraction_r4.o .libs/fraction_r8.o
.libs/fraction_r10.o .libs/fraction_r16.o .libs/nearest_r4.o .libs/nearest_r8.o
.libs/nearest_r10.o .libs/nearest_r16.o .libs/set_exponent_r4.o
.libs/set_exponent_r8.o .libs/set_exponent_r10.o .libs/set_exponent_r16.o
.libs/pow_i4_i4.o .libs/pow_i8_i4.o .libs/pow_i16_i4.o .libs/pow_c4_i4.o
.libs/pow_c8_i4.o .libs/pow_c10_i4.o .libs/pow_c16_i4.o .libs/pow_i4_i8.o
.libs/pow_i8_i8.o .libs/pow_i16_i8.o .libs/pow_r4_i8.o .libs/pow_r8_i8.o
.libs/pow_r10_i8.o .libs/pow_r16_i8.o .libs/pow_c4_i8.o .libs/pow_c8_i8.o
.libs/pow_c10_i8.o .libs/pow_c16_i8.o .libs/pow_i4_i16.o .libs/pow_i8_i16.o
.libs/pow_i16_i16.o .libs/pow_r4_i16.o .libs/pow_r8_i16.o .libs/pow_r10_i16.o
.libs/pow_r16_i16.o .libs/pow_c4_i16.o .libs/pow_c8_i16.o .libs/pow_c10_i16.o
.libs/pow_c16_i16.o .libs/rrspacing_r4.o .libs/rrspacing_r8.o
.libs/rrspacing_r10.o .libs/rrspacing_r16.o .libs/spacing_r4.o
.libs/spacing_r8.o .libs/spacing_r10.o .libs/spacing_r16.o .libs/
close.o .libs/file_pos.o .libs/format.o .libs/inquire.o .libs/intrinsics.o
.libs/list_read.o .libs/lock.o .libs/open.o .libs/read.o .libs/size_from_kind.o
.libs/transfer.o .libs/unit.o .libs/unix.o .libs/write.o .libs/associated.o
.libs/abort.o .libs/access.o .libs/args.o .libs/c99_functions.o .libs/chdir.o
.libs/chmod.o .libs/clock.o .libs/cpu_time.o .libs/cshift0.o .libs/ctime.o
.libs/date_and_time.o .libs/dtime.o .libs/env.o .libs/eoshift0.o
.libs/eoshift2.o .libs/etime.o .libs/exit.o .libs/fnum.o .libs/gerror.o
.libs/getcwd.o .libs/getlog.o .libs/getXid.o .libs/hostnm.o .libs/ierrno.o
.libs/ishftc.o .libs/iso_c_generated_procs.o .libs/iso_c_binding.o .libs/kill.o
.libs/link.o .libs/malloc.o .libs/mvbits.o .libs/move_alloc.o
.libs/pack_generic.o .libs/perror.o .libs/signal.o .libs/size.o .libs/sleep.o
.libs/spread_generic.o .libs/string_intrinsics.o .libs/system.o .libs/rand.o
.libs/random.o .libs/rename.o .libs/reshape_generic.o .libs/reshape_packed.o
.libs/selected_int_kind.o .libs/selected_real_kind.o .libs/stat.o
.libs/symlnk.o .libs/system_clock.o .libs/time.o .libs/transpose_generic.o
.libs/umask.o .libs/unlink.o .libs/unpack_generic.o .libs/in_pack_generic.o
.libs/in_unpack_generic.o .libs/_abs_c4.o .libs/_abs_c8.o .libs/_abs_c10.o
.libs/_abs_c16.o .libs/_abs_i4.o .libs/_abs_i8.o .libs/_abs_i16.o
.libs/_abs_r4.o .libs/_abs_r8.o .libs/_abs_r10.o .libs/_abs_r16.o
.libs/_aimag_c4.o .libs/_aimag_c8.o .libs/_aimag_c10.o .libs/_aimag_c16.o
.libs/_exp_r4.o .libs/_exp_r8.o .libs/_exp_r10.o .libs/_exp_r16.o
.libs/_exp_c4.o .libs/_exp_c8.o .libs/_exp_c10.o .libs/_exp_c16.o
.libs/_log_r4.o .libs/_log_r8.o .libs/_log_r10.o .libs/_log_r16.o
.libs/_log_c4.o .libs/_log_c8.o .libs/_log_c10.o .libs/_log_c16.o
.libs/_log10_r4.o .libs/_log10_r8.o .libs/_log10_r10.o .libs/_log10_r16.o
.libs/_sqrt_r4.o .libs/_sqrt_r8.o .libs/_sqrt_r10.o .libs/_sqrt_r16.o
.libs/_sqrt_c4.o .libs/_sqrt_c8.o .libs/_sqrt_c10.o .libs/_sqrt_c16.o
.libs/_asin_r4.o .libs/_asin_r8.o .libs/_asin_r10.o .libs/_asin_r16.o
.libs/_asinh_r4.o .libs/_asinh_
r8.o .libs/_asinh_r10.o .libs/_asinh_r16.o .libs/_acos_r4.o .libs/_acos_r8.o
.libs/_acos_r10.o .libs/_acos_r16.o .libs/_acosh_r4.o .libs/_acosh_r8.o
.libs/_acosh_r10.o .libs/_acosh_r16.o .libs/_atan_r4.o .libs/_atan_r8.o
.libs/_atan_r10.o .libs/_atan_r16.o .libs/_atanh_r4.o .libs/_atanh_r8.o
.libs/_atanh_r10.o .libs/_atanh_r16.o .libs/_sin_r4.o .libs/_sin_r8.o
.libs/_sin_r10.o .libs/_sin_r16.o .libs/_sin_c4.o .libs/_sin_c8.o
.libs/_sin_c10.o .libs/_sin_c16.o .libs/_cos_r4.o .libs/_cos_r8.o
.libs/_cos_r10.o .libs/_cos_r16.o .libs/_cos_c4.o .libs/_cos_c8.o
.libs/_cos_c10.o .libs/_cos_c16.o .libs/_tan_r4.o .libs/_tan_r8.o
.libs/_tan_r10.o .libs/_tan_r16.o .libs/_sinh_r4.o .libs/_sinh_r8.o
.libs/_sinh_r10.o .libs/_sinh_r16.o .libs/_cosh_r4.o .libs/_cosh_r8.o
.libs/_cosh_r10.o .libs/_cosh_r16.o .libs/_tanh_r4.o .libs/_tanh_r8.o
.libs/_tanh_r10.o .libs/_tanh_r16.o .libs/_conjg_c4.o .libs/_conjg_c8.o
.libs/_conjg_c10.o .libs/_conjg_c16.o .libs/_aint_r4.o .libs/_aint_r8.o
.libs/_aint_r10.o .libs/_aint_r16.o .libs/_anint_r4.o .libs/_anint_r8.o
.libs/_anint_r10.o .libs/_anint_r16.o .libs/_sign_i4.o .libs/_sign_i8.o
.libs/_sign_i16.o .libs/_sign_r4.o .libs/_sign_r8.o .libs/_sign_r10.o
.libs/_sign_r16.o .libs/_dim_i4.o .libs/_dim_i8.o .libs/_dim_i16.o
.libs/_dim_r4.o .libs/_dim_r8.o .libs/_dim_r10.o .libs/_dim_r16.o
.libs/_atan2_r4.o .libs/_atan2_r8.o .libs/_atan2_r10.o .libs/_atan2_r16.o
.libs/_mod_i4.o .libs/_mod_i8.o .libs/_mod_i16.o .libs/_mod_r4.o
.libs/_mod_r8.o .libs/_mod_r10.o .libs/_mod_r16.o .libs/misc_specifics.o
.libs/dprod_r8.o .libs/f2c_specifics.o   -lm 
-Wl,--version-script=../../../gcc/libgfortran/gfortran.map -Wl,-soname
-Wl,libgfortran.so.3 -o .libs/libgfortran.so.3.0.0
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 115.
.libs/compile_options.o: In function `feof_unlocked':
.libs/compile_options.o(.text+0x0): multiple definition of `feof_unlocked'
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 93.
.libs/backtrace.o(.text+0x0): first defined here
.libs/compile_options.o: In function `ferror_unlocked':
.libs/compile_options.o(.text+0x10): multiple definition of `ferror_unlocked'
.libs/backtrace.o(.text+0x10): first defined here
.libs/compile_options.o: In function `__signbitf':
.libs/compile_options.o(.text+0x20): multiple definition of `__signbitf'
.libs/backtrace.o(.text+0x20): first defined here
.libs/compile_options.o: In function `__signbit':
.libs/compile_options.o(.text+0x30): multiple definition of `__signbit'
.libs/backtrace.o(.text+0x30): first defined here
.libs/compile_options.o: In function `__signbitl':
.libs/compile_options.o(.text+0x50): multiple definition of `__signbitl'
.libs/backtrace.o(.text+0x50): first defined here

... (etc for all symbols defined in libaray) ...

.libs/in_unpack_generic.o: In function `vprintf':
.libs/in_unpack_generic.o(.text+0x23e0): multiple definition of `vprintf'
.libs/backtrace.o(.text+0x2980): first defined here
collect2: ld returned 1 exit status
gmake[3]: *** [libgfortran.la] Error 1
gmake[3]: Leaving directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr2/local/src/gcc-4.3-20080204/gcc-linux/i686-pc-linux-gnu/libgfortran'
gmake[1]: *** [all-target-libgfortran] Error 2
gmake[1]: Leaving directory `/usr2/local/src/gcc-4.3-20080204/gcc-linux'
gmake: *** [all] Error 2


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2008-04-05  8:20 ` george at gcc dot gnu dot org
@ 2008-04-05  9:27 ` fxcoudert at gcc dot gnu dot org
  2008-04-05 21:50 ` george at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-04-05  9:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from fxcoudert at gcc dot gnu dot org  2008-04-05 09:26 -------
Can you tell us what you binutils version is (the version of ld and as)?
According to http://gcc.gnu.org/install/specific.html#ix86-x-linux, "As of GCC
3.3, binutils 2.13.1 or later is required for this platform.".


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2008-04-05  9:27 ` fxcoudert at gcc dot gnu dot org
@ 2008-04-05 21:50 ` george at gcc dot gnu dot org
  2008-04-05 22:21 ` fxcoudert at gcc dot gnu dot org
  2008-12-23 19:40 ` jb at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: george at gcc dot gnu dot org @ 2008-04-05 21:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from george at gcc dot gnu dot org  2008-04-05 21:49 -------
rpm -q binutils
binutils-2.9.5.0.22-6

BUT ... the configure output seems to indicate that the build as and ld used
here are NOT the system's (unless something devious that I am missing is going
on) ... AND the bug report cited (10877) seems to indicate that a runtime error
results, not the linker error seen here.  vide infra --

checking for i686-pc-linux-gnu-as...
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/as
...
checking for ld used by /usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/xgcc
-B/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include...
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/collect-ld
checking if the linker
(/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/collect-ld) is GNU ld... yes 


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2008-04-05 21:50 ` george at gcc dot gnu dot org
@ 2008-04-05 22:21 ` fxcoudert at gcc dot gnu dot org
  2008-12-23 19:40 ` jb at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-04-05 22:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from fxcoudert at gcc dot gnu dot org  2008-04-05 22:20 -------
(In reply to comment #11)
> binutils-2.9.5.0.22-6

Too old. And, with the configure line you indicated (i.e. not specifying a
special assembler and linker), it is going to be used. So, you need to use more
recent binutils. (2.13.1 was released almost 6 years ago.)

> BUT ... the configure output seems to indicate that the build as and ld used
> here are NOT the system's (unless something devious that I am missing is going
> on)...

Are you talking about the use of
/usr2/local/src/gcc-4.3-20080204/gcc-linux/./gcc/as? I think it's a symbol link
to the system "as" (or a short script calling said system "as"). It's a bit
misleading, but it's due to the way the build system works to be relocatable.

> AND the bug report cited (10877) seems to indicate that a runtime error
> results, not the linker error seen here.

But PR10877 just mentions the first time a newer binutils was required. After
that, once it we require binutils >= 2.13.1, we can use all the new features in
that version without keeping track of them (because we're then garanteed to
have it present, it's a build requirement).


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug libfortran/35471] libgfortran fails with nonstandard <complex.h>
  2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2008-04-05 22:21 ` fxcoudert at gcc dot gnu dot org
@ 2008-12-23 19:40 ` jb at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: jb at gcc dot gnu dot org @ 2008-12-23 19:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from jb at gcc dot gnu dot org  2008-12-23 19:36 -------
As testing with a newer binutils apparently isn't forthcoming, closing as
invalid.

As an aside, while AFAIK this is not documented, my intuition is that
libgfortran requires a somewhat up to date libc, so maybe glibc 2.1 is just too
old.


-- 

jb at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-12-23 19:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-05 11:28 [Bug fortran/35471] New: gfortran build fails in libgfortran george at gcc dot gnu dot org
2008-03-05 21:46 ` [Bug fortran/35471] libgfortran fails with nonstandard <complex.h> fxcoudert at gcc dot gnu dot org
2008-03-11 12:03 ` [Bug libfortran/35471] " pinskia at gcc dot gnu dot org
2008-03-21 21:50 ` george at gcc dot gnu dot org
2008-03-21 21:52 ` pinskia at gcc dot gnu dot org
2008-03-22 10:38 ` george at gcc dot gnu dot org
2008-03-22 13:56 ` fxcoudert at gcc dot gnu dot org
2008-04-01  8:24 ` george at gcc dot gnu dot org
2008-04-01 10:44 ` fxcoudert at gcc dot gnu dot org
2008-04-05  8:20 ` george at gcc dot gnu dot org
2008-04-05  9:27 ` fxcoudert at gcc dot gnu dot org
2008-04-05 21:50 ` george at gcc dot gnu dot org
2008-04-05 22:21 ` fxcoudert at gcc dot gnu dot org
2008-12-23 19:40 ` jb 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).