libbsd fails to build on master for i386

Jan.Sommer at dlr.de Jan.Sommer at dlr.de
Wed Jun 3 19:22:16 UTC 2020


Hi Jeff,

yes, this is known, but IIRC the libbsd should build, if you turn off the e1000 module in the buildset.
We prepared the iflib patchset for the FreeBSD branch first, because of the upcoming release.
There is also one in preparation for master, but got delayed since I wanted to finish the SMP patches for RTEMS 5.1 first.

Cheers,

   Jan

From: devel [mailto:devel-bounces at rtems.org] On Behalf Of Jeff Mayes
Sent: Wednesday, June 3, 2020 7:16 PM
To: 'devel at rtems.org'
Subject: libbsd fails to build on master for i386

Hi
On i386, the libbsd build (actually linking) fails on master branch.  FWIW, it succeeds on the FreeBSD branch.  Output below...

Thanks
Jeff

...
...
/home/mayes/dev/rtems/5/lib/gcc/i386-rtems5/7.5.0/../../../../i386-rtems5/bin/ld: ./libbsd.a(if_em.c.18.o):(.rodata.em_methods+0x2c): undefined reference to `iflib_device_suspend'
/home/mayes/dev/rtems/5/lib/gcc/i386-rtems5/7.5.0/../../../../i386-rtems5/bin/ld: ./libbsd.a(if_em.c.18.o):(.rodata.em_methods+0x34): undefined reference to `iflib_device_resume'
/home/mayes/dev/rtems/5/lib/gcc/i386-rtems5/7.5.0/../../../../i386-rtems5/bin/ld: ./libbsd.a(igb_txrx.c.18.o): in function `igb_isc_rxd_pkt_get':
/home/mayes/dev/rtems-libbsd/build/i386-rtems5-pc386-default/../../freebsd/sys/dev/e1000/igb_txrx.c:433: undefined reference to `iflib_get_ifp'
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/home/mayes/dev/rtems-libbsd/build/i386-rtems5-pc386-default'
Build failed
-> task in 'arphole.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'lagg01.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'ping01.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'evdev01.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'pf01.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'pf02.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'dhcpcd02.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'media01.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'dhcpcd01.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'nfs01.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'foobarclient.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'ppp01.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'foobarserver.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'ftpd01.exe' failed with exit status 1 (run with -v to display more information)
-> task in 'rcconf02.exe' failed with exit status 1 (run with -v to display more information)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200603/395c02f6/attachment-0001.html>


More information about the devel mailing list