Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Aug 2013 15:09:57 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        az@freebsd.org, FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   namespace confusion between GCC 4.2 and GCC 4.6?
Message-ID:  <51FEA705.4020407@protected-networks.net>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

With the (-current) base system compiled with (the native) GCC and
attempting to compile editor/libreoffice (with gcc-4.6), I get ..

[build LNK] Library/libstore.so
[build srs]
/usr/ports/editors/libreoffice/work/libreoffice-4.0.4.2/dbaccess/source/ui/dlg/AutoControls_tmpl.hrc
[build srs]
/usr/ports/editors/libreoffice/work/libreoffice-4.0.4.2/dbaccess/source/ui/inc/toolbox_tmpl.hrc
[build LNK] Executable/HelpIndexer
[build LNK] Executable/HelpLinker
/usr/local/lib/libclucene-core.so: undefined reference to `logl@GLIBCXX_3.4'
/usr/local/lib/libclucene-shared.so: undefined reference to
`log10l@GLIBCXX_3.4'
collect2: ld returned 1 exit status
gmake[4]: ***
[/usr/ports/editors/libreoffice/work/workdir/unxfbsdi.pro/LinkTarget/Executable/HelpIndexer]
Error 1
gmake[4]: *** Waiting for unfinished jobs....


Recompiling textproc/clucene with gcc-4.6 solves the linkage problem but
causes (many) other packages to fail (e.g. KDE components with clucene
dependencies).

What is the recommended solution?

	imb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (FreeBSD)

iEYEARECAAYFAlH+pwUACgkQQv9rrgRC1JKGMQCfd4RDciiYb0yx3Kki6+T4plCR
eYEAn2HmEgjTinUW9yMaXQSemrp9Cgmf
=ZejK
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51FEA705.4020407>