From owner-freebsd-current@FreeBSD.ORG Sun Aug 4 19:10:01 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4E6AEE6A; Sun, 4 Aug 2013 19:10:01 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2085124AA; Sun, 4 Aug 2013 19:10:00 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id 559E5613B; Sun, 4 Aug 2013 15:09:59 -0400 (EDT) DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=Mr5ZXkKDxzVO9EVQgoXWuHuw/JE4sLtscPmmKwBCBF8wdf7ydqji3/e5YJSEkN41h 9iYIyMZ++kjHfjyr0PWl3hvnjhozTY6u7SxJ732DxoE1djoXbHYMxBDQHonzH0z Message-ID: <51FEA705.4020407@protected-networks.net> Date: Sun, 04 Aug 2013 15:09:57 -0400 From: Michael Butler User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130802 Thunderbird/17.0.7 MIME-Version: 1.0 To: az@freebsd.org, FreeBSD Current Subject: namespace confusion between GCC 4.2 and GCC 4.6? X-Enigmail-Version: 1.5.1 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Aug 2013 19:10:01 -0000 -----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-----