[Bug 1937844] [NEW] arm-linux-gnueabi-gcc pgo build fails

2021-07-23 Thread Fabio Gobbato
Public bug reported: These are the errors made by the compiler. /usr/lib/gcc-cross/arm-linux-gnueabi/9/../../../../arm-linux-gnueabi/bin/ld: /tmp/Prova_linuxarmv7.IKA0IY.ltrans0.ltrans.o: in function `Func1.constprop.0': :(.text+0xfdc): undefined reference to `__gcov_one_value_profiler_atomic'

[Bug 1920988] [NEW] gcc mingw gives errors when compiling with profiler guided optimizations

2021-03-23 Thread Fabio Gobbato
Public bug reported: When I compile a program with gcc mingw with -fprofile-generate -lgcov I get the following errors: /usr/bin/x86_64-w64-mingw32-ld: /tmp/test.exe.OUuwZB.ltrans0.ltrans.o::(.text+0x7f2): undefined reference to `__gcov_one_value_profiler_atomic' /usr/bin/x86_64-w64-mingw32-ld