Re: gcov tool in cross compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 14/07/2021 07:42, Nureddin Kamadan wrote:
Thank you for the reply, I had compiled with both glibc and newlib. Now, I
am going to try to compile on a QEMU machine.

if you build with Newlib, then inhibit_libc is probably defined while building libgcov.a. If inhibit_libc is defined, then most functions of libgcov.a are disabled. There is some work in progress for freestanding environments, see for example:

https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Instrumentation-Options.html#index-fprofile-info-section

https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575122.html

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@xxxxxxxxxxxxxxxxxx
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux