This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with building gcc 4.9.0 (libstdc++)



Actually, I foolowed the installing instructions and still got the same
error.

Can anyone please tell me whether Red Hat 4.1.2-46 is compatible
(supported) by gcc (e.g., 4.9.0 version)?

The full config.log looks like

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $
/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc_dir/../gcc-4.9.0/configure
--prefix=/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0
--enable-shared

## --------- ##
## Platform. ##
## --------- ##

hostname = nks-g6.sscc.ru
uname -m = x86_64
uname -r = 2.6.18-164.el5
uname -s = Linux
uname -v = #1 SMP Tue Aug 18 15:51:48 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: /ifs/opt/2013/intel/impi/4.1.3.049/intel64/bin
PATH: /opt/pbs/11.1.0.111761/bin
PATH: /usr/java/jre1.6.0_26/bin
PATH: /ifs/opt/2013/intel/impi/4.1.3.049/intel64/bin
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /home/icmmg/voronin/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2322: checking build system type
configure:2336: result: x86_64-unknown-linux-gnu
configure:2383: checking host system type
configure:2396: result: x86_64-unknown-linux-gnu
configure:2416: checking target system type
configure:2429: result: x86_64-unknown-linux-gnu
configure:2483: checking for a BSD-compatible install
configure:2551: result: /usr/bin/install -c
configure:2562: checking whether ln works
configure:2584: result: yes
configure:2588: checking whether ln -s works
configure:2592: result: yes
configure:2599: checking for a sed that does not truncate output
configure:2663: result: /bin/sed
configure:2672: checking for gawk
configure:2688: found /bin/gawk
configure:2699: result: gawk
configure:3154: checking for libatomic support
configure:3164: result: yes
configure:3173: checking for libcilkrts support
configure:3183: result: yes
configure:3192: checking for libitm support
configure:3202: result: yes
configure:3211: checking for libsanitizer support
configure:3221: result: yes
configure:3230: checking for libvtv support
configure:3240: result: yes
configure:3970: checking for gcc
configure:3986: found /usr/bin/gcc
configure:3997: result: gcc
configure:4226: checking for C compiler version
configure:4235: gcc --version >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
Copyright (C) 2006 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:4246: $? = 0
configure:4235: gcc -v >&5
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)
configure:4246: $? = 0
configure:4235: gcc -V >&5
gcc: '-V' option must have argument
configure:4246: $? = 1
configure:4235: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:4246: $? = 1
configure:4266: checking for C compiler default output file name
configure:4288: gcc    conftest.c  >&5
configure:4292: $? = 0
configure:4329: result: a.out
configure:4345: checking whether the C compiler works
configure:4354: ./a.out
configure:4358: $? = 0
configure:4373: result: yes
configure:4380: checking whether we are cross compiling
configure:4382: result: no
configure:4385: checking for suffix of executables
configure:4392: gcc -o conftest    conftest.c  >&5
configure:4396: $? = 0
configure:4418: result:
configure:4424: checking for suffix of object files
configure:4446: gcc -c   conftest.c >&5
configure:4450: $? = 0
configure:4471: result: o
configure:4475: checking whether we are using the GNU C compiler
configure:4494: gcc -c   conftest.c >&5
configure:4494: $? = 0
configure:4503: result: yes
configure:4512: checking whether gcc accepts -g
configure:4532: gcc -c -g  conftest.c >&5
configure:4532: $? = 0
configure:4573: result: yes
configure:4590: checking for gcc option to accept ISO C89
configure:4654: gcc  -c -g -O2  conftest.c >&5
configure:4654: $? = 0
configure:4667: result: none needed
configure:4745: checking for g++
configure:4761: found /usr/bin/g++
configure:4772: result: g++
configure:4799: checking for C++ compiler version
configure:4808: g++ --version >&5
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
Copyright (C) 2006 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:4819: $? = 0
configure:4808: g++ -v >&5
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)
configure:4819: $? = 0
configure:4808: g++ -V >&5
g++: '-V' option must have argument
configure:4819: $? = 1
configure:4808: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:4819: $? = 1
configure:4823: checking whether we are using the GNU C++ compiler
configure:4842: g++ -c   conftest.cpp >&5
configure:4842: $? = 0
configure:4851: result: yes
configure:4860: checking whether g++ accepts -g
configure:4880: g++ -c -g  conftest.cpp >&5
configure:4880: $? = 0
configure:4921: result: yes
configure:4970: checking whether g++ accepts -static-libstdc++ -static-libgcc
configure:4987: g++ -o conftest -g -O2   -static-libstdc++ -static-libgcc
conftest.cpp  >&5
g++: unrecognized option '-static-libstdc++'
conftest.cpp:11:2: error: #error -static-libstdc++ not implemented
configure:4987: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
| #error -static-libstdc++ not implemented
| #endif
| int main() {}
configure:4991: result: no
configure:5052: checking for gnatbind
configure:5082: result: no
configure:5144: checking for gnatmake
configure:5174: result: no
configure:5193: checking whether compiler driver understands Ada
configure:5216: result: no
configure:5225: checking how to compare bootstrapped objects
configure:5250: result: cmp --ignore-initial=16 $$f1 $$f2
configure:5304: checking for objdir
configure:5319: result: .libs
configure:5876: WARNING: using in-tree ISL, disabling version check
configure:6104: WARNING: using in-tree CLooG, disabling version check
configure:7109: checking for default BUILD_CONFIG
configure:7141: result: bootstrap-debug
configure:7146: checking for --enable-vtable-verify
configure:7159: result: no
configure:7748: checking for bison
configure:7764: found /usr/bin/bison
configure:7775: result: bison -y
configure:7795: checking for bison
configure:7811: found /usr/bin/bison
configure:7822: result: bison
configure:7842: checking for gm4
configure:7872: result: no
configure:7842: checking for gnum4
configure:7872: result: no
configure:7842: checking for m4
configure:7858: found /usr/bin/m4
configure:7869: result: m4
configure:7889: checking for flex
configure:7905: found /usr/bin/flex
configure:7916: result: flex
configure:7937: checking for flex
configure:7953: found /usr/bin/flex
configure:7964: result: flex
configure:7984: checking for makeinfo
configure:8000: found /usr/bin/makeinfo
configure:8011: result: makeinfo
configure:8045: checking for expect
configure:8061: found /usr/bin/expect
configure:8072: result: expect
configure:8094: checking for runtest
configure:8124: result: no
configure:8239: checking for ar
configure:8255: found /usr/bin/ar
configure:8266: result: ar
configure:8380: checking for as
configure:8396: found /usr/bin/as
configure:8407: result: as
configure:8521: checking for dlltool
configure:8551: result: no
configure:8662: checking for ld
configure:8678: found /usr/bin/ld
configure:8689: result: ld
configure:8803: checking for lipo
configure:8833: result: no
configure:8944: checking for nm
configure:8960: found /usr/bin/nm
configure:8971: result: nm
configure:9085: checking for ranlib
configure:9101: found /usr/bin/ranlib
configure:9112: result: ranlib
configure:9221: checking for strip
configure:9237: found /usr/bin/strip
configure:9248: result: strip
configure:9357: checking for windres
configure:9387: result: no
configure:9498: checking for windmc
configure:9528: result: no
configure:9639: checking for objcopy
configure:9655: found /usr/bin/objcopy
configure:9666: result: objcopy
configure:9780: checking for objdump
configure:9796: found /usr/bin/objdump
configure:9807: result: objdump
configure:9921: checking for readelf
configure:9937: found /usr/bin/readelf
configure:9948: result: readelf
configure:10101: checking for cc
configure:10117: found /usr/bin/cc
configure:10128: result: cc
configure:10262: checking for c++
configure:10278: found /usr/bin/c++
configure:10289: result: c++
configure:10423: checking for gcc
configure:10439: found /usr/bin/gcc
configure:10450: result: gcc
configure:10579: checking for gcj
configure:10609: result: no
configure:10740: checking for gfortran
configure:10756: found /usr/bin/gfortran
configure:10767: result: gfortran
configure:10901: checking for gccgo
configure:10931: result: no
configure:10992: checking for ar
configure:11025: result: no
configure:11142: checking for ar
configure:11158: found /usr/bin/ar
configure:11169: result: ar
configure:11222: checking for as
configure:11255: result: no
configure:11372: checking for as
configure:11388: found /usr/bin/as
configure:11399: result: as
configure:11452: checking for dlltool
configure:11485: result: no
configure:11602: checking for dlltool
configure:11632: result: no
configure:11682: checking for ld
configure:11715: result: no
configure:11832: checking for ld
configure:11848: found /usr/bin/ld
configure:11859: result: ld
configure:11912: checking for lipo
configure:11945: result: no
configure:12062: checking for lipo
configure:12092: result: no
configure:12142: checking for nm
configure:12175: result: no
configure:12292: checking for nm
configure:12308: found /usr/bin/nm
configure:12319: result: nm
configure:12372: checking for objdump
configure:12405: result: no
configure:12522: checking for objdump
configure:12538: found /usr/bin/objdump
configure:12549: result: objdump
configure:12602: checking for ranlib
configure:12635: result: no
configure:12752: checking for ranlib
configure:12768: found /usr/bin/ranlib
configure:12779: result: ranlib
configure:12832: checking for readelf
configure:12865: result: no
configure:12982: checking for readelf
configure:12998: found /usr/bin/readelf
configure:13009: result: readelf
configure:13062: checking for strip
configure:13095: result: no
configure:13212: checking for strip
configure:13228: found /usr/bin/strip
configure:13239: result: strip
configure:13292: checking for windres
configure:13325: result: no
configure:13442: checking for windres
configure:13472: result: no
configure:13522: checking for windmc
configure:13555: result: no
configure:13672: checking for windmc
configure:13702: result: no
configure:13730: checking where to find the target ar
configure:13763: result: host tool
configure:13772: checking where to find the target as
configure:13805: result: host tool
configure:13814: checking where to find the target cc
configure:13837: result: just compiled
configure:13856: checking where to find the target c++
configure:13882: result: just compiled
configure:13901: checking where to find the target c++ for libstdc++
configure:13927: result: just compiled
configure:13946: checking where to find the target dlltool
configure:13979: result: host tool
configure:13988: checking where to find the target gcc
configure:14011: result: just compiled
configure:14030: checking where to find the target gcj
configure:14056: result: just compiled
configure:14075: checking where to find the target gfortran
configure:14101: result: just compiled
configure:14120: checking where to find the target gccgo
configure:14156: result: host tool
configure:14165: checking where to find the target ld
configure:14198: result: host tool
configure:14207: checking where to find the target lipo
configure:14229: result: host tool
configure:14238: checking where to find the target nm
configure:14271: result: host tool
configure:14280: checking where to find the target objdump
configure:14313: result: host tool
configure:14322: checking where to find the target ranlib
configure:14355: result: host tool
configure:14364: checking where to find the target readelf
configure:14397: result: host tool
configure:14406: checking where to find the target strip
configure:14439: result: host tool
configure:14448: checking where to find the target windres
configure:14481: result: host tool
configure:14490: checking where to find the target windmc
configure:14523: result: host tool
configure:14560: checking whether to enable maintainer-specific portions
of Makefiles
configure:14569: result: no
configure:14790: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on nks-g6.sscc.ru

