Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable
authorJinwoo Lee <jinwoo68@gmail.com>
Mon, 15 Jun 2015 03:56:57 +0000 (20:56 +1700)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:04 +0000 (14:49 -0700)
7d/44abe04da526fbcc960d91c3887859a68afb8f [new file with mode: 0644]

diff --git a/7d/44abe04da526fbcc960d91c3887859a68afb8f b/7d/44abe04da526fbcc960d91c3887859a68afb8f
new file mode 100644 (file)
index 0000000..5bb292e
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <jinwoo68@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id C9F8D6DE1639\r
+ for <notmuch@notmuchmail.org>; Sun, 14 Jun 2015 20:57:04 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.297\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.297 tagged_above=-999 required=5 tests=[AWL=0.254,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 3uA_wUAxvOMg for <notmuch@notmuchmail.org>;\r
+ Sun, 14 Jun 2015 20:57:02 -0700 (PDT)\r
+Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com\r
+ [209.85.220.51])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 3F6C36DE141E\r
+ for <notmuch@notmuchmail.org>; Sun, 14 Jun 2015 20:57:02 -0700 (PDT)\r
+Received: by pabqy3 with SMTP id qy3so56889266pab.3\r
+ for <notmuch@notmuchmail.org>; Sun, 14 Jun 2015 20:57:01 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+ :mime-version:content-type;\r
+ bh=/Hh4wzXl3lF9nK1/VyVXusM+ailo1I5KltvQTmgRrQ8=;\r
+ b=HRGGQCNQ0pUxxfIHKGd7w1iM0HLVI+V7A4ZbJNuOsYYs3uTL0GzIXYjIHBIC/9xql7\r
+ 4JQ1pxKYsl73U7a5W1ss7yGXP7wczPVa/w8XNsP/ivdeJItQzGayy4IpNAzMWFCKxWZp\r
+ 8RY+paR7o+4SFcLxMXtj0QlGr7iZC5U0HyOtAmQBRWfsI/xKGqmxKiKN9yR/IKRgSSUi\r
+ MlGSvTETyAlpWeMmzcdS4vhz02vRWFkMljDiSAXizuJ0ojUQEmR/CrRKTHvqnO4RgwLZ\r
+ M9947ffnPFS2RfgXwVsJ0Jeje178noUZ0INZxS9hMI5E1jKcnLa2JrnWyAfaZ9pj5olg\r
+ +X4A==\r
+X-Received: by 10.68.244.73 with SMTP id xe9mr44141522pbc.98.1434340621383;\r
+ Sun, 14 Jun 2015 20:57:01 -0700 (PDT)\r
+Received: from localhost (c-24-130-61-213.hsd1.ca.comcast.net.\r
+ [24.130.61.213]) by mx.google.com with ESMTPSA id\r
+ q5sm10527129pde.56.2015.06.14.20.56.58 (version=TLSv1.2\r
+ cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jun 2015 20:56:59\r
+ -0700 (PDT)\r
+From: Jinwoo Lee <jinwoo68@gmail.com>\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable\r
+In-Reply-To: <87oaki3zrh.fsf@maritornes.cs.unb.ca>\r
+References: <1433142542-2307-3-git-send-email-david@tethera.net>\r
+ <1434261524-14139-1-git-send-email-david@tethera.net>\r
+ <yq65a8w2u7yv.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <87r3peye4q.fsf@maritornes.cs.unb.ca>\r
+ <yq657fr6tj64.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <87oaki3zrh.fsf@maritornes.cs.unb.ca>\r
+User-Agent: Notmuch/0.20.1+21~g4e79903 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-apple-darwin14.3.0)\r
+Date: Sun, 14 Jun 2015 20:56:57 -0700\r
+Message-ID: <yq654mm9tyie.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Mon, 15 Jun 2015 03:57:04 -0000\r
+\r
+On Sun, Jun 14, 2015 at 11:34 AM, David Bremner <david@tethera.net> wrote:\r
+> Jinwoo Lee <jinwoo68@gmail.com> writes:\r
+>\r
+>> When I apply those 2 patches from you, things seem to work.  I still get\r
+>> warnings like below, but they don't seem severe.  I'm not sure if the\r
+>> ruby binding actually works though.\r
+>>\r
+>> ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/libnotmuch.dylib\r
+>>\r
+>\r
+> That one is a bit worrying, but I don't know enough about OS X to know\r
+> for sure. If you have time/interest, can you try running the tests in\r
+>\r
+>     id:1433142542-2307-5-git-send-email-david@tethera.net\r
+>\r
+> Just apply the patch and make tests. That should indicate if the\r
+> bindings are basically working.\r
+\r
+Do you mean `make test', not `make tests'?\r
+\r
+`make test' errors saying that the bash version must be >= 4.0.  Bash on\r
+my mac is 3.2.57, which is the default bash installed on Yosemite.\r
+\r
+    Error: The notmuch test suite requires a bash version >= 4.0\r
+    due to use of associative arrays within the test suite.\r
+    Please try again with a newer bash (or help us fix the\r
+    test suite to be more portable). Thanks.\r