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

diff --git a/23/13a97e90cb76a6f89bfc9b19ba04d724792115 b/23/13a97e90cb76a6f89bfc9b19ba04d724792115
new file mode 100644 (file)
index 0000000..8081637
--- /dev/null
@@ -0,0 +1,119 @@
+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 2C5D06DE0924\r
+ for <notmuch@notmuchmail.org>; Mon, 15 Jun 2015 14:49:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1 tagged_above=-999 required=5 tests=[AWL=1.570,\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,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, 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 08SkjSqk0jrr for <notmuch@notmuchmail.org>;\r
+ Mon, 15 Jun 2015 14:49:46 -0700 (PDT)\r
+Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com\r
+ [209.85.213.170])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 423126DE025E\r
+ for <notmuch@notmuchmail.org>; Mon, 15 Jun 2015 14:49:46 -0700 (PDT)\r
+Received: by igbsb11 with SMTP id sb11so1301815igb.0\r
+ for <notmuch@notmuchmail.org>; Mon, 15 Jun 2015 14:49:45 -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=wbRboOiUp7aHV8gHFJPD3k1wKWevwv3Ed/8HLzB5lAA=;\r
+ b=fClEdmGzVuyt2xyU+LLRQMZlVe3yMWkgVsOlzoKPfjSKdc2LsyaBnIvVpkgZK/dV0q\r
+ +p5OaD5bp4mU8pkxdxBRJxbQbD6Lt+2Cr+jOqnS//Uo/vcTTTp4TyqNyTrxHsNUKayuy\r
+ 1jLpnlg++H6zsbDhD1+fW2G3N47heluEK7lekrgJ2uV1hWH4EEBTt+W03oiffDO75lcq\r
+ y0jmG+viFq8mz2uLnlTDCpwxvwM/HW3Mq5LkxRYjopX5vyKjtmwGPQw3yG8gajnRIbHq\r
+ m1ha+phgnaFFHk6z6+5c3w3+TFeNBsELAADrevSnhGPcvAVCGrk/FrT8IuXowVkQDBdf\r
+ XeHw==\r
+X-Received: by 10.42.157.200 with SMTP id e8mr16786324icx.84.1434404985360;\r
+ Mon, 15 Jun 2015 14:49:45 -0700 (PDT)\r
+Received: from localhost ([2620:0:1000:407c:95d7:b076:422e:e18f])\r
+ by mx.google.com with ESMTPSA id m193sm9723273iom.19.2015.06.15.14.49.43\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Mon, 15 Jun 2015 14:49:43 -0700 (PDT)\r
+From: Jinwoo Lee <jinwoo68@gmail.com>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, David Bremner <david@tethera.net>,\r
+ notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable\r
+In-Reply-To: <m2bnghe3ar.fsf@guru.guru-group.fi>\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
+ <yq654mm9tyie.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <m2bnghe3ar.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.20.1+24~gd9567dd (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-apple-darwin14.3.0)\r
+Date: Mon, 15 Jun 2015 14:49:42 -0700\r
+Message-ID: <yq65wpz463rd.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 21:49:48 -0000\r
+\r
+> That probably will not change; IIRC bash 3.2.57 is released under GPLv2\r
+> and bash >= 4 GPLv3. You just need to install separate bash (brew, ports,\r
+> wherever) in order to run these tests in OS X.\r
+\r
+I installed bash from MacPorts and ran `make test' again, but the result\r
+is not so good.  The error message is just "make: *** [test] Error 9",\r
+and I can't tell what exactly has failed.\r
+\r
+Here's the log:\r
+\r
+$ make test\r
+cd bindings/ruby && \\r
+               EXTRA_LDFLAGS="" \\r
+               LIBNOTMUCH="../../lib/libnotmuch.dylib" \\r
+               ruby extconf.rb --vendor\r
+creating Makefile\r
+/Applications/Xcode.app/Contents/Developer/usr/bin/make -C bindings/ruby\r
+linking shared-object notmuch.bundle\r
+ld: warning: directory not found for option '-L/usr/local/lib'\r
+ld: warning: directory not found for option '-L/usr/local/lib'\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
+Use "/Applications/Xcode.app/Contents/Developer/usr/bin/make V=1" to see the verbose compile lines.\r
+CC  -g -O2 test/arg-test.o\r
+CC test/arg-test\r
+CC  -g -O2 test/hex-xcode.o\r
+CC test/hex-xcode\r
+CC  -g -O2 test/random-corpus.o\r
+CC  -g -O2 test/database-test.o\r
+CXX test/random-corpus\r
+CC  -g -O2 test/parse-time.o\r
+CC test/parse-time\r
+CC  -g -O2 test/smtp-dummy.o\r
+CC test/smtp-dummy\r
+CXX  -g -O2 test/symbol-test.o\r
+test/symbol-test.cc:7:14: warning: unused parameter 'argc' [-Wunused-parameter]\r
+int main(int argc, char** argv) {\r
+             ^\r
+1 warning generated.\r
+CXX test/symbol-test\r
+CXX  -g -O2 test/make-db-version.o\r
+CXX test/make-db-version\r
+INFO: using 2 minute timeout for tests\r
+\r
+T000-basic: Testing the test framework itself.\r
+make: *** [test] Error 9\r