Error while building FTW Patch

Joel Sherrill joel at rtems.org
Wed Aug 26 19:31:06 UTC 2020


I think there are two threads on this but I wanted to make sure Chris
noticed it.

Master of rtems-source-builder is broken. Backing up a commit or two works.

--joel

On Wed, Aug 26, 2020 at 10:18 AM Eshan Dhawan <eshandhawan51 at gmail.com>
wrote:

> For the RSB master error sent a mail just few minutes ago
>
>
> > On 26-Aug-2020, at 8:43 PM, Gedare Bloom <gedare at rtems.org> wrote:
> >
> > This looks unrelated. See if the plain toolchain without your patch
> > fails in the same way.
> >
> >> On Tue, Aug 25, 2020 at 12:58 PM Eshan Dhawan <eshandhawan51 at gmail.com>
> wrote:
> >>
> >> hello everyone,
> >> I after building arm-rtems6 toolchain with my ftw patch
> >> when i build rtems i receive this error
> >> The error comes on the patches that were earlier version of the
> successfully tested patch:)
> >>
> >> Error log :
> >>
> /home/eshan/development/rtems/kernel/rtems/c/src/../../testsuites/sptests/spcxx01/init.cc:
> In function 'void test_future()':
> >>
> /home/eshan/development/rtems/kernel/rtems/c/src/../../testsuites/sptests/spcxx01/init.cc:64:20:
> error: variable 'std::future<int> f' has initializer but incomplete type
> >>   64 |   std::future<int> f = std::async(std::launch::async, []{ return
> 12358; });
> >>      |                    ^
> >>
> /home/eshan/development/rtems/kernel/rtems/c/src/../../testsuites/sptests/spcxx01/init.cc:64:74:
> error: invalid use of incomplete type 'class std::future<int>'
> >>   64 | d::future<int> f = std::async(std::launch::async, []{ return
> 12358; });
> >>      |
>     ^
> >>
> >> In file included from
> /home/eshan/development/rtems/kernel/rtems/c/src/../../testsuites/sptests/spcxx01/init.cc:32:
> >>
> /home/eshan/development/rtems/6/lib/gcc/arm-rtems6/10.2.1/include/c++/future:125:11:
> note: declaration of 'class std::future<int>'
> >>  125 |     class future;
> >>      |           ^~~~~~
> >>
> /home/eshan/development/rtems/6/lib/gcc/arm-rtems6/10.2.1/include/c++/future:
> At global scope:
> >>
> /home/eshan/development/rtems/6/lib/gcc/arm-rtems6/10.2.1/include/c++/future:189:5:
> error: 'std::future<typename std::__invoke_result<typename
> std::decay<_Tp>::type, typename std::decay<_Args>::type ...>::type>
> std::async(std::launch, _Fn&&, _Args&& ...) [with _Fn =
> test_future()::<lambda()>; _Args = {}; typename
> std::__invoke_result<typename std::decay<_Tp>::type, typename
> std::decay<_Args>::type ...>::type = int]', declared using local type
> 'test_future()::<lambda()>', is used but never defined [-fpermissive]
> >>  189 |     async(launch __policy, _Fn&& __fn, _Args&&... __args);
> >>      |     ^~~~~
> >> Makefile:12245: recipe for target 'spcxx01/spcxx01-init.o' failed
> >> make[5]: *** [spcxx01/spcxx01-init.o] Error 1
> >> make[5]: Leaving directory
> '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c/xilinx_zynq_a9_qemu/testsuites/sptests'
> >> Makefile:663: recipe for target 'sptests' failed
> >> make[4]: *** [sptests] Error 2
> >> make[4]: Leaving directory
> '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c/xilinx_zynq_a9_qemu/testsuites'
> >> Makefile:1222: recipe for target 'testsuites' failed
> >> make[3]: *** [testsuites] Error 2
> >> make[3]: Leaving directory
> '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c/xilinx_zynq_a9_qemu'
> >> Makefile:716: recipe for target 'all-recursive' failed
> >> make[2]: *** [all-recursive] Error 1
> >> make[2]: Leaving directory
> '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c/xilinx_zynq_a9_qemu'
> >> Makefile:289: recipe for target 'all-recursive' failed
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory
> '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c'
> >> Makefile:410: recipe for target 'all-recursive' failed
> >> make: *** [all-recursive] Error 1
> >> ~/development/rtems/kernel/xilinx_zynq_a9_qemu              01:25:05
>  eshan
> >> 2 ❯
> >>
> >> --
> >> Thanks
> >> - Eshan
> >> _______________________________________________
> >> devel mailing list
> >> devel at rtems.org
> >> http://lists.rtems.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200826/a3c71000/attachment.html>


More information about the devel mailing list