From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from s810.sureserver.com (s810.sureserver.com [195.42.142.37]) by sourceware.org (Postfix) with ESMTPS id 4799F3858C3A for ; Fri, 31 Dec 2021 10:32:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4799F3858C3A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=strikr.io Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=strikr.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=strikr.io; h=date:from :reply-to:to:subject:message-id:mime-version:content-type; s= dkim; bh=7cCawTfGOj4ls5CHTqpm0Rxpcny0seSHvjphUZ6a8Js=; b=FF3XY7P dx1KfwDeXqIjGyaGgeQ7brn0nq/IhUHTCbejlmzGRJfLN4FZwj+ie29yLf70KXqm dwZMervt7fuGzN2yWA0nnxmNCfHHpWlgmoDURHPAiJYgSP6guS4fecq43IdjkRiW wZGtTyI0sMiDJdkaG3Hds2gIBCwub8fop2kM= Received: (qmail 36406 invoked by uid 1001); 31 Dec 2021 10:32:19 -0000 Received: from unknown (HELO gladiator) (saifi@strikr.io@103.213.213.70) by 195.42.142.233 with ESMTPA; 31 Dec 2021 10:32:19 -0000 Date: Fri, 31 Dec 2021 10:33:02 +0000 (UTC) From: SAIFI Reply-To: saifi@strikr.io To: gcc-help@gcc.gnu.org Subject: =?ISO-8859-7?Q?gcc_make_install_error_=A1fenv=5Ft=A2_has_not?= =?ISO-8859-7?Q?_been_declared_in_=A1=3A=3A=A2?= Message-ID: <5063732c-8420-5dac-42a-dc72d6db51e6@strikr.io> MIME-Version: 1.0 X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_WEB, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; format=flowed; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2021 10:32:24 -0000 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.