From owner-freebsd-ports@FreeBSD.ORG Sun Jun 27 00:56:18 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9DF5106564A for ; Sun, 27 Jun 2010 00:56:18 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3A1288FC08 for ; Sun, 27 Jun 2010 00:56:17 +0000 (UTC) Received: (qmail 9982 invoked by uid 399); 27 Jun 2010 00:56:16 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 27 Jun 2010 00:56:16 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C26A19B.6070808@dougbarton.us> Date: Sat, 26 Jun 2010 17:55:55 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: churanov.port.maintainer@gmail.com X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@FreeBSD.org Subject: devel/boost-python-libs compiled with gcc 4.5.1 causes link error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2010 00:56:18 -0000 Howdy, I'm working on compiling the python bindings for net-p2p/libtorrent-rasterbar-15 and compiled devel/boost-python-libs as a dependency for that. When compiled with gcc 4.5.1 (http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/index.html) the boost-python-libs give the following linker error when trying to build the libtorrent python bindings: configure:18063: cc -o conftest -D_THREAD_SAFE -pthread -pipe -g -g -I/usr/local/include -pthread -L/usr/local/lib -rpath =/usr/lib:/usr/local/lib -L/usr/local/lib/python2.6/config -lpython2.6 conftest.c -lboost_python >&5 /usr/local/lib/libboost_python.so: undefined reference to `_ZNSt15_List_node_base7_M_hookEPS_@GLIBCXX_3.4.14' configure:18063: $? = 1 The full log is available at http://dougbarton.us/boost-python-gcc451-config.log When the boost-python-libs are compiled with gcc 4.2.1 (the default in -current) I can compile the libtorrent bindings with either version of gcc. Let me know if there is any other information you need. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/