<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 10, 2018 at 2:28 AM, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</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">On 10/5/18 4:47 am, Danxue Huang wrote:<br>
> Hi Dr. Johns,<br>
<br>
Hi, please feel free to use Chris. And thanks for the promotion to Dr but Joel<br>
and Gedare are the esteemed doctors :)<br>
<br>
> I just got a new laptop (Windows) and I got stuck on building a SPARC tool set<br>
<span class="gmail-">> using Ubuntu in Virtual Box. To build a SPARC tool set, I use the command as below.<br>
> <br>
> ../source-builder/sb-set-<wbr>builder --log=1-sparc.txt<br>
> --prefix=$HOME/development/<wbr>rtems config/5/rtems-sparc64.bset<br>
> <br>
> Is there anything wrong in it? After I input this command, it kept building for<br>
</span>> an hour but finally returned "Build FAILED", errors returned as follows.<br>
<span class="gmail-">> <br>
> error: building sparc-rtems5-gdb-8.0.1-x86_64-<wbr>linux-gnu-1<br>
> <br>
> I also attached l-sparc.txt which is used to build a SPARC tool set, I would<br>
</span>> appreciate that if you can do me a favor to check it.<br>
> <br>
<br>
I assume this is in a VM because it is Windows. Is that true? Are you sharing<br>
disk space with the Windows host in the VM? This can sometime do weird things<br>
when building the tools.<br></blockquote><div><br></div><div>I don't see the attached file but my recollection is that you need development</div><div>packages for Python, ncurses, and libz. Did you follow the instructions here?</div><div><br></div><div><a href="https://ftp.rtems.org/pub/rtems/people/chrisj/doc-online/4.11/rsb/hosts.html#xubuntu">https://ftp.rtems.org/pub/rtems/people/chrisj/doc-online/4.11/rsb/hosts.html#xubuntu</a><br></div><div><br></div><div>I recall there is a slight variation on those commands for Ubuntu 17 but I</div><div>don't have notes on it. It would be good to get the doc updated for that.</div><div><br></div><div>And I see you building rtems-sparc64. You probably really mean to build rtems-sparc.</div><div>That's the target with the simulator in gdb. sparc64 is for higher end SPARC systems</div><div>and the BSPs tend to be for Sun hardwre. I don't think anyone has ever gotten a </div><div>free simulator to work with sparc64.</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">
<span class="gmail-HOEnZb"><font color="#888888"><br>
Chris<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5">______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>