Have problem to make fortran work in x64 environment. Linux test1.us.icap.com 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
cat /root/gcc-4.5.0/x86_64-unknown-linux-gnu/libgfortran/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU Fortran Runtime Library configure 0.3, which was generated by GNU Autoconf 2.64. Invocation command line was $ /root/gcc-4.5.0/libgfortran/configure --cache-file=./config.cache --enable-multilib --prefix=/usr/local/x64/gcc_4_5_0 --with-gmp=/usr/local/x64/gmp_4_3_2 --with-mpfr=/usr/local/x64/mpfr_2_4_2 --with-mpfr-include=/usr/local/x64/mpfr_2_4_2/include --with-mpfr-lib=/usr/local/x64/mpfr_2_4_2/lib --with-mpc=/usr/local/x64/mpc_0_8_2 --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre --with-cpu=generic --enable-languages=c,c++,fortran,java,objc,obj-c++ --program-transform-name=s,y,y, --disable-option-checking --with-target-subdir=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --srcdir=../.././libgfortran ## --------- ## ## Platform. ## ## --------- ## hostname = test1.us.icap.com uname -m = x86_64 uname -r = 2.6.18-164.el5 uname -s = Linux uname -v = #1 SMP Thu Sep 3 03:28:30 EDT 2009 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2502: creating cache ./config.cache configure:2607: checking build system type configure:2621: result: x86_64-unknown-linux-gnu configure:2691: checking for --enable-version-specific-runtime-libs configure:2704: result: no configure:2708: checking for --enable-intermodule configure:2720: result: configure:2747: checking host system type configure:2760: result: x86_64-unknown-linux-gnu configure:2780: checking target system type configure:2793: result: x86_64-unknown-linux-gnu configure:2848: checking for a BSD-compatible install configure:2916: result: /usr/bin/install -c configure:2927: checking whether build environment is sane configure:2977: result: yes configure:3118: checking for a thread-safe mkdir -p configure:3157: result: /bin/mkdir -p configure:3170: checking for gawk configure:3197: result: gawk configure:3208: checking whether make sets $(MAKE) configure:3230: result: yes configure:3303: checking whether to enable maintainer-specific portions of Makefiles configure:3312: result: no configure:3422: checking for x86_64-unknown-linux-gnu-gcc configure:3449: result: /root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/include -isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include configure:3718: checking for C compiler version configure:3727: /root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/include -isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include --version >&5 xgcc (GCC) 4.5.0 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3738: $? = 0 configure:3727: /root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/include -isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -v >&5 Reading specs from /root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/specs COLLECT_GCC=/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/xgcc COLLECT_LTO_WRAPPER=/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ./configure --prefix=/usr/local/x64/gcc_4_5_0 --with-gmp=/usr/local/x64/gmp_4_3_2 --with-mpfr=/usr/local/x64/mpfr_2_4_2 --with-mpfr-include=/usr/local/x64/mpfr_2_4_2/include --with-mpfr-lib=/usr/local/x64/mpfr_2_4_2/lib --with-mpc=/usr/local/x64/mpc_0_8_2 --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multif--with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre --with-cpu=generic Thread model: posix gcc version 4.5.0 (GCC) configure:3738: $? = 0 /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -V >&5 xgcc: '-V' must come at the start of the command line configure:3738: $? = 1 /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -qversion >&5 xgcc: unrecognized option '-qversion' xgcc: no input files configure:3738: $? = 1 /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -o conftest -g -O2 conftest.c >&5 configure:3757: $? = 0 configure:3786: checking for C compiler default output file name /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -g -O2 conftest.c >&5 configure:3812: $? = 0 configure:3849: result: a.out configure:3865: checking whether the C compiler works configure:3874: ./a.out configure:3878: $? = 0 configure:3893: result: yes configure:3900: checking whether we are cross compiling configure:3902: result: no configure:3905: checking for suffix of executables /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -o conftest -g -O2 conftest.c >&5 configure:3916: $? = 0 configure:3938: result: configure:3945: checking for suffix of object files /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -g -O2 conftest.c >&5 configure:3971: $? = 0 configure:3992: result: o configure:3996: checking whether we are using the GNU C compiler /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -g -O2 conftest.c >&5 configure:4015: $? = 0 configure:4024: result: yes system /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include accepts -g /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -g conftest.c >&5 configure:4053: $? = 0 configure:4094: result: yes em /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include option to accept ISO C89 /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -g -O2 conftest.c >&5 configure:4175: $? = 0 configure:4188: result: none needed configure:4219: checking for style of include used by make configure:4247: result: GNU u/include -isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include configure:4382: result: gcc3 configure:4414: checking whether symbol versioning is supported ersion-script,./conftest.map conftest.c >&5 configure:4438: $? = 0 configure:4446: result: yes configure:4463: checking for gcc that supports -ffunction-sections -fdata-sections est.c >&5 configure:4477: $? = 0 configure:4492: result: yes configure:4500: checking for x86_64-unknown-linux-gnu-as configure:4527: result: /root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/as configure:4592: checking for x86_64-unknown-linux-gnu-ar configure:4619: result: ar configure:4684: checking for x86_64-unknown-linux-gnu-ranlib configure:4711: result: ranlib configure:4773: checking whether make sets $(MAKE) configure:4795: result: yes configure:4858: checking how to print strings configure:4885: result: printf configure:4906: checking for a sed that does not truncate output configure:4970: result: /bin/sed configure:4988: checking for grep that handles long lines and -e configure:5046: result: /bin/grep configure:5051: checking for egrep configure:5113: result: /bin/grep -E configure:5118: checking for fgrep configure:5180: result: /bin/grep -F lude -isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include configure:5282: result: /root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/collect-ld ld configure:5304: result: yes configure:5316: checking for BSD- or MS-compatible name lister (nm) configure:5365: result: /root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/nm configure:5495: checking the name lister (/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/nm) interface /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:5505: /root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/nm "conftest.o" configure:5508: output 0000000000000000 B some_variable configure:5515: result: BSD nm configure:5518: checking whether ln -s works configure:5522: result: yes configure:5530: checking the maximum length of command line arguments configure:5655: result: 98304 configure:5672: checking whether the shell understands some XSI constructs configure:5682: result: yes configure:5686: checking whether the shell understands "+=" configure:5692: result: yes bject files configure:5734: result: -r configure:5763: checking for x86_64-unknown-linux-gnu-objdump configure:5790: result: objdump configure:5862: checking how to recognize dependent libraries configure:6063: result: pass_all configure:6083: checking for x86_64-unknown-linux-gnu-ar configure:6110: result: ar configure:6188: checking for x86_64-unknown-linux-gnu-strip configure:6215: result: strip configure:6287: checking for x86_64-unknown-linux-gnu-ranlib configure:6314: result: ranlib 6_64-unknown-linux-gnu/sys-include object /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:6577: $? = 0 DGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6584: $? = 0 >&5 configure:6641: $? = 0 configure:6679: result: ok /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:6777: $? = 0 configure:7523: checking how to run the C preprocessor /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -E conftest.c configure:7554: $? = 0 /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:7568: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU Fortran Runtime Library" | #define PACKAGE_TARNAME "libgfortran" | #define PACKAGE_VERSION "0.3" | #define PACKAGE_STRING "GNU Fortran Runtime Library 0.3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgfortran/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> sr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -E /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -E conftest.c configure:7613: $? = 0 /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:7627: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU Fortran Runtime Library" | #define PACKAGE_TARNAME "libgfortran" | #define PACKAGE_VERSION "0.3" | #define PACKAGE_STRING "GNU Fortran Runtime Library 0.3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgfortran/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7656: checking for ANSI C header files /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7676: $? = 0 /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -o conftest -std=gnu99 -g -O2 conftest.c >&5 configure:7749: $? = 0 configure:7749: ./conftest configure:7749: $? = 0 configure:7760: result: yes configure:7773: checking for sys/types.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7773: $? = 0 configure:7773: result: yes configure:7773: checking for sys/stat.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7773: $? = 0 configure:7773: result: yes configure:7773: checking for stdlib.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7773: $? = 0 configure:7773: result: yes configure:7773: checking for string.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7773: $? = 0 configure:7773: result: yes configure:7773: checking for memory.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7773: $? = 0 configure:7773: result: yes configure:7773: checking for strings.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7773: $? = 0 configure:7773: result: yes configure:7773: checking for inttypes.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7773: $? = 0 configure:7773: result: yes configure:7773: checking for stdint.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7773: $? = 0 configure:7773: result: yes configure:7773: checking for unistd.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7773: $? = 0 configure:7773: result: yes configure:7788: checking for dlfcn.h /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:7788: $? = 0 configure:7788: result: yes configure:7973: checking for objdir configure:7988: result: .libs m /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include supports -fno-rtti -fno-exceptions est.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:8281: $? = 0 configure:8294: result: no em /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include option to produce PIC configure:8599: result: -fPIC -DPIC m /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include PIC flag -fPIC -DPIC works 5 configure:8633: $? = 0 configure:8646: result: yes m /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include static flag -static works configure:8698: result: yes m /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include supports -c -o file.o &5 configure:8738: $? = 0 configure:8760: result: yes m /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include supports -c -o file.o configure:8815: result: yes _64-unknown-linux-gnu/gcc/collect-ld -m elf_x86_64) supports shared libraries configure:9932: result: yes configure:9969: checking whether -lc should be explicitly linked in /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -std=gnu99 -g -O2 conftest.c >&5 configure:9980: $? = 0 nftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:9998: $? = 0 configure:10012: result: no configure:10177: checking dynamic linker characteristics conftest.c >&5 configure:10635: $? = 0 configure:10857: result: GNU/Linux ld.so configure:10964: checking how to hardcode library paths into programs configure:10989: result: immediate configure:11086: checking for shl_load l/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -o conftest -std=gnu99 -g -O2 conftest.c >&5 /tmp/cc2xSGoe.o: In function `main': /root/gcc-4.5.0/x86_64-unknown-linux-gnu/libgfortran/conftest.c:55: undefined reference to `shl_load' collect2: ld returned 1 exit status configure:11086: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU Fortran Runtime Library" | #define PACKAGE_TARNAME "libgfortran" | #define PACKAGE_VERSION "0.3" | #define PACKAGE_STRING "GNU Fortran Runtime Library 0.3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgfortran/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define shl_load innocuous_shl_load | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char shl_load (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef shl_load | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char shl_load (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_shl_load || defined __stub___shl_load | choke me | #endif | | int | main () | { | return shl_load (); | ; | return 0; | } configure:11086: result: no configure:11090: checking for shl_load in -ldld &5 /usr/bin/ld: cannot find -ldld collect2: ld returned 1 exit status configure:11118: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU Fortran Runtime Library" | #define PACKAGE_TARNAME "libgfortran" | #define PACKAGE_VERSION "0.3" | #define PACKAGE_STRING "GNU Fortran Runtime Library 0.3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgfortran/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char shl_load (); | int | main () | { | return shl_load (); | ; | return 0; | } configure:11127: result: no configure:11132: checking for dlopen l/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -o conftest -std=gnu99 -g -O2 conftest.c >&5 /tmp/ccm0n6F7.o: In function `main': /root/gcc-4.5.0/x86_64-unknown-linux-gnu/libgfortran/conftest.c:55: undefined reference to `dlopen' collect2: ld returned 1 exit status configure:11132: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU Fortran Runtime Library" | #define PACKAGE_TARNAME "libgfortran" | #define PACKAGE_VERSION "0.3" | #define PACKAGE_STRING "GNU Fortran Runtime Library 0.3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgfortran/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define dlopen innocuous_dlopen | | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define dlopen innocuous_dlopen | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char dlopen (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef dlopen | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | return dlopen (); | ; | return 0; | } configure:11132: result: no configure:11136: checking for dlopen in -ldl 5 configure:11164: $? = 0 configure:11173: result: yes configure:11298: checking whether a program can dlopen itself -export-dynamic conftest.c -ldl >&5 configure:11381: $? = 0 configure:11399: result: yes configure:11404: checking whether a statically linked program can dlopen itself -export-dynamic -static conftest.c -ldl >&5 /tmp/ccY1vDoh.o: In function `main': linked applications requires at runtime the shared libraries from the glibc version used for linking configure:11487: $? = 0 /root/gcc-4.5.0/x86_64-unknown-linux-gnu/libmudflap/.libs/: cannot read file data: Is a directory configure:11505: result: no configure:11544: checking whether stripping libraries is possible configure:11549: result: yes configure:11584: checking if libtool supports shared libraries configure:11586: result: yes configure:11589: checking whether to build shared libraries configure:11610: result: yes configure:11613: checking whether to build static libraries configure:11617: result: yes configure:11668: checking for x86_64-unknown-linux-gnu-gfortran em /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include configure:11765: checking for Fortran compiler version local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include --version >&5 GNU Fortran (GCC) 4.5.0 Copyright (C) 2010 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING configure:11785: $? = 0 local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -v >&5 4/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -v -lgfortran -lm -shared-libgcc Reading specs from /root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/specs COLLECT_GCC=/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/gfortran COLLECT_LTO_WRAPPER=/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/lto-wrapper Target: x86_64-unknown-linux-gnu --with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre --with-cpu=generic Thread model: posix gcc version 4.5.0 (GCC) COMPILER_PATH=/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/ /lib/ ... rest of stderr output deleted ... configure:11785: $? = 1 local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -V >&5 gfortran: argument to '-V' missing configure:11785: $? = 1 local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -qversion >&5 gfortran: unrecognized option '-qversion' /usr/bin/ld: cannot find -lgfortran collect2: ld returned 1 exit status configure:11785: $? = 1 configure:11794: checking whether we are using the GNU Fortran compiler local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c conftest.F >&5 ibmpfr.so.1: undefined symbol: __gmp_get_memory_functions configure:11807: $? = 1 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end configure:11816: result: no de -isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include accepts -g local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -g conftest.f >&5 ibmpfr.so.1: undefined symbol: __gmp_get_memory_functions configure:11833: $? = 1 configure: failed program was: | program main | | end configure:11841: result: no configure:11974: checking if libtool supports shared libraries configure:11976: result: yes configure:11979: checking whether to build shared libraries configure:11999: result: yes configure:12002: checking whether to build static libraries configure:12006: result: yes local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c conftest.f >&5 ibmpfr.so.1: undefined symbol: __gmp_get_memory_functions configure:12035: $? = 1 isystem /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include option to produce PIC configure:12448: result: system /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include static flag works configure:12541: result: no system /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include supports -c -o file.o local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c -o out/conftest2.o conftest.f >&5 ibmpfr.so.1: undefined symbol: __gmp_get_memory_functions configure:12578: $? = 1 configure:12600: result: no system /usr/local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include supports -c -o file.o configure:12652: result: no t-x86_64-unknown-linux-gnu/gcc/collect-ld -m elf_x86_64) supports shared libraries configure:13714: result: yes configure:13857: checking dynamic linker characteristics configure:14465: result: GNU/Linux ld.so configure:14518: checking how to hardcode library paths into programs configure:14543: result: immediate configure:14588: checking whether the GNU Fortran compiler is working local/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -c conftest.f >&5 ibmpfr.so.1: undefined symbol: __gmp_get_memory_functions configure:14601: $? = 1 configure: failed program was: | | program foo | real, parameter :: bar = sin (12.34 / 2.5) | end program foo configure:14605: result: no ching /root/gcc-4.5.0/x86_64-unknown-linux-gnu/libgfortran/config.log ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_FCFLAGS_set= ac_cv_env_FCFLAGS_value= ac_cv_env_FC_set= ac_cv_env_FC_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-unknown-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=x86_64-unknown-linux-gnu ac_cv_fc_compiler_gnu=no ac_cv_func_dlopen=no ac_cv_func_shl_load=no ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-unknown-linux-gnu ac_cv_lib_dl_dlopen=yes ac_cv_lib_dld_shl_load=no ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=ar ac_cv_prog_AS=/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/as ac_cv_prog_AWK=gawk x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include ' /x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include -E' cal/x64/gcc_4_5_0/x86_64-unknown-linux-gnu/sys-include ' ac_cv_prog_OBJDUMP=objdump ac_cv_prog_RANLIB=ranlib ac_cv_prog_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_fc_g=no ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl lt_cv_dlopen_self=yes lt_cv_dlopen_self_static=no lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/collect-ld lt_cv_path_NM=/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/nm lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_FC=no lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_FC=no lt_cv_prog_gnu_ld=yes lt_cv_shlibpath_overrides_runpath=no ([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' \''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' * \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' ]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=98304 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /root/gcc-4.5.0/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /root/gcc-4.5.0/missing --run tar' strings' AM_FCFLAGS='-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring' AR='ar' AS='/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/as' AUTOCONF='${SHELL} /root/gcc-4.5.0/missing --run autoconf' AUTOHEADER='${SHELL} /root/gcc-4.5.0/missing --run autoheader' AUTOMAKE='${SHELL} /root/gcc-4.5.0/missing --run automake-1.11' AWK='gawk' _0/x86_64-unknown-linux-gnu/sys-include ' CCDEPMODE='depmode=gcc3' CFLAGS='-std=gnu99 -g -O2' 5_0/x86_64-unknown-linux-gnu/sys-include -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' _4_5_0/x86_64-unknown-linux-gnu/sys-include ' FCFLAGS='' FGREP='/bin/grep -F' FPU_HOST_HEADER='' GREP='/bin/grep' IEEE_FLAGS='' INSTALL_DATA='/usr/bin/install -c -m 644' INSTALL_PROGRAM='/usr/bin/install -c' INSTALL_SCRIPT='/usr/bin/install -c' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/collect-ld -m elf_x86_64' LDFLAGS='' LIBGFOR_USE_SYMVER_FALSE='#' LIBGFOR_USE_SYMVER_TRUE='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='lipo' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='makeinfo --split-size=5000000' MKDIR_P='/bin/mkdir -p' NM='/root/gcc-4.5.0/host-x86_64-unknown-linux-gnu/gcc/nm' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='libgfortran' PACKAGE_BUGREPORT='' PACKAGE_NAME='GNU Fortran Runtime Library' PACKAGE_STRING='GNU Fortran Runtime Library 0.3' PACKAGE_TARNAME='libgfortran' PACKAGE_URL='http://www.gnu.org/software/libgfortran/' PACKAGE_VERSION='0.3' PATH_SEPARATOR=':' RANLIB='ranlib' SECTION_FLAGS='-ffunction-sections -fdata-sections' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='0.3' ac_ct_CC='' ac_ct_DUMPBIN='' ac_ct_FC='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='x86_64-unknown-linux-gnu' build_cpu='x86_64' build_libsubdir='build-x86_64-unknown-linux-gnu' build_os='linux-gnu' build_subdir='build-x86_64-unknown-linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' enable_shared='yes' enable_static='yes' exec_prefix='NONE' extra_ldflags_libgfortran='' host='x86_64-unknown-linux-gnu' host_alias='x86_64-unknown-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_subdir='host-x86_64-unknown-linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /root/gcc-4.5.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' multi_basedir='../.././libgfortran/..' oldincludedir='/usr/include' onestep='' onestep_FALSE='' onestep_TRUE='#' pdfdir='${docdir}' prefix='/usr/local/x64/gcc_4_5_0' program_transform_name='s,y,y,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-unknown-linux-gnu' target_alias='x86_64-unknown-linux-gnu' target_cpu='x86_64' target_os='linux-gnu' target_subdir='x86_64-unknown-linux-gnu' target_vendor='unknown' toolexecdir='$(libdir)/gcc-lib/$(target_alias)' toolexeclibdir='$(libdir)/../lib64' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU Fortran Runtime Library" #define PACKAGE_TARNAME "libgfortran" #define PACKAGE_VERSION "0.3" #define PACKAGE_STRING "GNU Fortran Runtime Library 0.3" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "http://www.gnu.org/software/libgfortran/" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" configure: exit 1 -- Summary: configure: error: GNU Fortran is not working Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: chang dot king at us dot icap dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45641