<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hello Everyone, <div>I wanted know if anyone was able to figure out the reason for this error ?? </div><div><br></div><div>-Eshan </div><div><div dir="ltr"><blockquote type="cite">On 27-Aug-2020, at 1:01 AM, Joel Sherrill <joel@rtems.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">I think there are two threads on this but I wanted to make sure Chris noticed it.<div><br></div><div>Master of rtems-source-builder is broken. Backing up a commit or two works.</div><div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 26, 2020 at 10:18 AM Eshan Dhawan <<a href="mailto:eshandhawan51@gmail.com">eshandhawan51@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">For the RSB master error sent a mail just few minutes ago <br>
<br>
<br>
> On 26-Aug-2020, at 8:43 PM, Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>> wrote:<br>
> <br>
> This looks unrelated. See if the plain toolchain without your patch<br>
> fails in the same way.<br>
> <br>
>> On Tue, Aug 25, 2020 at 12:58 PM Eshan Dhawan <<a href="mailto:eshandhawan51@gmail.com" target="_blank">eshandhawan51@gmail.com</a>> wrote:<br>
>> <br>
>> hello everyone,<br>
>> I after building arm-rtems6 toolchain with my ftw patch<br>
>> when i build rtems i receive this error<br>
>> The error comes on the patches that were earlier version of the successfully tested patch:)<br>
>> <br>
>> Error log :<br>
>> /home/eshan/development/rtems/kernel/rtems/c/src/../../testsuites/sptests/spcxx01/init.cc: In function 'void test_future()':<br>
>> /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<br>
>>   64 |   std::future<int> f = std::async(std::launch::async, []{ return 12358; });<br>
>>      |                    ^<br>
>> /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>'<br>
>>   64 | d::future<int> f = std::async(std::launch::async, []{ return 12358; });<br>
>>      |                                                                      ^<br>
>> <br>
>> In file included from /home/eshan/development/rtems/kernel/rtems/c/src/../../testsuites/sptests/spcxx01/init.cc:32:<br>
>> /home/eshan/development/rtems/6/lib/gcc/arm-rtems6/10.2.1/include/c++/future:125:11: note: declaration of 'class std::future<int>'<br>
>>  125 |     class future;<br>
>>      |           ^~~~~~<br>
>> /home/eshan/development/rtems/6/lib/gcc/arm-rtems6/10.2.1/include/c++/future: At global scope:<br>
>> /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]<br>
>>  189 |     async(launch __policy, _Fn&& __fn, _Args&&... __args);<br>
>>      |     ^~~~~<br>
>> Makefile:12245: recipe for target 'spcxx01/spcxx01-init.o' failed<br>
>> make[5]: *** [spcxx01/spcxx01-init.o] Error 1<br>
>> make[5]: Leaving directory '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c/xilinx_zynq_a9_qemu/testsuites/sptests'<br>
>> Makefile:663: recipe for target 'sptests' failed<br>
>> make[4]: *** [sptests] Error 2<br>
>> make[4]: Leaving directory '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c/xilinx_zynq_a9_qemu/testsuites'<br>
>> Makefile:1222: recipe for target 'testsuites' failed<br>
>> make[3]: *** [testsuites] Error 2<br>
>> make[3]: Leaving directory '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c/xilinx_zynq_a9_qemu'<br>
>> Makefile:716: recipe for target 'all-recursive' failed<br>
>> make[2]: *** [all-recursive] Error 1<br>
>> make[2]: Leaving directory '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c/xilinx_zynq_a9_qemu'<br>
>> Makefile:289: recipe for target 'all-recursive' failed<br>
>> make[1]: *** [all-recursive] Error 1<br>
>> make[1]: Leaving directory '/home/eshan/development/rtems/kernel/xilinx_zynq_a9_qemu/arm-rtems6/c'<br>
>> Makefile:410: recipe for target 'all-recursive' failed<br>
>> make: *** [all-recursive] Error 1<br>
>> ~/development/rtems/kernel/xilinx_zynq_a9_qemu              01:25:05  eshan<br>
>> 2 ❯<br>
>> <br>
>> --<br>
>> Thanks<br>
>> - Eshan<br>
>> _______________________________________________<br>
>> devel mailing list<br>
>> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
>> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div>
</div></blockquote></div></body></html>