Binary packages for LibreOffice 3.5 or 3.4
Andriy Gapon
avg at FreeBSD.org
Tue May 8 06:53:20 UTC 2012
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
More information about the freebsd-ports
mailing list