namespace confusion between GCC 4.2 and GCC 4.6?

Michael Butler imb at protected-networks.net
Sun Aug 4 19:10:01 UTC 2013


-----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 at GLIBCXX_3.4'
/usr/local/lib/libclucene-shared.so: undefined reference to
`log10l at 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-----


More information about the freebsd-current mailing list