Closed kevr closed 3 years ago
Hi @kevr
This is a legacy fork of the upstream GCC repository, which hasn't been touched for many years. You should be getting your AVR source code from upstream GCC.
Thanks for drawing our attention to this however. We shall delete this repository in the near future.
Hello. Thanks a lot for porting GCC over to AVR 8-bit! Mostly everything's been fine for me, with the exception of
avr-gcov
/libgcov.a
. When linking compiled object files into a final AVR 8-bit binary with sources using gcov flags, I get errors aboutundefined reference to '__gcov_exit'
.What's the exact state on
gcov
in this fork? I'd like to instrument coverage collection over gdb/serial. I haven't had much luck finding documentation about it with the recent version. After searching the repositoriy, I can find no reference of a defined__gcov_exit
symbol, though it seems to have existed in the past.Any help would be greatly appreciated, and I thank you very much for your time regardless!
Below are details about my environment.
Following is a log of my build process, which ends up with a failed link step due to a missing
__gcov_exit
.If there are any other details that may be important, please let me know.