<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 4:25 PM, Denis Obrezkov <span dir="ltr"><<a href="mailto:denisobrezkov@gmail.com" target="_blank">denisobrezkov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="h5"><div class="gmail_quote">2017-08-22 22:09 GMT+02:00 Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Sebastian,<div><br></div><div>Did you consciously not add riscv do rtems-all.bset? Or was it an</div><div>oversight?</div><div><br></div><div>Thanks for doing this. I was building on the master of the tools and</div><div>I haven't checked gdb for riscv but all targets did build.</div><span class="m_655067595462421569gmail-HOEnZb"><font color="#888888"><div><br></div><div>--joel</div></font></span></div><div class="m_655067595462421569gmail-HOEnZb"><div class="m_655067595462421569gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 9:55 AM, Denis Obrezkov <span dir="ltr"><<a href="mailto:denisobrezkov@gmail.com" target="_blank">denisobrezkov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ok, I will try today</div><div class="gmail_extra"><span><br><div class="gmail_quote">2017-08-22 16:44 GMT+02:00 Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Denis,<br>
<br>
Please confirm if this works for you.<br>
<div class="m_655067595462421569gmail-m_6957840711537872949m_5407206984696842320HOEnZb"><div class="m_655067595462421569gmail-m_6957840711537872949m_5407206984696842320h5"><br>
On Tue, Aug 22, 2017 at 9:17 AM, Sebastian Huber<br>
<<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brai<wbr>ns.de</a>> wrote:<br>
> Hello,<br>
><br>
> I added a basic RISC-V 32-bit tool chain to the RSB. It is based on the<br>
> latest Newlib snapshot and GCC 7.2. The GDB is not included. I guess for<br>
> this we have to update to GDB 8.0. I didn't test this tool chain.<br>
><br>
><br>
> Sebastian Huber, embedded brains GmbH<br>
><br>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
> Phone   : <a href="tel:%2B49%2089%20189%2047%2041-16" value="+4989189474116" target="_blank">+49 89 189 47 41-16</a><br>
> Fax     : <a href="tel:%2B49%2089%20189%2047%2041-09" value="+4989189474109" target="_blank">+49 89 189 47 41-09</a><br>
> E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
> PGP     : Public key available on request.<br>
><br>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
><br>
> ______________________________<wbr>_________________<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<wbr>/listinfo/devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></span><span class="m_655067595462421569gmail-m_6957840711537872949HOEnZb"><font color="#888888">-- <br><div class="m_655067595462421569gmail-m_6957840711537872949m_5407206984696842320gmail_signature">Regards, Denis Obrezkov</div>
</font></span></div>
<br>______________________________<wbr>_________________<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<wbr>/listinfo/devel</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>I have the error:</div><div class="gmail_extra"><div class="gmail_extra">riscv32-rtems4.12-gcc --pipe -DHAVE_CONFIG_H   -I.. -I../../cpukit/../../../<wbr>hifive1/lib/include   -march=rv32imac -mabi=ilp32 -DFE3XX -Os -g -Wall -Wmissing-prototypes -Wimplicit-function-<wbr>declaration -Wstrict-prototypes -Wnested-externs -MT src/libscore_a-kern_tc.o -MD -MP -MF src/.deps/libscore_a-kern_tc.<wbr>Tpo -c -o src/libscore_a-kern_tc.o `test -f 'src/kern_tc.c' || echo '/home/reprofy/development/<wbr>rtems/kernel/rtems-riscv/c/<wbr>src/../../cpukit/score/'`src/<wbr>kern_tc.c</div><div class="gmail_extra">In file included from /home/reprofy/development/<wbr>rtems/4.12/riscv32-rtems4.12/<wbr>include/sys/_pthreadtypes.h:<wbr>24:0,</div><div class="gmail_extra">                 from /home/reprofy/development/<wbr>rtems/4.12/riscv32-rtems4.12/<wbr>include/sys/types.h:239,</div><div class="gmail_extra">                 from /home/reprofy/development/<wbr>rtems/4.12/riscv32-rtems4.12/<wbr>include/sys/time.h:43,</div><div class="gmail_extra">                 from ../../cpukit/../../../hifive1/<wbr>lib/include/rtems/score/<wbr>timecounter.h:26,</div><div class="gmail_extra">                 from ../../cpukit/../../../hifive1/<wbr>lib/include/rtems/score/<wbr>timecounterimpl.h:26,</div><div class="gmail_extra">                 from /home/reprofy/development/<wbr>rtems/kernel/rtems-riscv/c/<wbr>src/../../cpukit/score/src/<wbr>kern_tc.c:36:</div><div class="gmail_extra">/home/reprofy/development/<wbr>rtems/4.12/riscv32-rtems4.12/<wbr>include/sys/cpuset.h:227:10: fatal error: machine/_kernel_cpuset.h: No such file or directory</div><div class="gmail_extra"> #include <machine/_kernel_cpuset.h></div><div class="gmail_extra">          ^~~~~~~~~~~~~~~~~~~~~~~~~~</div><div class="gmail_extra">compilation terminated.</div></div></div></blockquote><div><br></div><div>Is this file in your RTEMS source tree? It is a shared file across all ports and</div><div>should always be there.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div>-- <br><div class="m_655067595462421569gmail_signature">Regards, Denis Obrezkov</div>
</font></span></div></div>
</blockquote></div><br></div></div>