libbsd master broken for pc686 BSP

Karel Gardas karel.gardas at centrum.cz
Fri Sep 18 20:00:52 UTC 2020


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


More information about the devel mailing list