libbsd build problem on powerpc

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 20 10:58:43 UTC 2019


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])

-- 
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.



More information about the devel mailing list