From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by sourceware.org (Postfix) with ESMTPS id CCC04385F033 for ; Fri, 6 Aug 2021 07:50:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CCC04385F033 Received: by mail-il1-x136.google.com with SMTP id a14so7928406ila.1 for ; Fri, 06 Aug 2021 00:50:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QOR2CdJWZ14k2AtF6pyfjX5BSm43Lpq9UQ2h8zKkHuI=; b=D3CZW2Qb9yFoi8+lNah87MYPMv2FfJEPFo9D7ZMnRM6/D4zoQAFMA6r7ckRfwVoKUF KIqOOfJSAaijFXbJmwLZZ9qYeLVrPY+NMhr3G2DYqWW9LiBkFOyo165Z5JTW7/DFro9e 9cS0DmmwbOfVYiRKd3ou6vCAoudPqVV4VSD36ZhRiT+UJL77WgPUXRSl9mDrBztkWDDT gMolor6txVJVsgw95TtzV1Ih+SylHinxIySptV6GgFemaUCQoXAbb2hjdRPYhkGY6EEp iZ2G2a6YaKnf4r8MkroUv4uUnReoTxoYmjqinGuurAZbB4kLVosXpG+dBuT8SwI7upUv nQYw== X-Gm-Message-State: AOAM531hE4a/CzdaEtUI5DZ59vJXk6PJQDKsGbbFj5kvimzTAFn9PqoZ SNMXDE0NCDgDtR5unKRkwk3bDBGxgdi92abzLvQ= X-Google-Smtp-Source: ABdhPJzab7R/awlakmLK9uQXmYRa860ta5r822TUBeRMQkLV1qYXX6X/F9s4CxDemBYiYMCoI34fJ8gD/BCP1HfEIQQ= X-Received: by 2002:a05:6e02:1543:: with SMTP id j3mr762528ilu.308.1628236217243; Fri, 06 Aug 2021 00:50:17 -0700 (PDT) MIME-Version: 1.0 References: <20210723093911.81759-1-sebastian.huber@embedded-brains.de> <501a8c1b-d5ae-e274-f8f9-6f6ceec4d20c@embedded-brains.de> In-Reply-To: <501a8c1b-d5ae-e274-f8f9-6f6ceec4d20c@embedded-brains.de> From: Christophe Lyon Date: Fri, 6 Aug 2021 09:50:06 +0200 Message-ID: Subject: Re: [PATCH v3] gcov: Add __gcov_info_to_gdca() To: Sebastian Huber Cc: =?UTF-8?Q?Martin_Li=C5=A1ka?= , GCC Patches X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2021 07:50:20 -0000 On Fri, Aug 6, 2021 at 7:31 AM Sebastian Huber < sebastian.huber@embedded-brains.de> wrote: > On 05/08/2021 14:53, Martin Li=C5=A1ka wrote: > > On 7/23/21 11:39 AM, Sebastian Huber wrote: > >> Add __gcov_info_to_gcda() to libgcov to get the gcda data for a gcda > >> info in a > >> freestanding environment. It is intended to be used with the > >> -fprofile-info-section option. A crude test program which doesn't use > >> a linker > >> script is (use "gcc -coverage -fprofile-info-section -lgcc test.c" to > >> compile > >> it): > > > > The patch can be installed once the following nits are fixed: > > Thanks for the review, I checked it in like this: > > > https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3D9124bbe1857f0d3a3015d= 6461d5f8d04f07cab85 > > I hope the format is now all right. > > Hi, Looks like there's a problem with your patch: /tmp/1784442_7.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/= gcc1/./gcc/xgcc -B/tmp/1784442_7.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi= /gcc1/./gcc/ -B/tmp/1784442_7.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/arm-none-ea= bi/bin/ -B/tmp/1784442_7.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/arm-none-ea= bi/lib/ -isystem /tmp/1784442_7.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/arm-none-eabi= /include -isystem /tmp/1784442_7.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/arm-none-eabi= /sys-include -g -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fno-inline -I. -I. -I../.././gcc -I/tmp/1784442_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libgcc -I/tmp/1784442_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libgcc/. -I/tmp/1784442_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libgcc/../gcc -I/tmp/1784442_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libgcc/../includ= e -o _gcov.o -MT _gcov.o -MD -MP -MF _gcov.dep -DL_gcov -c /tmp/1784442_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libgcc/libgcov-dri= ver.c In file included from /tmp/1784442_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libgcc/libgcov-dri= ver.c:29: /tmp/1784442_7.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/g= cc1/gcc/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory 9 | # include_next | ^~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:928: _gcov.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Can you check? Thanks, Christophe --=20 > embedded brains GmbH > Herr Sebastian HUBER > Dornierstr. 4 > 82178 Puchheim > Germany > email: sebastian.huber@embedded-brains.de > phone: +49-89-18 94 741 - 16 > fax: +49-89-18 94 741 - 08 > > Registergericht: Amtsgericht M=C3=BCnchen > Registernummer: HRB 157899 > Vertretungsberechtigte Gesch=C3=A4ftsf=C3=BChrer: Peter Rasmussen, Thomas= D=C3=B6rfler > Unsere Datenschutzerkl=C3=A4rung finden Sie hier: > https://embedded-brains.de/datenschutzerklaerung/ >