libbsd master broken for pc686 BSP
Joel Sherrill
joel at rtems.org
Fri Sep 18 22:15:55 UTC 2020
If you really meant the master, try 6-freebsd12 instead.
Branch names are complicated in libbsd because they need to reflect RTEMS
and FreeBSD version.
I'm not really sure how to make this any less confusing. :(
--joel
On Fri, Sep 18, 2020 at 3:01 PM Karel Gardas <karel.gardas at centrum.cz>
wrote:
>
> Hello,
>
> I've just tried to build libbsd master branch against the pc686 BSP
> build from rtems master and this still does not fly and fails with:
>
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
> ./libbsd.a(uipc_mbuf.c.25.o): in function `m_unmappedtouio':
>
> /export/home/karel/git/rtems/rtems-libbsd/build/i386-rtems6-pc686-everything/../../freebsd/sys/kern/uipc_mbuf.c:1813:
> undefined reference to `PHYS_TO_VM_PAGE'
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
>
> /export/home/karel/git/rtems/rtems-libbsd/build/i386-rtems6-pc686-everything/../../freebsd/sys/kern/uipc_mbuf.c:1814:
> undefined reference to `uiomove_fromphys'
> collect2: error: ld returned 1 exit status
>
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
> ./libbsd.a(uipc_mbuf.c.25.o): in function `m_unmappedtouio':
>
> /export/home/karel/git/rtems/rtems-libbsd/build/i386-rtems6-pc686-everything/../../freebsd/sys/kern/uipc_mbuf.c:1813:
> undefined reference to `PHYS_TO_VM_PAGE'
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
>
> /export/home/karel/git/rtems/rtems-libbsd/build/i386-rtems6-pc686-everything/../../freebsd/sys/kern/uipc_mbuf.c:1814:
> undefined reference to `uiomove_fromphys'
> collect2: error: ld returned 1 exit status
>
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
>
> testsuite/arphole/test_main.c.54.o:/export/home/karel/git/rtems/rtems-libbsd/build/i386-rtems6-pc686-everything/../../rtemsbsd/include/bsp/nexus-devices.h:165:
> undefined reference to `_bsd_lem_pcimodule_sys_init'
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
> ./libbsd.a(uipc_mbuf.c.25.o): in function `m_unmappedtouio':
>
> /export/home/karel/git/rtems/rtems-libbsd/build/i386-rtems6-pc686-everything/../../freebsd/sys/kern/uipc_mbuf.c:1813:
> undefined reference to `PHYS_TO_VM_PAGE'
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
>
> /export/home/karel/git/rtems/rtems-libbsd/build/i386-rtems6-pc686-everything/../../freebsd/sys/kern/uipc_mbuf.c:1814:
> undefined reference to `uiomove_fromphys'
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
> ./libbsd.a(iflib.c.25.o): in function `iflib_pseudo_register':
>
> /export/home/karel/git/rtems/rtems-libbsd/build/i386-rtems6-pc686-everything/../../freebsd/sys/net/iflib.c:4857:
> undefined reference to `IFDI_CLONEATTACH'
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
>
> /export/home/karel/git/rtems/rtems-libbsd/build/i386-rtems6-pc686-everything/../../freebsd/sys/net/iflib.c:4983:
> undefined reference to `IFDI_RX_CLSET'
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
> ./libbsd.a(iflib.c.25.o):(.rodata+0x190): undefined reference to
> `noop_attach'
>
> /export/home/karel/sfw/rtems/6-tools-core2/lib/gcc/i386-rtems6/10.2.1/../../../../i386-rtems6/bin/ld:
> ./libbsd.a(iflib.c.25.o):(.rodata+0x198): undefined reference to
> `iflib_pseudo_detach'
> collect2: error: ld returned 1 exit status
>
>
> Any help or fix for this highly appreciated!
>
> Thanks,
> Karel
> _______________________________________________
> 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/20200918/84739d2c/attachment-0001.html>
More information about the devel
mailing list