Link issue on xilinx_zynq_a9_qemu BSP on rtems-libbsd head

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Feb 28 06:25:47 UTC 2020


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.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list