Re: persistent error

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

 



On Fri, 12 Nov 2021, 02:28 Bill Cunningham via Gcc-help, <
gcc-help@xxxxxxxxxxx> wrote:

>      I have this error when trying to build a c++ end onto a gcc "cross"
> compiler already built in a small way. What I am doing is building a
> "cross" compiler by following some of lfs's instructions. I want a
> "cross" compiler but maybe I should just build a native compiler with
> bootstrapping disabled. I will eventually need a gcc compiler with
> everything because any type of testing is done with a "full suite"
> compiler, is my understanding. But, one thing at a time.


It seems to me that just building a full GCC would be simpler than your
piecemeal approach.

https://gcc.gnu.org/wiki/Installing GCC


What exactly is
> this showing me? I have looked at config.log and partial Makefiles and
> config.status scripts. I'm baffled by this anyway.
>
> In file included from /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:41,
>                   from
> /source/gcc-11.2.0/libstdc++-v3/src/c++17/floating_from_chars.cc:36:
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:58:11: error: ‘fenv_t’
> has not been declared in ‘::’
>     58 |   using ::fenv_t;
>        |           ^~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:59:11: error:
> ‘fexcept_t’ has not been declared in ‘::’
>     59 |   using ::fexcept_t;
>        |           ^~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:62:11: error:
> ‘feclearexcept’ has not been declared in ‘::’
>     62 |   using ::feclearexcept;
>        |           ^~~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:63:11: error:
> ‘fegetexceptflag’ has not been declared in ‘::’
>     63 |   using ::fegetexceptflag;
>        |           ^~~~~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:64:11: error:
> ‘feraiseexcept’ has not been declared in ‘::’
>     64 |   using ::feraiseexcept;
>        |           ^~~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:65:11: error:
> ‘fesetexceptflag’ has not been declared in ‘::’
>     65 |   using ::fesetexceptflag;
>        |           ^~~~~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:66:11: error:
> ‘fetestexcept’ has not been declared in ‘::’
>     66 |   using ::fetestexcept;
>        |           ^~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:68:11: error:
> ‘fegetround’ has not been declared in ‘::’
>     68 |   using ::fegetround;
>        |           ^~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:69:11: error:
> ‘fesetround’ has not been declared in ‘::’
>     69 |   using ::fesetround;
>        |           ^~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:71:11: error:
> ‘fegetenv’ has not been declared in ‘::’
>     71 |   using ::fegetenv;
>        |           ^~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:72:11: error:
> ‘feholdexcept’ has not been declared in ‘::’
>     72 |   using ::feholdexcept;
>        |           ^~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:73:11: error:
> ‘fesetenv’ has not been declared in ‘::’
>     73 |   using ::fesetenv;
>        |           ^~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/fenv.h:74:11: error:
> ‘feupdateenv’ has not been declared in ‘::’
>     74 |   using ::feupdateenv;
>        |           ^~~~~~~~~~~
> In file included from
> /source/gcc-11.2.0/libstdc++-v3/src/c++17/floating_from_chars.cc:36:
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:61:11: error: ‘fenv_t’
> has not been declared in ‘::’
>     61 |   using ::fenv_t;
>        |           ^~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:62:11: error:
> ‘fexcept_t’ has not been declared in ‘::’
>     62 |   using ::fexcept_t;
>        |           ^~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:65:11: error:
> ‘feclearexcept’ has not been declared in ‘::’
>     65 |   using ::feclearexcept;
>        |           ^~~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:66:11: error:
> ‘fegetexceptflag’ has not been declared in ‘::’
>     66 |   using ::fegetexceptflag;
>        |           ^~~~~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:67:11: error:
> ‘feraiseexcept’ has not been declared in ‘::’
>     67 |   using ::feraiseexcept;
>        |           ^~~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:68:11: error:
> ‘fesetexceptflag’ has not been declared in ‘::’
>     68 |   using ::fesetexceptflag;
>        |           ^~~~~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:69:11: error:
> ‘fetestexcept’ has not been declared in ‘::’
>     69 |   using ::fetestexcept;
>        |           ^~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:71:11: error:
> ‘fegetround’ has not been declared in ‘::’
>     71 |   using ::fegetround;
>        |           ^~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:72:11: error:
> ‘fesetround’ has not been declared in ‘::’
>     72 |   using ::fesetround;
>        |           ^~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:74:11: error: ‘fegetenv’
> has not been declared in ‘::’
>     74 |   using ::fegetenv;
>        |           ^~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:75:11: error:
> ‘feholdexcept’ has not been declared in ‘::’
>     75 |   using ::feholdexcept;
>        |           ^~~~~~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:76:11: error: ‘fesetenv’
> has not been declared in ‘::’
>     76 |   using ::fesetenv;
>        |           ^~~~~~~~
> /source/gcc-11.2.0/libstdc++-v3/b/include/cfenv:77:11: error:
> ‘feupdateenv’ has not been declared in ‘::’
>     77 |   using ::feupdateenv;
>        |           ^~~~~~~~~~~
> make[3]: *** [Makefile:577: floating_from_chars.lo] Error 1
> make[2]: *** [Makefile:765: all-recursive] Error 1
> make[1]: *** [Makefile:568: all-recursive] Error 1
> make: *** [Makefile:493: all] Error 2
>
> It looks like the C++ Scoping operator might have something to do with
> this.


No, it's a known bug which is in bugzilla already.



I am going into gcc-11.2.0/libstdc++-v3 and running the configure
> script there. That might not be  good idea.
>


Don't do that then. Run the top-level configure instead.



> Bill
>
>
>




[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