Re: [PATCH] libnotmuch: only build symbols list after the modules are built
authorDavid Bremner <david@tethera.net>
Wed, 20 Jul 2011 17:07:24 +0000 (14:07 +2100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:10 +0000 (09:39 -0800)
c3/5f413f13b2db86376dd57be217574325e07610 [new file with mode: 0644]

diff --git a/c3/5f413f13b2db86376dd57be217574325e07610 b/c3/5f413f13b2db86376dd57be217574325e07610
new file mode 100644 (file)
index 0000000..b6b3dbb
--- /dev/null
@@ -0,0 +1,70 @@
+Return-Path: <bremner@unb.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1B29E431FD0\r
+       for <notmuch@notmuchmail.org>; Wed, 20 Jul 2011 10:07:28 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id EFce6konoSQd for <notmuch@notmuchmail.org>;\r
+       Wed, 20 Jul 2011 10:07:26 -0700 (PDT)\r
+Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 46B95431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 20 Jul 2011 10:07:26 -0700 (PDT)\r
+Received: from convex-new.cs.unb.ca ([131.202.13.41])\r
+       by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p6KH7Oer006782;\r
+       Wed, 20 Jul 2011 14:07:24 -0300\r
+Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72)\r
+       (envelope-from <bremner@unb.ca>)\r
+       id 1QjaF2-0004Zj-Hk; Wed, 20 Jul 2011 14:07:24 -0300\r
+From: David Bremner <david@tethera.net>\r
+To: Thomas Jost <schnouki@schnouki.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] libnotmuch: only build symbols list after the modules are\r
+       built\r
+In-Reply-To: <1311165498-12519-1-git-send-email-schnouki@schnouki.net>\r
+References: <1311165498-12519-1-git-send-email-schnouki@schnouki.net>\r
+User-Agent: Notmuch/0.6db1 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 20 Jul 2011 14:07:24 -0300\r
+Message-ID: <87aac8ev8z.fsf@convex-new.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 20 Jul 2011 17:07:28 -0000\r
+\r
+On Wed, 20 Jul 2011 14:38:18 +0200, Thomas Jost <schnouki@schnouki.net> wrote:\r
+> If the notmuch.sym target does not explicitly depend on $(libnotmuch_modules),\r
+> gen-version-script.sh may be run before all the .o files are created. This can\r
+> be observed when doing a parallel build on a machine with many cores:\r
+>   $ make -j\r
+>   ...\r
+>   sh lib/gen-version-script.sh lib/notmuch.h lib/filenames.o lib/string-list.o\r
+>   lib/libsha1.o lib/message-file.o lib/messages.o lib/sha1.o lib/tags.o\r
+>   lib/xutil.o lib/database.o lib/directory.o lib/index.o lib/message.o\r
+\r
+Hi Thomas;\r
+\r
+Your patch looks sensible.  If you could shorten up the commit message a\r
+bit, probably by putting the make output after '---' and adjusting the\r
+rest of the text, I'll be happy to push it.\r
+\r
+d\r