<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-08-22 23:49 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"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="gmail-m_-1529227473656738787h5"><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="gmail-m_-1529227473656738787m_655067595462421569gmail-HOEnZb"><font color="#888888"><div><br></div><div>--joel</div></font></span></div><div class="gmail-m_-1529227473656738787m_655067595462421569gmail-HOEnZb"><div class="gmail-m_-1529227473656738787m_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="gmail-m_-1529227473656738787m_655067595462421569gmail-m_6957840711537872949m_5407206984696842320HOEnZb"><div class="gmail-m_-1529227473656738787m_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="gmail-m_-1529227473656738787m_655067595462421569gmail-m_6957840711537872949HOEnZb"><font color="#888888">-- <br><div class="gmail-m_-1529227473656738787m_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/../../../hifive<wbr>1/lib/include   -march=rv32imac -mabi=ilp32 -DFE3XX -Os -g -Wall -Wmissing-prototypes -Wimplicit-function-declaratio<wbr>n -Wstrict-prototypes -Wnested-externs -MT src/libscore_a-kern_tc.o -MD -MP -MF src/.deps/libscore_a-kern_tc.T<wbr>po -c -o src/libscore_a-kern_tc.o `test -f 'src/kern_tc.c' || echo '/home/reprofy/development/rte<wbr>ms/kernel/rtems-riscv/c/src/..<wbr>/../cpukit/score/'`src/kern_<wbr>tc.c</div><div class="gmail_extra">In file included from /home/reprofy/development/rtem<wbr>s/4.12/riscv32-rtems4.12/inclu<wbr>de/sys/_pthreadtypes.h:24:0,</div><div class="gmail_extra">                 from /home/reprofy/development/rtem<wbr>s/4.12/riscv32-rtems4.12/inclu<wbr>de/sys/types.h:239,</div><div class="gmail_extra">                 from /home/reprofy/development/rtem<wbr>s/4.12/riscv32-rtems4.12/inclu<wbr>de/sys/time.h:43,</div><div class="gmail_extra">                 from ../../cpukit/../../../hifive1/<wbr>lib/include/rtems/score/timeco<wbr>unter.h:26,</div><div class="gmail_extra">                 from ../../cpukit/../../../hifive1/<wbr>lib/include/rtems/score/timeco<wbr>unterimpl.h:26,</div><div class="gmail_extra">                 from /home/reprofy/development/rtem<wbr>s/kernel/rtems-riscv/c/src/../<wbr>../cpukit/score/src/kern_tc.c:<wbr>36:</div><div class="gmail_extra">/home/reprofy/development/rtem<wbr>s/4.12/riscv32-rtems4.12/inclu<wbr>de/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></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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class="gmail-m_-1529227473656738787HOEnZb"><font color="#888888"><div><br></div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="gmail-m_-1529227473656738787m_655067595462421569gmail_signature">Regards, Denis Obrezkov</div>
</font></span></font></span></div></div>
</blockquote></div><br></div></div>
</blockquote></div>No, I can't find it.</div><div class="gmail_extra"><div><br></div><div>Here are my build instructions:</div><div><a href="https://docs.google.com/document/d/13_qoWGmQ4N3Sqgb9dvaX27Dn_npZX6IkedyvImBcKfo/edit?usp=sharing">https://docs.google.com/document/d/13_qoWGmQ4N3Sqgb9dvaX27Dn_npZX6IkedyvImBcKfo/edit?usp=sharing</a><br></div><div>in "Build instructions" section.</div><div><br></div><div>Did I miss something?</div>-- <br><div class="gmail_signature">Regards, Denis Obrezkov</div>
</div></div>