gcc make install error ʽfenv_tʼ has not been declared in ʽ::ʼ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:

Using 'gcc 11.1.0' on x86_64 GNU/Linux (kernel 5.15.12). The source make was successful. However, i am encountering this error at 'make install'.

Please see below,

libtool: compile:  g++ -I/strikr/src/gcc/libstdc++-v3/../libgcc -I/strikr/infra/build/gcc/include/ -I/strikr/infra/build/gcc/include -I/strikr/src/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=wstring-io-inst.lo -fcf-protection -mshstk -c /strikr/src/gcc/libstdc++-v3/src/c++11/wstring-io-inst.cc  -fPIC -DPIC -D_GLIBCXX_SHARED -o wstring-io-inst.o
/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=link g++  -Wl,-O1 -Wl,-z,relro -Wl,--gc-sections  -std=gnu++11 -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=libc++11convenience.la   -o libc++11convenience.la  chrono.lo codecvt.lo condition_variable.lo cow-stdexcept.lo ctype.lo debug.lo functexcept.lo functional.lo futex.lo future.lo hash_c++0x.lo hashtable_c++0x.lo ios.lo limits.lo mutex.lo placeholders.lo random.lo regex.lo shared_ptr.lo snprintf_lite.lo system_error.lo thread.lo cow-locale_init.lo cow-shim_facets.lo cxx11-hash_tr1.lo cxx11-ios_failure.lo cxx11-shim_facets.lo cxx11-stdexcept.lo ctype_configure_char.lo ctype_members.lo cow-fstream-inst.lo cow-sstream-inst.lo cow-string-inst.lo cow-string-io-inst.lo cow-wstring-inst.lo cow-wstring-io-inst.lo cxx11-locale-inst.lo cxx11-wlocale-inst.lo sso_string.lo ext11-inst.lo
fstream-inst.lo ios-inst.lo iostream-inst.lo istream-inst.lo locale-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo string-inst.lo string-io-inst.lo wlocale-inst.lo wstring-inst.lo wstring-io-inst.lo libtool: link: ar cru .libs/libc++11convenience.a chrono.o codecvt.o condition_variable.o cow-stdexcept.o ctype.o debug.o functexcept.o functional.o futex.o future.o hash_c++0x.o hashtable_c++0x.o ios.o limits.o mutex.o placeholders.o random.o regex.o shared_ptr.o snprintf_lite.o system_error.o thread.o cow-locale_init.o cow-shim_facets.o cxx11-hash_tr1.o cxx11-ios_failure.o cxx11-shim_facets.o cxx11-stdexcept.o ctype_configure_char.o ctype_members.o cow-fstream-inst.o cow-sstream-inst.o cow-string-inst.o cow-string-io-inst.o cow-wstring-inst.o cow-wstring-io-inst.o cxx11-locale-inst.o cxx11-wlocale-inst.o sso_string.o ext11-inst.o fstream-inst.o ios-inst.o iostream-inst.o istream-inst.o locale-inst.o ostream-inst.o sstream-inst.o streambuf-inst.o string-inst.o string-io-inst.o wlocale-inst.o wstring-inst.o wstring-io-inst.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libc++11convenience.a
libtool: link: ( cd ".libs" && rm -f "libc++11convenience.la" && ln -s "../libc++11convenience.la" "libc++11convenience.la" )
make[3]: Entering directory '/strikr/infra/build/gcc/src/c++11'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/strikr/infra/build/gcc/src/c++11'
make[2]: Leaving directory '/strikr/infra/build/gcc/src/c++11'
Making install in c++17
make[2]: Entering directory '/strikr/infra/build/gcc/src/c++17'
/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile g++ -I/strikr/src/gcc/libstdc++-v3/../libgcc -I/strikr/infra/build/gcc/include/ -I/strikr/infra/build/gcc/include -I/strikr/src/gcc/libstdc++-v3/libsupc++   -std=gnu++17 -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=floating_from_chars.lo  -fimplicit-templates  -fcf-protection -mshstk -c -o floating_from_chars.lo /strikr/src/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc
libtool: compile:  g++ -I/strikr/src/gcc/libstdc++-v3/../libgcc -I/strikr/infra/build/gcc/include/ -I/strikr/infra/build/gcc/include -I/strikr/src/gcc/libstdc++-v3/libsupc++ -std=gnu++17 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=floating_from_chars.lo -fimplicit-templates -fcf-protection -mshstk -c /strikr/src/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc  -fPIC -DPIC -D_GLIBCXX_SHARED -o floating_from_chars.o
In file included from /strikr/infra/build/gcc/include/cfenv:41,
                 from /strikr/src/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:36:
/strikr/infra/build/gcc/include/fenv.h:58:11: error: ʽfenv_tʼ has not been declared in ʽ::ʼ
   58 |   using ::fenv_t;
      |           ^~~~~~
