public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc make install error ‘fenv_t’ has not been declared in ‘::’
@ 2021-12-31 10:33 SAIFI
  2021-12-31 12:00 ` Xi Ruoyao
  0 siblings, 1 reply; 3+ messages in thread
From: SAIFI @ 2021-12-31 10:33 UTC (permalink / raw)
  To: gcc-help

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.

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

* Re: gcc make install error ‘fenv_t’ has not been declared in ‘::’
  2021-12-31 10:33 gcc make install error ‘fenv_t’ has not been declared in ‘::’ SAIFI
@ 2021-12-31 12:00 ` Xi Ruoyao
  2021-12-31 12:19   ` SAIFI
  0 siblings, 1 reply; 3+ messages in thread
From: Xi Ruoyao @ 2021-12-31 12:00 UTC (permalink / raw)
  To: saifi, gcc-help

On Fri, 2021-12-31 at 10:33 +0000, SAIFI wrote:
> 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 ?

How did you configure it?  Nobody will know unless you provide it :).


To me it looks like you ran "/strikr/infra/src/gcc/libstdc++-
v3/configure ..." in '/strikr/infra/build/gcc'.  Did you actually wanted
to run "/strikr/infra/src/gcc/configure"?
-- 
Xi Ruoyao <xry111@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University

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

* Re: gcc make install error ‘fenv_t’ has not been declared in ‘::’
  2021-12-31 12:00 ` Xi Ruoyao
@ 2021-12-31 12:19   ` SAIFI
  0 siblings, 0 replies; 3+ messages in thread
From: SAIFI @ 2021-12-31 12:19 UTC (permalink / raw)
  To: gcc-help

On Fri, 31 Dec 2021, Xi Ruoyao via Gcc-help wrote:

>
> To me it looks like you ran "/strikr/infra/src/gcc/libstdc++-
> v3/configure ..." in '/strikr/infra/build/gcc'.  Did you actually wanted
> to run "/strikr/infra/src/gcc/configure"?

Thanks.

The correct order to follow is A - B - C,

A. configure gcc

B. make install (toolchain)

C. configure libstdc++ to build the documentation.

However, in the last build the order followed was A - C - B, hence the error.


warm regards
Saifi.


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

end of thread, other threads:[~2021-12-31 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31 10:33 gcc make install error ‘fenv_t’ has not been declared in ‘::’ SAIFI
2021-12-31 12:00 ` Xi Ruoyao
2021-12-31 12:19   ` SAIFI

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).