From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Sergei Trofimovich Newsgroups: gmane.lisp.guile.bugs Subject: bug#25803: ./configure CFLAGS=-ggdb3 fails 'guile-snarf' Date: Sun, 19 Feb 2017 22:36:39 +0000 Message-ID: <20170219223639.61a78924@sf> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_//V0_kNT++wqrkMiBzU5BxS="; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1487543891 31181 195.159.176.226 (19 Feb 2017 22:38:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2017 22:38:11 +0000 (UTC) To: 25803@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Feb 19 23:38:07 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfa7L-0007lV-3M for guile-bugs@m.gmane.org; Sun, 19 Feb 2017 23:38:07 +0100 Original-Received: from localhost ([::1]:35280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfa7Q-0002if-UU for guile-bugs@m.gmane.org; Sun, 19 Feb 2017 17:38:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfa7L-0002iU-5N for bug-guile@gnu.org; Sun, 19 Feb 2017 17:38:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfa7G-0006dZ-8c for bug-guile@gnu.org; Sun, 19 Feb 2017 17:38:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfa7G-0006d7-5W for bug-guile@gnu.org; Sun, 19 Feb 2017 17:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cfa7F-0003rX-S4 for bug-guile@gnu.org; Sun, 19 Feb 2017 17:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sergei Trofimovich Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 19 Feb 2017 22:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25803 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148754382214777 (code B ref -1); Sun, 19 Feb 2017 22:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Feb 2017 22:37:02 +0000 Original-Received: from localhost ([127.0.0.1]:46586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfa6I-0003qH-Lt for submit@debbugs.gnu.org; Sun, 19 Feb 2017 17:37:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfa6G-0003pn-B1 for submit@debbugs.gnu.org; Sun, 19 Feb 2017 17:37:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfa6A-0005gf-1r for submit@debbugs.gnu.org; Sun, 19 Feb 2017 17:36:55 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfa69-0005gV-VS for submit@debbugs.gnu.org; Sun, 19 Feb 2017 17:36:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfa68-0002Zt-QK for bug-guile@gnu.org; Sun, 19 Feb 2017 17:36:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfa63-0005b0-RN for bug-guile@gnu.org; Sun, 19 Feb 2017 17:36:52 -0500 Original-Received: from smtp2.mail.ru ([94.100.179.91]:35440) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfa63-0005ZG-EM for bug-guile@gnu.org; Sun, 19 Feb 2017 17:36:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=NcfQcobfisUverchPKk7N9FWkZI8ZqPDxDNh5mPii+U=; b=W3Os00cZGdJbhrl4LTyVwbYwltQploM/evVgiMHwIQRJJjC2iZJvIp6ghfAQhXRx07LT6hiD1g1/MINDfnwAJT4KuYSfF7vrujAPZVgSY+jEUjvrcRt9jEJBARot0+bsNHNYvAtPb3Qus6Q4YWpfQHysAH/akpjv8dAy31WOd0c=; Original-Received: from host86-186-94-114.range86-186.btcentralplus.com ([86.186.94.114]:43284 helo=sf) by smtp2.mail.ru with esmtpa (envelope-from ) id 1cfa60-00080S-R1 for bug-guile@gnu.org; Mon, 20 Feb 2017 01:36:45 +0300 X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Authentication-Results: smtp2.mail.ru; auth=pass smtp.auth=slyfox@inbox.ru smtp.mailfrom=slyfox@inbox.ru X-E1FCDC63: 99D20A849714F33DF1C56E1EC8C3BA7AADAB024B4846C063 X-E1FCDC64: 050AAB0F105E0D533101E7098431FC886F51598FB3A070B8BBFD383A8D611708 X-Mailru-Sender: 47F1D982AB0D37D1D3C1A800599C491EFF7CF61F7ACDBF85984F40963CA419F05E2818E960BBF402B95C1B4C9AB71624C77752E0C033A69EDBCA959C405D6A558CE6C041AAA78D0F3CDA0F3B3F5B9367 X-Mras: OK X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8554 Archived-At: --Sig_//V0_kNT++wqrkMiBzU5BxS= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable It popped out as a https://bugs.gentoo.org/show_bug.cgi?id=3D608190 where one of packages failed to build with CFLAGS=3D-ggdb3 was guile-2.0.13 guile git master is also affected: $ ./configure CFLAGS=3D-ggdb3 $ make make[1]: Entering directory '/home/slyfox/dev/git/guile/libguile' CC libguile_2.2_la-alist.lo In file included from alist.c:398:0: ../libguile/alist.x: In function 'scm_init_alist': ../libguile/alist.x:2:2537: error: conflicting types for 'scm_i_foreign= _call' The problem here is in gcc -ggdb3 which leaves too much of unrelated input. guile-snarf does not understand how to drop it: guile/libguile $ guile-snarf alist.c -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=3D= 1 -I.. -I.. -I../lib -I../lib -I/usr/lib64/libffi-3.2.1/include -I/home/sly= fox/dev/git/guile -ggdb2 | wc -c 1389 guile/libguile $ guile-snarf alist.c -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=3D= 1 -I.. -I.. -I../lib -I../lib -I/usr/lib64/libffi-3.2.1/include -I/home/sly= fox/dev/git/guile -ggdb3 | wc -c 230085 Fails on both gcc-5.4.0 / gcc-6.3.0 --=20 Sergei --Sig_//V0_kNT++wqrkMiBzU5BxS= Content-Type: application/pgp-signature Content-Description: Цифровая подпись OpenPGP -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAliqHfcACgkQcaHudmEf86oOZQCfd844Q1Cr8pisW0EDlxDhutB/ dN4AnjWhLPx5DZc4oEz0U5WsUk9vt4sX =Ju3x -----END PGP SIGNATURE----- --Sig_//V0_kNT++wqrkMiBzU5BxS=--