Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2012 09:53:15 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        Current FreeBSD <freebsd-current@FreeBSD.org>, Ports FreeBSD <freebsd-ports@FreeBSD.org>
Subject:   Re: Binary packages for LibreOffice 3.5 or 3.4
Message-ID:  <4FA8C2DB.9010003@FreeBSD.org>
In-Reply-To: <20120508055100.GT17325@azathoth.lan>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FA8C2DB.9010003>