Libbsd Undefined References When Running FACE Conformance Tests

Joel Sherrill joel at rtems.org
Mon Mar 30 15:18:45 UTC 2020


On Mon, Mar 30, 2020 at 9:42 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 30/03/2020 16:37, Joel Sherrill wrote:
>
> > + What's the relationship between the master and 5-freebsd-12?
>> https://github.com/RTEMS/rtems-libbsd#branches
>
>
> That doesn't answer whether the master simply tracks FreeBSD or whether
> it includes the RTEMS modifications.
>
> Hm, to me it is obvious that all branches contain RTEMS modifications.
>
> If the latter, it is current broken.
>
> Did you try it with the linker garbage collection enabled?
>

Not yet but shouldn't all code resolve?

This distinctly looks like code which hasn't been touched to address some
VM adaption.

/home/mayes/dev/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
/home/mayes/rtems-arm/arm-rtems5/xilinx_zynq_a9_qemu/lib/libbsd.a(uipc_mbuf.c.1
8.o): in function `m_unmappedtouio':
/home/mayes/dev/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../..
/freebsd/sys/kern/uipc_mbuf.c:1813: undefined reference to `PHYS_TO_VM_PAGE'
/home/mayes/dev/rtems/5/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
/home/mayes/dev/rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/../..
/freebsd/sys/kern/uipc_mbuf.c:1814: undefined reference to
`uiomove_fromphys'
collect2: error: ld returned 1 exit status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200330/a34e551d/attachment.html>


More information about the devel mailing list