config.status:1030: creating Makefile

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AR_FOR_TARGET=ar
ac_cv_prog_AS=as
ac_cv_prog_AS_FOR_TARGET=as
ac_cv_prog_AWK=gawk
ac_cv_prog_BISON=bison
ac_cv_prog_CC_FOR_TARGET=cc
ac_cv_prog_CXX_FOR_TARGET=c++
ac_cv_prog_EXPECT=expect
ac_cv_prog_FLEX=flex
ac_cv_prog_GCC_FOR_TARGET=gcc
ac_cv_prog_GFORTRAN_FOR_TARGET=gfortran
ac_cv_prog_LD=ld
ac_cv_prog_LD_FOR_TARGET=ld
ac_cv_prog_LEX=flex
ac_cv_prog_M4=m4
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_NM=nm
ac_cv_prog_NM_FOR_TARGET=nm
ac_cv_prog_OBJCOPY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_OBJDUMP_FOR_TARGET=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_RANLIB_FOR_TARGET=ranlib
ac_cv_prog_READELF=readelf
ac_cv_prog_READELF_FOR_TARGET=readelf
ac_cv_prog_STRIP=strip
ac_cv_prog_STRIP_FOR_TARGET=strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=x86_64-unknown-linux-gnu
acx_cv_cc_gcc_supports_ada=no
acx_cv_prog_LN=ln
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0:/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0/libexec/gcc/x86_64-unknown-linux-gnu:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0:/usr/lib/gcc/x86_64-unknown-linux-gnu:/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu/4.9.0:/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0/x86_64-unknown-linux-gnu/bin:
gcc_cv_tool_prefix=/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0
lt_cv_objdir=.libs

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='$(AR)'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='$(AS)'
AWK='gawk'
BISON='bison'
BUILD_CONFIG='bootstrap-debug'
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
CFLAGS='-g -O2'
CFLAGS_FOR_BUILD='-g -O2'
CFLAGS_FOR_TARGET='-g -O2'
COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXXFLAGS_FOR_BUILD='-g -O2'
CXXFLAGS_FOR_TARGET='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -B$$r/$(HOST_SUBDIR)/gcc/
-nostdinc++ `if test -f
$$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL)
$$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags
--build-includes; else echo -funconfigured-libstdc++-v3 ; fi`
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DLT_OBJDIR=\".libs/\"'
DLLTOOL='dlltool'
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='$(DLLTOOL)'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT='expect'
EXTRA_CONFIGARGS_LIBJAVA='--disable-static'
FLAGS_FOR_TARGET=' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/
-isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
FLEX='flex'
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran
-B$$r/$(HOST_SUBDIR)/gcc/'
GNATBIND='no'
GNATMAKE='no'
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET='$(GOC)'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='$(LD)'
LEX='flex'
LIBOBJS=''
LIBS=''
LIPO='lipo'
LIPO_FOR_TARGET='$(LIPO)'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
NM='nm'
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='$(NM)'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='$(OBJDUMP)'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='$(RANLIB)'
RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc
-B$$r/$(HOST_SUBDIR)/gcc -nostdinc++
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs
-L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
READELF='readelf'
READELF_FOR_TARGET='$(READELF)'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SED='/bin/sed'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='$(STRIP)'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc_dir/../gcc-4.9.0/configure
--prefix=/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0
--enable-shared'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='$(WINDMC)'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='$(WINDRES)'
YACC='bison -y'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_configargs=' --cache-file=../config.cache
'\''--prefix=/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0'\''
'\''--enable-shared'\''
'\''--enable-languages=c,c++,fortran,java,lto,objc'\''
--program-transform-name='\''s,y,y,'\'' --disable-option-checking'
build_configdirs=' libiberty fixincludes'
build_cpu='x86_64'
build_libsubdir='build-x86_64-unknown-linux-gnu'
build_noncanonical='x86_64-unknown-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-unknown-linux-gnu'
build_tooldir='${exec_prefix}/x86_64-unknown-linux-gnu'
build_vendor='unknown'
clooginc='-DCLOOG_INT_GMP -I$$r/$(HOST_SUBDIR)/cloog/include
-I$$s/cloog/include
-I/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc_dir/../gcc-4.9.0/cloog/include
'
clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/.libs  -lcloog-isl
-L$$r/$(HOST_SUBDIR)/isl/.libs  -lisl'
compare_exclusions='gcc/cc*-checksum$(objext) | gcc/ada/*tools/*'
configdirs=' intl libiberty zlib libbacktrace libcpp libdecnumber gmp mpfr
mpc isl cloog fixincludes gcc lto-plugin'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
extra_host_libiberty_configure_flags='--enable-shared'
extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp
--with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/.libs'
extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr
--with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/.libs'
extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp
--with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/.libs'
gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I$$r/$(HOST_SUBDIR)/mpfr
-I$$s/mpfr -I$$s/mpc/src '
gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/mpfr/.libs
-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -lmpc -lmpfr -lgmp'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_configargs=' --cache-file=./config.cache 
'\''--prefix=/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0'\''
'\''--enable-shared'\''
'\''--enable-languages=c,c++,fortran,java,lto,objc'\''
--program-transform-name='\''s,y,y,'\'' --disable-option-checking'
host_cpu='x86_64'
host_noncanonical='x86_64-unknown-linux-gnu'
host_os='linux-gnu'
host_shared='no'
host_subdir='.'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags='-static-libstdc++ -static-libgcc'
poststage1_libs=''
prefix='/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='-g'
stage1_checking='--enable-checking=yes,types'
stage1_languages='c,c++,lto'
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_configargs='--cache-file=./config.cache --enable-multilib  
'\''--prefix=/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc-4.9.0'\''
'\''--enable-shared'\''
'\''--enable-languages=c,c++,fortran,java,lto,objc'\''
--program-transform-name='\''s,y,y,'\'' --disable-option-checking'
target_configdirs=' libgcc libgomp libcilkrts libatomic libitm
libstdc++-v3 libsanitizer libvtv libssp libquadmath libgfortran boehm-gc
libffi zlib libjava libobjc'
target_cpu='x86_64'
target_noncanonical='x86_64-unknown-linux-gnu'
target_os='linux-gnu'
target_subdir='x86_64-unknown-linux-gnu'
target_vendor='unknown'
tooldir='${exec_prefix}/x86_64-unknown-linux-gnu'

