libbsd build problem on powerpc

Joel Sherrill joel at rtems.org
Fri Sep 20 16:31:45 UTC 2019


On Fri, Sep 20, 2019, 6:58 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 20/09/2019 12:54, Chris Johns wrote:
> >> On 20 Sep 2019, at 5:38 pm, Sebastian Huber <
> sebastian.huber at embedded-brains.de> wrote:
> >> I get the following build error on powerpc with the libbsd:
> >
> > Is this with master?
>
> No, the 5-freebsd-12 branch.
>
> >
> >> /scratch/git-rtems-libbsd (5-freebsd-12) > ./waf -j 1
> >> Waf: Entering directory
> `/scratch/git-rtems-libbsd/build/powerpc-rtems5-qoriq_e500-default'
> >> [1794/1909] Linking
> build/powerpc-rtems5-qoriq_e500-default/debugger01.exe
> >>
> /build/rtems/5/lib/gcc/powerpc-rtems5/7.4.1/../../../../powerpc-rtems5/bin/ld:
> cannot find -ldebugger
> >> collect2: error: ld returned 1 exit status
> >
> > The library has been built?
>
> No:
>
> # Filter debugger to only build for architectures that have a target
> backend
> AC_MSG_CHECKING([whether CPU supports libdebugger])
> case $RTEMS_CPU in
>    arm | i386)
>     HAVE_LIBDEBUGGER=yes ;;
>    *)
>     HAVE_LIBDEBUGGER=no ;;
> esac
> AM_CONDITIONAL(LIBDEBUGGER,[test x"$HAVE_LIBDEBUGGER" = x"yes"])
> AC_MSG_RESULT([$HAVE_LIBDEBUGGER])
>

If this test is only exercising the debugger library, then it needs to be
disabled when the library is not present.

Of course, having PowerPC libdebugger support is preferable. :)

>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190920/e2588aa9/attachment-0002.html>


More information about the devel mailing list