From 5522f2ffa53c080d45dbba08247a7fbe47fd5246 Mon Sep 17 00:00:00 2001 From: Jonathan Underwood Date: Fri, 27 Nov 2015 11:55:54 +0000 Subject: [PATCH] Build failure when building ruby bindings on Fedora --- 54/ccf28f29ba9d9497e8ab4a728c96391fe153a1 | 79 +++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 54/ccf28f29ba9d9497e8ab4a728c96391fe153a1 diff --git a/54/ccf28f29ba9d9497e8ab4a728c96391fe153a1 b/54/ccf28f29ba9d9497e8ab4a728c96391fe153a1 new file mode 100644 index 000000000..67ab17e1d --- /dev/null +++ b/54/ccf28f29ba9d9497e8ab4a728c96391fe153a1 @@ -0,0 +1,79 @@ +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 D889D6DE028A + for ; Fri, 27 Nov 2015 03:55:58 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.82 +X-Spam-Level: +X-Spam-Status: No, score=-0.82 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + 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 QzXo7cFGoWtK for ; + Fri, 27 Nov 2015 03:55:57 -0800 (PST) +Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com + [209.85.215.53]) + by arlo.cworth.org (Postfix) with ESMTPS id ACD1E6DE0274 + for ; Fri, 27 Nov 2015 03:55:56 -0800 (PST) +Received: by lfs39 with SMTP id 39so124239864lfs.3 + for ; Fri, 27 Nov 2015 03:55:54 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:date:message-id:subject:from:to:content-type; + bh=NMQuOCk2Ae9y5K1X37W18YEY93U9hjKlBYM6hfkKoWU=; + b=r0X7x7eyoMTC/fHOacPyQ7AYp7q3fkk5idqoJVlNlcf4O4vjVlPymqrHDyiepQzKKg + Vyqc4fxMutSi9PCBXV3i/U14WCbj/OTrl8y+11igchFD7Qta84R0xVEZ5LfzenShCA/I + 1ZdF6WXOAvQX5QltDN4ECL8VMSJsLRaV9t+KyKeYFOGoMfucLFbwFDy36yyc+FkT30cI + Bsif1lrxoVqTAk1K1WTGjEsCE7wIgRkVGPpqbsXQ2fGEebUzQltfqabgDRNjuPPwcPb+ + cmRiWRw7fVki7RKVCQZn/C07inxEdlVtUxAb8DCIpZuKqvyg8WV0x3OgjnAwG7wR2wGE + jdpA== +MIME-Version: 1.0 +X-Received: by 10.25.147.84 with SMTP id v81mr14572612lfd.119.1448625354345; + Fri, 27 Nov 2015 03:55:54 -0800 (PST) +Received: by 10.112.148.66 with HTTP; Fri, 27 Nov 2015 03:55:54 -0800 (PST) +Date: Fri, 27 Nov 2015 11:55:54 +0000 +Message-ID: + +Subject: Build failure when building ruby bindings on Fedora +From: Jonathan Underwood +To: notmuch@notmuchmail.org +Content-Type: text/plain; charset=UTF-8 +X-Mailman-Approved-At: Wed, 02 Dec 2015 11:25:16 -0800 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Fri, 27 Nov 2015 11:55:58 -0000 + +Hi, + +I am attempting to build 0.21 on Fedora rawhide and am hitting the +following failure when building the ruby bindings - seems to be an +unresolved symbol error during linking. Any help appreciated. + +Thanks, +Jonathan + +gcc -shared -o notmuch.so messages.o tags.o filenames.o threads.o +status.o query.o directory.o message.o init.o thread.o database.o -L. +-L/usr/lib64 -L. -Wl,-z,relro +-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector +-rdynamic -Wl,-export-dynamic -Wl,--no-undefined -m64 +../../lib/libnotmuch.so -lruby -lpthread -ldl -lcrypt -lm -lc +/usr/bin/ld: messages.o: relocation R_X86_64_PC32 against undefined +symbol `rb_eRuntimeError' can not be used when making a shared object; +recompile with -fPIC +/usr/bin/ld: final link failed: Bad value +collect2: error: ld returned 1 exit status -- 2.26.2