gcov on RTEMS

Lubomir Velkov lvelkov at criticalsoftware.com
Thu Aug 28 17:26:06 UTC 2003

I have been trying to run gcov on RTEMS, but I get the following error:

undefined reference to `__bb_init_func'
collect2: ld returned 1 exit status

The implementation of `__bb_init_func' is supposed to be part of the C runtime 
library, but it is not provided by the RTEMS gcc compiler. 

Can anyone help me with this one? Is gcov supported by RTEMS 4.5.0? Is there 
an alternative mechanism for obtaining test coverage data?



More information about the users mailing list