/strikr/infra/build/gcc/include/fenv.h:59:11: error: ʽfexcept_tʼ has not been declared in ʽ::ʼ
   59 |   using ::fexcept_t;
      |           ^~~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:62:11: error: ʽfeclearexceptʼ has not been declared in ʽ::ʼ
   62 |   using ::feclearexcept;
      |           ^~~~~~~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:63:11: error: ʽfegetexceptflagʼ has not been declared in ʽ::ʼ
   63 |   using ::fegetexceptflag;
      |           ^~~~~~~~~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:64:11: error: ʽferaiseexceptʼ has not been declared in ʽ::ʼ
   64 |   using ::feraiseexcept;
      |           ^~~~~~~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:65:11: error: ʽfesetexceptflagʼ has not been declared in ʽ::ʼ
   65 |   using ::fesetexceptflag;
      |           ^~~~~~~~~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:66:11: error: ʽfetestexceptʼ has not been declared in ʽ::ʼ
   66 |   using ::fetestexcept;
      |           ^~~~~~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:68:11: error: ʽfegetroundʼ has not been declared in ʽ::ʼ
   68 |   using ::fegetround;
      |           ^~~~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:69:11: error: ʽfesetroundʼ has not been declared in ʽ::ʼ
   69 |   using ::fesetround;
      |           ^~~~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:71:11: error: ʽfegetenvʼ has not been declared in ʽ::ʼ
   71 |   using ::fegetenv;
      |           ^~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:72:11: error: ʽfeholdexceptʼ has not been declared in ʽ::ʼ
   72 |   using ::feholdexcept;
      |           ^~~~~~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:73:11: error: ʽfesetenvʼ has not been declared in ʽ::ʼ
   73 |   using ::fesetenv;
      |           ^~~~~~~~
/strikr/infra/build/gcc/include/fenv.h:74:11: error: ʽfeupdateenvʼ has not been declared in ʽ::ʼ
   74 |   using ::feupdateenv;
      |           ^~~~~~~~~~~
In file included from /strikr/src/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:36:
/strikr/infra/build/gcc/include/cfenv:61:11: error: ʽfenv_tʼ has not been declared in ʽ::ʼ
   61 |   using ::fenv_t;
      |           ^~~~~~
/strikr/infra/build/gcc/include/cfenv:62:11: error: ʽfexcept_tʼ has not been declared in ʽ::ʼ
   62 |   using ::fexcept_t;
      |           ^~~~~~~~~
/strikr/infra/build/gcc/include/cfenv:65:11: error: ʽfeclearexceptʼ has not been declared in ʽ::ʼ
   65 |   using ::feclearexcept;
      |           ^~~~~~~~~~~~~
/strikr/infra/build/gcc/include/cfenv:66:11: error: ʽfegetexceptflagʼ has not been declared in ʽ::ʼ
   66 |   using ::fegetexceptflag;
      |           ^~~~~~~~~~~~~~~
/strikr/infra/build/gcc/include/cfenv:67:11: error: ʽferaiseexceptʼ has not been declared in ʽ::ʼ
   67 |   using ::feraiseexcept;
      |           ^~~~~~~~~~~~~
/strikr/infra/build/gcc/include/cfenv:68:11: error: ʽfesetexceptflagʼ has not been declared in ʽ::ʼ
   68 |   using ::fesetexceptflag;
      |           ^~~~~~~~~~~~~~~
/strikr/infra/build/gcc/include/cfenv:69:11: error: ʽfetestexceptʼ has not been declared in ʽ::ʼ
   69 |   using ::fetestexcept;
      |           ^~~~~~~~~~~~
/strikr/infra/build/gcc/include/cfenv:71:11: error: ʽfegetroundʼ has not been declared in ʽ::ʼ
   71 |   using ::fegetround;
      |           ^~~~~~~~~~
/strikr/infra/build/gcc/include/cfenv:72:11: error: ʽfesetroundʼ has not been declared in ʽ::ʼ
   72 |   using ::fesetround;
      |           ^~~~~~~~~~
/strikr/infra/build/gcc/include/cfenv:74:11: error: ʽfegetenvʼ has not been declared in ʽ::ʼ
   74 |   using ::fegetenv;
      |           ^~~~~~~~
/strikr/infra/build/gcc/include/cfenv:75:11: error: ʽfeholdexceptʼ has not been declared in ʽ::ʼ
   75 |   using ::feholdexcept;
      |           ^~~~~~~~~~~~
/strikr/infra/build/gcc/include/cfenv:76:11: error: ʽfesetenvʼ has not been declared in ʽ::ʼ
   76 |   using ::fesetenv;
      |           ^~~~~~~~
/strikr/infra/build/gcc/include/cfenv:77:11: error: ʽfeupdateenvʼ has not been declared in ʽ::ʼ
   77 |   using ::feupdateenv;
      |           ^~~~~~~~~~~
make[2]: *** [Makefile:577: floating_from_chars.lo] Error 1
make[2]: Leaving directory '/strikr/infra/build/gcc/src/c++17'
make[1]: *** [Makefile:765: install-recursive] Error 1
make[1]: Leaving directory '/strikr/infra/build/gcc/src'
make: *** [Makefile:568: install-recursive] Error 1

Do I need to tweak any options in configure script ? Any pointers ?


warm regards
Saifi.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux