<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hello Christian,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 7, 2020 at 1:45 AM Christian Mauderer <<a href="mailto:oss@c-mauderer.de">oss@c-mauderer.de</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">Hello Niteesh,<br>
<br>
I think there are multiple problems:<br>
<br>
1. libbsd isn't adapted yet. There is a "rtems_version" in the wscript<br>
that you have to set to 6.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">I was already aware of this. So while configuring rtems-libbsd I added</div><div class="gmail_default" style="font-size:small">--rtems-version=6.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Below is the command I used for configuring RTEMS-libBSD.</div><div class="gmail_default" style="font-size:small">./waf configure --prefix=$RTEMS/6 --rtems-version=6 --rtems-bsps=arm/beagleboneblack --<br>buildset=buildset/minimal.ini <br></div><br></div><div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small">Niteesh.</div><br></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">
2. At least for me: There are some files not installed but should be<br>
there. To be exact: `$PREFIX/share/rtems6`. The files in this folder<br>
should be installed if INSTALL_LEGACY_MAKEFILES is set to True in the<br>
config.ini that is used for the new build system. But at least for my<br>
prefix something went wrong. I'll have to try to start with a clean<br>
build again tomorrow to see whether I maybe broke something. My prefix<br>
isn't in the best shape after trying multiple branches and installs.<br>
<br>
Best regards<br>
<br>
Christian<br>
<br>
On 06/07/2020 20:09, Niteesh G. S. wrote:<br>
> Hello all,<br>
> <br>
> This thread has lost activity for quite some time.<br>
> Can someone please provide a solution to this. This is blocking me from<br>
> testing my patches with libbsd.<br>
> <br>
> Thanks,<br>
> Niteesh.<br>
> <br>
> On Tue, Jun 30, 2020 at 1:12 AM Christian Mauderer <<a href="mailto:oss@c-mauderer.de" target="_blank">oss@c-mauderer.de</a><br>
> <mailto:<a href="mailto:oss@c-mauderer.de" target="_blank">oss@c-mauderer.de</a>>> wrote:<br>
> <br>
> Hello,<br>
> <br>
> On 29/06/2020 21:39, Niteesh G. S. wrote:<br>
> > Hello,<br>
> ><br>
> > I tried compiling RTEMS-libBSD with RTEMS6 toolchain and the new build<br>
> > system<br>
> > but failed. I get errors when compiling RTEMS-libBSD<br>
> ><br>
> > The new build system is pulled from Sebastian's branch<br>
> > HEAD: e4c193ddc163d6adb1b003254af9cc6b5d174a6f<br>
> ><br>
> > RTEMS was configured with the following options:<br>
> > 1) ./waf bsp_defaults --rtems-bsps=arm/beagleboneblack > config.ini<br>
> > 2) Enabled posix since libBSD complained about it during<br>
> configuration.<br>
> > 3) ./waf configure --prefix=$HOME/development/rtems/6<br>
> > 4) ./waf -j32<br>
> > 5) ./waf install<br>
> ><br>
> > RTEMS-libBSD was configured with the following options:<br>
> > 1) ./waf configure --prefix=$HOME/development/rtems/6<br>
> > --rtems-bsps=arm/beagleboneblack --buildset=buildset/minimal.ini<br>
> > --rtems-version=6<br>
> > 2) ./waf -j16<br>
> > I have attached the error log file. <br>
> ><br>
> > Thanks,<br>
> > Niteesh<br>
> ><br>
> ><br>
> <br>
> I assume that for some reason the linker flags are not set correctly. It<br>
> seems that -ffunction-sections -fdata-sections isn't set. Sebastian: Is<br>
> there some adaption to libbsd necessary to work with the new build<br>
> system in RTEMS?<br>
> <br>
> Best regards<br>
> <br>
> Christian<br>
> <br>
> <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>
</blockquote></div></div>