Re: [PATCH] libnotmuch: build symbols list without relying on gcc -aux-info.
[notmuch-archives.git] / 8a / 7b02d2b67c05cb626b6cf092ef33494dfc1188
1 Return-Path: <cworth@cworth.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id AECF3429E2A\r
6         for <notmuch@notmuchmail.org>; Tue, 28 Jun 2011 12:04:41 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id qhLG6mEbl7iS for <notmuch@notmuchmail.org>;\r
16         Tue, 28 Jun 2011 12:04:41 -0700 (PDT)\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
18         by olra.theworths.org (Postfix) with ESMTP id 48AB2429E25\r
19         for <notmuch@notmuchmail.org>; Tue, 28 Jun 2011 12:04:41 -0700 (PDT)\r
20 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
21         by arlo.cworth.org (Postfix) with ESMTP id 0D43529A645;\r
22         Tue, 28 Jun 2011 12:04:40 -0700 (PDT)\r
23 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
24         id EFB2D254157; Tue, 28 Jun 2011 12:04:39 -0700 (PDT)\r
25 From: Carl Worth <cworth@cworth.org>\r
26 To: david@tethera.net, notmuch@notmuchmail.org\r
27 Subject: Re: [PATCH] libnotmuch: build symbols list without relying on gcc\r
28         -aux-info.\r
29 In-Reply-To: <1309142545-30590-1-git-send-email-david@tethera.net>\r
30 References: <1309136932-21910-1-git-send-email-david@tethera.net>\r
31         <1309142545-30590-1-git-send-email-david@tethera.net>\r
32 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
33         (i486-pc-linux-gnu)\r
34 Date: Tue, 28 Jun 2011 12:04:39 -0700\r
35 Message-ID: <87iprpaibc.fsf@yoom.home.cworth.org>\r
36 MIME-Version: 1.0\r
37 Content-Type: multipart/signed; boundary="=-=-=";\r
38         micalg=pgp-sha1; protocol="application/pgp-signature"\r
39 Cc: David Bremner <bremner@debian.org>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Tue, 28 Jun 2011 19:04:41 -0000\r
53 \r
54 --=-=-=\r
55 Content-Transfer-Encoding: quoted-printable\r
56 \r
57 On Sun, 26 Jun 2011 23:42:25 -0300, david@tethera.net wrote:\r
58 >  Here is another way of doing this, probably better unless you are\r
59 >  very attached to the idea of declaring the API in the header file.\r
60 \r
61 Thanks for both of these, David. I've gone ahead and pushed the first,\r
62 (generating the symbol list with sed and notmuch.h).\r
63 \r
64 I assume by "better" you mean that this one is less fragile to issues\r
65 like the precise formatting of our notmuch.h header file.\r
66 \r
67 Meanwhile, though, our API *is* declared in the header file, (that's\r
68 what the header file exists for), so I do prefer to base our symbol list\r
69 on it.\r
70 \r
71 In fact, the ideal would probably be to take the objdump method and use\r
72 it in the test suite to verify that its output matches the contents of\r
73 notmuch.sym generated from the header file.\r
74 \r
75 =2DCarl\r
76 \r
77 =2D-=20\r
78 carl.d.worth@intel.com\r
79 \r
80 --=-=-=\r
81 Content-Type: application/pgp-signature\r
82 \r
83 -----BEGIN PGP SIGNATURE-----\r
84 Version: GnuPG v1.4.11 (GNU/Linux)\r
85 \r
86 iEYEARECAAYFAk4KJccACgkQ6JDdNq8qSWj9VACeOrid/VBQFWvddKdQlanl9gJu\r
87 diMAniq7HHpsKcw5Ps1HtEx4Av+7n7sO\r
88 =5ZVz\r
89 -----END PGP SIGNATURE-----\r
90 --=-=-=--\r