From 5b587afacc9b02ba1d29c3fce8f4436331167f62 Mon Sep 17 00:00:00 2001 From: Jinwoo Lee Date: Tue, 16 Jun 2015 14:49:42 +1700 Subject: [PATCH] Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable --- 23/13a97e90cb76a6f89bfc9b19ba04d724792115 | 119 ++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 23/13a97e90cb76a6f89bfc9b19ba04d724792115 diff --git a/23/13a97e90cb76a6f89bfc9b19ba04d724792115 b/23/13a97e90cb76a6f89bfc9b19ba04d724792115 new file mode 100644 index 000000000..808163799 --- /dev/null +++ b/23/13a97e90cb76a6f89bfc9b19ba04d724792115 @@ -0,0 +1,119 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 2C5D06DE0924 + for ; Mon, 15 Jun 2015 14:49:48 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 1 +X-Spam-Level: * +X-Spam-Status: No, score=1 tagged_above=-999 required=5 tests=[AWL=1.570, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 08SkjSqk0jrr for ; + Mon, 15 Jun 2015 14:49:46 -0700 (PDT) +Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com + [209.85.213.170]) + by arlo.cworth.org (Postfix) with ESMTPS id 423126DE025E + for ; Mon, 15 Jun 2015 14:49:46 -0700 (PDT) +Received: by igbsb11 with SMTP id sb11so1301815igb.0 + for ; Mon, 15 Jun 2015 14:49:45 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type; + bh=wbRboOiUp7aHV8gHFJPD3k1wKWevwv3Ed/8HLzB5lAA=; + b=fClEdmGzVuyt2xyU+LLRQMZlVe3yMWkgVsOlzoKPfjSKdc2LsyaBnIvVpkgZK/dV0q + +p5OaD5bp4mU8pkxdxBRJxbQbD6Lt+2Cr+jOqnS//Uo/vcTTTp4TyqNyTrxHsNUKayuy + 1jLpnlg++H6zsbDhD1+fW2G3N47heluEK7lekrgJ2uV1hWH4EEBTt+W03oiffDO75lcq + y0jmG+viFq8mz2uLnlTDCpwxvwM/HW3Mq5LkxRYjopX5vyKjtmwGPQw3yG8gajnRIbHq + m1ha+phgnaFFHk6z6+5c3w3+TFeNBsELAADrevSnhGPcvAVCGrk/FrT8IuXowVkQDBdf + XeHw== +X-Received: by 10.42.157.200 with SMTP id e8mr16786324icx.84.1434404985360; + Mon, 15 Jun 2015 14:49:45 -0700 (PDT) +Received: from localhost ([2620:0:1000:407c:95d7:b076:422e:e18f]) + by mx.google.com with ESMTPSA id m193sm9723273iom.19.2015.06.15.14.49.43 + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Mon, 15 Jun 2015 14:49:43 -0700 (PDT) +From: Jinwoo Lee +To: Tomi Ollila , David Bremner , + notmuch@notmuchmail.org +Subject: Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable +In-Reply-To: +References: <1433142542-2307-3-git-send-email-david@tethera.net> + <1434261524-14139-1-git-send-email-david@tethera.net> + + <87r3peye4q.fsf@maritornes.cs.unb.ca> + + <87oaki3zrh.fsf@maritornes.cs.unb.ca> + + +User-Agent: Notmuch/0.20.1+24~gd9567dd (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-apple-darwin14.3.0) +Date: Mon, 15 Jun 2015 14:49:42 -0700 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 15 Jun 2015 21:49:48 -0000 + +> That probably will not change; IIRC bash 3.2.57 is released under GPLv2 +> and bash >= 4 GPLv3. You just need to install separate bash (brew, ports, +> wherever) in order to run these tests in OS X. + +I installed bash from MacPorts and ran `make test' again, but the result +is not so good. The error message is just "make: *** [test] Error 9", +and I can't tell what exactly has failed. + +Here's the log: + +$ make test +cd bindings/ruby && \ + EXTRA_LDFLAGS="" \ + LIBNOTMUCH="../../lib/libnotmuch.dylib" \ + ruby extconf.rb --vendor +creating Makefile +/Applications/Xcode.app/Contents/Developer/usr/bin/make -C bindings/ruby +linking shared-object notmuch.bundle +ld: warning: directory not found for option '-L/usr/local/lib' +ld: warning: directory not found for option '-L/usr/local/lib' +ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/libnotmuch.dylib +Use "/Applications/Xcode.app/Contents/Developer/usr/bin/make V=1" to see the verbose compile lines. +CC -g -O2 test/arg-test.o +CC test/arg-test +CC -g -O2 test/hex-xcode.o +CC test/hex-xcode +CC -g -O2 test/random-corpus.o +CC -g -O2 test/database-test.o +CXX test/random-corpus +CC -g -O2 test/parse-time.o +CC test/parse-time +CC -g -O2 test/smtp-dummy.o +CC test/smtp-dummy +CXX -g -O2 test/symbol-test.o +test/symbol-test.cc:7:14: warning: unused parameter 'argc' [-Wunused-parameter] +int main(int argc, char** argv) { + ^ +1 warning generated. +CXX test/symbol-test +CXX -g -O2 test/make-db-version.o +CXX test/make-db-version +INFO: using 2 minute timeout for tests + +T000-basic: Testing the test framework itself. +make: *** [test] Error 9 -- 2.26.2