From owner-freebsd-current@FreeBSD.ORG Tue May 8 06:53:20 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 325AC106566C; Tue, 8 May 2012 06:53:20 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 183928FC15; Tue, 8 May 2012 06:53:17 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA12836; Tue, 08 May 2012 09:53:16 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SReIO-000K60-J4; Tue, 08 May 2012 09:53:16 +0300 Message-ID: <4FA8C2DB.9010003@FreeBSD.org> Date: Tue, 08 May 2012 09:53:15 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: Baptiste Daroussin References: <4FA66EF0.7090306@zedat.fu-berlin.de> <20120506135256.GL17325@azathoth.lan> <20120506141526.GM17325@azathoth.lan> <4FA6923F.5000408@zedat.fu-berlin.de> <20120506225842.GN17325@azathoth.lan> <4FA76996.5030106@FreeBSD.org> <20120507093518.GO17325@azathoth.lan> <4FA8AAC1.40006@FreeBSD.org> <20120508055100.GT17325@azathoth.lan> In-Reply-To: <20120508055100.GT17325@azathoth.lan> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Current FreeBSD , Ports FreeBSD Subject: Re: Binary packages for LibreOffice 3.5 or 3.4 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2012 06:53:20 -0000 on 08/05/2012 08:51 Baptiste Daroussin said the following: > Yes but only with gcc46 because cppunit needs the same libstdc++ as > libreoffice so with gcc 4.6 is needs to be built with bundled, while it is > unbundled with clang. So the "internal" cppunit was probably not needed in the environment where the "external" cppunit was also built with gcc46. But I guess that there is no good way to detect that. P.S. A hackish way would be to use something like objdump to check for required versions of GLIBCXX in libcppunit*.so. But that's too hackish and too much trouble, I guess. But, hm, it looks like libcppunit-1.12.so doesn't require any newer symbols from libstdc++ beyond what's provided by base gcc's library: $ objdump -p -w /usr/local/lib/libcppunit-1.12.so.1 ... Dynamic Section: NEEDED libstdc++.so.6 NEEDED libm.so.5 NEEDED libc.so.7 NEEDED libgcc_s.so.1 SONAME libcppunit-1.12.so.1 RPATH /usr/local/lib/gcc46 ... Version References: required from libgcc_s.so.1: 0x0b792650 0x00 07 GCC_3.0 required from libm.so.5: 0x077a28b0 0x00 05 FBSD_1.0 required from libc.so.7: 0x077a28b0 0x00 03 FBSD_1.0 required from libstdc++.so.6: 0x02297f89 0x00 06 GLIBCXX_3.4.9 0x056bafd3 0x00 04 CXXABI_1.3 0x08922974 0x00 02 GLIBCXX_3.4 Ref: http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html -- Andriy Gapon