From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 279393858D35 for ; Fri, 16 Jun 2023 12:51:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 279393858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 5973B22052; Fri, 16 Jun 2023 12:51:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1686919885; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YSMHBT+/nHwEU+cI530NENiliBZI1zVJqbaclyCz/i0=; b=cC7F5eCO5ofZbnF79Siv31vgnocMZvLJPoNKVaJ0NLk1I5CumcbY57v3F6KBj/g3yM04yY zMoZPoVzgtgfTIo7oueB3MXUSAC404j3rltXp2ruRSyz3FUqohgV07kOk64OfOibPj1J+Z OV6tMd2Fm7uzgW1y9tp/WCRGYIrFtng= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1686919885; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YSMHBT+/nHwEU+cI530NENiliBZI1zVJqbaclyCz/i0=; b=Q162d3MmCA2pCdrKF+RCZOVSmqs3QQWMFrsDKktPC88XVjhVJ1Ejs0tfYQqXyoKHA5U82p ZY8Y7ynuGSVkATCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4D1361330B; Fri, 16 Jun 2023 12:51:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Jj/NEs1ajGSyNAAAMHmgww (envelope-from ); Fri, 16 Jun 2023 12:51:25 +0000 From: Martin Jambor To: GCC Mailing List Cc: Roger Sayle Subject: Issue generating GCC coverage report since r14-1625-geba3565ce6d766 User-Agent: Notmuch/0.37 (https://notmuchmail.org) Emacs/28.2 (x86_64-suse-linux-gnu) Date: Fri, 16 Jun 2023 14:51:24 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello, we try to build coverage info for GCC for our testsuite and upload it to https://gcc.opensuse.org/gcc-lcov/ every weekend. But since patch r14-1625-geba3565ce6d766 (Add support for stc and cmc instructions in i386.md) the generation broke down. However, I don't think there is something necessarily wrong with that particular commit, at least I don't see anything suspicious. I inherited the generating script from Martin Li=C5=A1ka and have not really looked much into it much, but it simply does the following after a fresh GCC master checkout (I added the --disable-multilib and reduced the number of languages to reproduce this more quickly): ../src/configure --prefix=3D/home/mjambor/gcc/mine/inst --enable-language= s=3Dc,c++ --disable-bootstrap --enable-host-shared --enable-coverage=3Dopt = --disable-multilib make -j64 && make -j64 -k check find gcc/testsuite/ -name '*.gcda' -exec rm -rvf {} \; # I don't know wh= y the script does this lcov -d . --capture --output-file gcc.info and this last step, since the commit, when processing file ./gcc/insn-attrtab.gcda fails with error: geninfo: ERROR: mismatched end line for _Z12get_attr_isaP8rtx_insn at /ho= me/mjambor/gcc/mine/src/gcc/config/i386/i386.md:5776: 5776 -> 8963 (use "geninfo --ignore-errors mismatch ..." to bypass this error) I tried looking briefly into the perl sources of lcov and geninfo but I am afraid I don't have the necessary knowledge of the language and the tool or the time to properly debug this. So I am inclined to simply add --ignore-errors mismatch to lcov options, which avoids the issue, and be done with it. Nevertheless, I thought I'd mention this here in case anyone here has any ideas what can be going wrong. Thanks, Martin