On 28/02/2020 04:40, Alan Cudmore wrote:
Hi Lou, Did you ever solve this problem? I just tried linking an out of tree program for the beaglebone black BSP and have the same undefined symbols. The testsuite links correctly and the symbols are in the testsuite binaries, but not in libbsd.a
For libbsd it is required that you link with the section garbage collection enabled: -Wl,--gc-sections
This is how the tests are linked. If you omit the -Wl,--gc-sections in your application you do something which is not tested.
-- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel