Fixing USE_GCC for LibreOffice on i386

Gabor Pali pgj at FreeBSD.org
Sun May 12 15:28:49 UTC 2013


On Sun, May 12, 2013 at 12:45 PM, Tijl Coosemans <tijl at coosemans.org> wrote:
> Can you test if creating /etc/libmap.conf helps?

No, it does not help.  Note that soffice.bin uses the right version of
libstdc++ from base:

$ ldd /usr/local/lib/libreoffice/program/soffice.bin
/usr/local/lib/libreoffice/program/soffice.bin:
..
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28138000)
..

This is quite sensible to me as poudriere did not pull anything that
would depend on lang/gcc* while building the packages.  (I started
from scratch.)

The application dies at the same place as before (excerpt from gdbtrace.log):

0x2d1f11c0 in XFree at plt () from
/usr/local/lib/libreoffice/program/libvclplug_genlo.so
#0  0x2d1f11c0 in XFree at plt () from
/usr/local/lib/libreoffice/program/libvclplug_genlo.so
#1  0x2d1f8a14 in SalDisplay::BestVisual(_XDisplay*, int,
XVisualInfo&) () from
/usr/local/lib/libreoffice/program/libvclplug_genlo.so
#2  0x2d1f9820 in SalDisplay::initScreen(SalX11Screen) const () from
/usr/local/lib/libreoffice/program/libvclplug_genlo.so
#3  0x2c1e1295 in GtkSalDisplay::initScreen(SalX11Screen) const ()
from /usr/local/lib/libreoffice/program/libvclplug_gtklo.so
#4  0x2d20523e in vcl_sal::WMAdaptor::WMAdaptor(SalDisplay*) () from
/usr/local/lib/libreoffice/program/libvclplug_genlo.so
#5  0x2d205fa5 in vcl_sal::NetWMAdaptor::NetWMAdaptor(SalDisplay*) ()
from /usr/local/lib/libreoffice/program/libvclplug_genlo.so
#6  0x2d2050a2 in vcl_sal::WMAdaptor::createWMAdaptor(SalDisplay*) ()
from /usr/local/lib/libreoffice/program/libvclplug_genlo.so
#7  0x2d1f9481 in SalDisplay::Init() () from
/usr/local/lib/libreoffice/program/libvclplug_genlo.so
#8  0x2c1e0fa5 in GtkSalDisplay::GtkSalDisplay(_GdkDisplay*) () from
/usr/local/lib/libreoffice/program/libvclplug_gtklo.so
#9  0x2c1e28ed in GtkData::Init() () from
/usr/local/lib/libreoffice/program/libvclplug_gtklo.so
#10 0x2c1e393e in create_SalInstance () from
/usr/local/lib/libreoffice/program/libvclplug_gtklo.so
#11 0x29988735 in tryInstance(rtl::OUString const&, bool) () from
/usr/local/lib/libreoffice/program/libvcllo.so
#12 0x29988475 in CreateSalInstance() () from
/usr/local/lib/libreoffice/program/libvcllo.so
#13 0x29614d48 in InitVCL() () from
/usr/local/lib/libreoffice/program/libvcllo.so
#14 0x29614b18 in ImplSVMain() () from
/usr/local/lib/libreoffice/program/libvcllo.so
#15 0x2961590c in SVMain() () from
/usr/local/lib/libreoffice/program/libvcllo.so
#16 0x281068b5 in soffice_main () from
/usr/local/lib/libreoffice/program/libsofficeapp.so
#17 0x0804861b in main ()


More information about the freebsd-office mailing list