Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / eb / eb1df19a3c5e74800c8c7d00767d3d135365c2
1 Return-Path: <tomi.ollila@nixu.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 33E73429E25\r
6         for <notmuch@notmuchmail.org>; Thu, 15 Dec 2011 21:44:04 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.775\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.775 tagged_above=-999 required=5\r
12         tests=[URIBL_BLACK=1.775] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id qzpzw+SYz2wb for <notmuch@notmuchmail.org>;\r
16         Thu, 15 Dec 2011 21:44:02 -0800 (PST)\r
17 Received: from mail-gw3.nixu.fi (mail-gw3.nixu.fi [193.209.237.7])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id B11E6431FD0\r
21         for <notmuch@notmuchmail.org>; Thu, 15 Dec 2011 21:44:01 -0800 (PST)\r
22 Received: from pps.filterd (mail-gw3 [127.0.0.1])\r
23         by mail-gw3.nixu.fi (8.14.4/8.14.4) with SMTP id pBG5hxLa022511;\r
24         Fri, 16 Dec 2011 07:43:59 +0200\r
25 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
26         by mail-gw3.nixu.fi with ESMTP id 114cs0tmcv-1\r
27         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
28         Fri, 16 Dec 2011 07:43:58 +0200\r
29 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
30         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
31         pBG5hwGD008365; Fri, 16 Dec 2011 07:43:58 +0200\r
32 From: Tomi Ollila <tomi.ollila@iki.fi>\r
33 To: Thomas Jost <schnouki@schnouki.net>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH] Fix build with binutils-2.22\r
35 In-Reply-To: <1323978118-23954-1-git-send-email-schnouki@schnouki.net>\r
36 References: <1323978118-23954-1-git-send-email-schnouki@schnouki.net>\r
37 User-Agent: Notmuch/0.10.2+93~g631d290 (http://notmuchmail.org) Emacs/23.3.1\r
38         (i686-pc-linux-gnu)\r
39 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
40         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
41         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
42 Date: Fri, 16 Dec 2011 07:43:58 +0200\r
43 Message-ID: <yf6bor9rrz5.fsf@taco2.nixu.fi>\r
44 MIME-Version: 1.0\r
45 Content-Type: text/plain; charset=us-ascii\r
46 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,\r
47  1.0.211,       0.0.0000        definitions=2011-12-16_02:2011-12-16, 2011-12-16,\r
48         1970-01-01 signatures=0\r
49 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0\r
50         ipscore=0 suspectscore=0\r
51         phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0\r
52         reason=mlx\r
53         scancount=1 engine=6.0.2-1012030000 definitions=main-1112150389\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Fri, 16 Dec 2011 05:44:04 -0000\r
67 \r
68 On Thu, 15 Dec 2011 20:41:58 +0100, Thomas Jost <schnouki@schnouki.net> wrote:\r
69 > binutils-2.22 changes the behaviour of ld by defaulting to\r
70 > --no-copy-dt-needed-entries, which means that required objects/libs are not\r
71 > "indirectly" linked through intermediate objects/libs anymore. As a consequence,\r
72 > when using binutils-2.22, building symbol-test fails with the following error:\r
73\r
74 >     /usr/bin/ld: test/symbol-test.o: undefined reference to symbol\r
75 >     'std::basic_string<char, std::char_traits<char>, std::allocator<char>\r
76 >     >::~basic_string()@@GLIBCXX_3.4'\r
77\r
78 >     /usr/bin/ld: note: 'std::basic_string<char, std::char_traits<char>,\r
79 >     std::allocator<char> >::~basic_string()@@GLIBCXX_3.4' is defined in DSO\r
80 >     /usr/lib/libstdc++.so.6 so try adding it to the linker command line\r
81\r
82 >     /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation\r
83\r
84 > An easy fix is to link using CXX instead of CC.\r
85 > ---\r
86 \r
87 +1 -- LGTM, Works for me (hits also on Fedora 15). Interesting that gcc\r
88 does not fully default to g++ behaviour when source file is symbol-test.cc\r
89 \r
90 Tomi\r
91 \r
92 > Hi there,\r
93\r
94 > This build issue happens on Arch Linux. For more details, the relevant binutils\r
95 > changelog is here: http://ur1.ca/6px8j, and more explanations are available on\r
96 > the Fedora wiki: https://fedoraproject.org/wiki/UnderstandingDSOLinkChange\r
97 > (People who read the arch-general ML may want to read the thread starting at\r
98 > id:"1323458274-sup-9064@eris".)\r
99\r
100 > Best regards,\r
101 > Thomas\r
102\r
103 >  test/Makefile.local |    2 +-\r
104 >  1 files changed, 1 insertions(+), 1 deletions(-)\r
105\r
106 > diff --git a/test/Makefile.local b/test/Makefile.local\r
107 > index 6cb6c82..fa2df73 100644\r
108 > --- a/test/Makefile.local\r
109 > +++ b/test/Makefile.local\r
110 > @@ -17,7 +17,7 @@ $(dir)/smtp-dummy: $(smtp_dummy_modules)\r
111 >       $(call quiet,CC) $^ -o $@\r
112 >  \r
113 >  $(dir)/symbol-test: $(dir)/symbol-test.o\r
114 > -     $(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian\r
115 > +     $(call quiet,CXX) $^ -o $@ -Llib -lnotmuch -lxapian\r
116 >  \r
117 >  .PHONY: test check\r
118 >  \r
119 > -- \r
120 > 1.7.8\r
121\r
122 > _______________________________________________\r
123 > notmuch mailing list\r
124 > notmuch@notmuchmail.org\r
125 > http://notmuchmail.org/mailman/listinfo/notmuch\r
126\r