RE: libbsd fails to build on master for i386

2020-06-03 Thread Jan.Sommer
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-boun...@rtems.org] On Behalf Of Jeff Mayes
Sent: Wednesday, June 3, 2020 7:16 PM
To: 'devel@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)

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

libbsd fails to build on master for i386

2020-06-03 Thread Jeff Mayes
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)

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel