<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 20, 2019, 6:58 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 20/09/2019 12:54, Chris Johns wrote:<br>
>> On 20 Sep 2019, at 5:38 pm, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank" rel="noreferrer">sebastian.huber@embedded-brains.de</a>> wrote:<br>
>> I get the following build error on powerpc with the libbsd:<br>
> <br>
> Is this with master?<br>
<br>
No, the 5-freebsd-12 branch.<br>
<br>
> <br>
>> /scratch/git-rtems-libbsd (5-freebsd-12) > ./waf -j 1<br>
>> Waf: Entering directory `/scratch/git-rtems-libbsd/build/powerpc-rtems5-qoriq_e500-default'<br>
>> [1794/1909] Linking build/powerpc-rtems5-qoriq_e500-default/debugger01.exe<br>
>> /build/rtems/5/lib/gcc/powerpc-rtems5/7.4.1/../../../../powerpc-rtems5/bin/ld: cannot find -ldebugger<br>
>> collect2: error: ld returned 1 exit status<br>
> <br>
> The library has been built?<br>
<br>
No:<br>
<br>
# Filter debugger to only build for architectures that have a target backend<br>
AC_MSG_CHECKING([whether CPU supports libdebugger])<br>
case $RTEMS_CPU in<br>
arm | i386)<br>
HAVE_LIBDEBUGGER=yes ;;<br>
*)<br>
HAVE_LIBDEBUGGER=no ;;<br>
esac<br>
AM_CONDITIONAL(LIBDEBUGGER,[test x"$HAVE_LIBDEBUGGER" = x"yes"])<br>
AC_MSG_RESULT([$HAVE_LIBDEBUGGER])<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">If this test is only exercising the debugger library, then it needs to be disabled when the library is not present.</div><div dir="auto"><br></div><div dir="auto">Of course, having PowerPC libdebugger support is preferable. :)</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank" rel="noreferrer">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div></div>