--- /dev/null
+Return-Path: <david@tethera.net>\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 2CB83431FAF\r
+ for <notmuch@notmuchmail.org>; Thu, 26 Jun 2014 05:53:01 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ 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 tIXRyTkBkHnC for <notmuch@notmuchmail.org>;\r
+ Thu, 26 Jun 2014 05:52:54 -0700 (PDT)\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+ (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 36A99431FAE\r
+ for <notmuch@notmuchmail.org>; Thu, 26 Jun 2014 05:52:54 -0700 (PDT)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1X09Aa-0004Kw-Jh; Thu, 26 Jun 2014 09:52:52 -0300\r
+Received: (nullmailer pid 8507 invoked by uid 1000); Thu, 26 Jun 2014\r
+ 12:52:49 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Thomas Klausner <tk@giga.or.at>\r
+Subject: Re: notmuch-0.16: realpath() compatibility issue; clang visibility\r
+ problem\r
+In-Reply-To: <87a98zho9y.fsf@zancas.localnet>\r
+References: <20140103214735.GG27614@danbala.tuwien.ac.at>\r
+ <sfid--20140408-140907--004.35-1@spamfilter.osbf.lua>\r
+ <87ob0c6p0e.fsf@zancas.localnet>\r
+ <20140408123312.GZ5053@danbala.tuwien.ac.at>\r
+ <87a98zho9y.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 26 Jun 2014 09:52:49 -0300\r
+Message-ID: <87zjgzg7dq.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+Cc: Notmuch list <notmuch@notmuchmail.org>\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: Thu, 26 Jun 2014 12:53:01 -0000\r
+\r
+David Bremner <david@tethera.net> writes:\r
+\r
+> Is it correct that the statically linked version (notmuch) worked OK but\r
+> the dynamically linked version (notmuch-shared) failed? That's\r
+> consistent with what I observe on Debian, it's just that here the\r
+> dynamically linked version falls back on the canonicalize_file_name in\r
+> glibc, hiding the error.\r
+\r
+Actually I'm wrong about this part. or at least I don't know how to test\r
+this on a glibc based system. My suggested test with nm is bogus, since\r
+all symbols from libnotmuch.so will show up the same way.\r
+\r
+d\r