## ------------------- ##
## File substitutions. ##
## ------------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='/dev/null'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc_dir/../gcc-4.9.0/config/mt-gnu'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define LT_OBJDIR ".libs/"

configure: exit 0


Best regards,

Kirill Voronin

> On Fri, 2014-08-08 at 16:54 +0700, Kirill Voronin wrote:
>> I'm trying to build gcc 4.9.0 for linux (OS Red Hat, very old version).
>>
>> I've installed manually mpc, gmp and mpfr before running ./configure
>>
>> Configure line:
>> ../gcc-4.9.0/configure --prefix=/usr/new/gcc_install --enable-shared
>> --with-gmp=/usr/new/gmp_install --with-mpfr=/usr/new/mpfc_install
>> --with-mpc=/usr/new/mpc_install
>>
>> and it works fine.
>>
>> But then I tried to make and got the following error:
>>
>> checking for suffix of object files... configure: error: in
>> `/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc_dir/x86_64-unknown-linux-gnu/libgcc':
>> configure: error: cannot compute suffix of object files: cannot compile
>>
>> The config.log file contains the following error:
>
> ...excerpts only
>
>> Configured with: ...
>> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
> ... this will cause trouble later...
>
>> configure:4970: checking whether g++ accepts -static-libstdc++
>> -static-libgcc
>> configure:4987: g++ -o conftest -g -O2   -static-libstdc++
>> -static-libgcc
>> conftest.cpp  >&5
>> g++: unrecognized option '-static-libstdc++'
>> conftest.cpp:11:2: error: #error -static-libstdc++ not implemented
>
> I don't know why you think this is the problem because (a) a lot of
> these tests fail and the build process just uses alternative methods,
> and (b) if it WAS the problem, configure would give up here instead of
> running further tests (as it does)
>
>> configure:5052: checking for gnatbind
>> configure:5082: result: no
>> configure:5144: checking for gnatmake
>> configure:5174: result: no
>> configure:5193: checking whether compiler driver understands Ada
>> configure:5216: result: no
>
> As Ada is on the list of languages to build, this isn't going to work
> until you correctly install a suitable Gnat version.
>
>> configure:5891: checking for version 0.10 of ISL
>> configure:5910: gcc -o conftest -g -O2
>> -I/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gmp_install/include
>> -I/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/mpfc_install/include
>> -I/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/mpc_install/include
>>     conftest.c  -lisl >&5
>> conftest.c:10:25: error: isl/version.h: No such file or directory
>> conftest.c: In function 'main':
>
> now *this* looks more like a problem (repeated for ISL version 0.11) but
> my understanding is that ISL is an option not a requirement so far.
>
> And that's the end of the config.log file excerpt you posted. So I
> suspect the error is really further down the file.
>
> Follow Jonathan's instructions.
> Install Gnat.
> Post the right part of the config.log file, or a link to the whole of
> it.
>
> - Brian
>
>
>


-- 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]