Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 23:30:16 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Matthias Andree <mandree@FreeBSD.org>
Cc:        freebsd-toolchain@freebsd.org
Subject:   Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port)
Message-ID:  <C350407E-E262-4E47-B1A5-09F5374C1AED@FreeBSD.org>
In-Reply-To: <528A93BF.3020707@FreeBSD.org>
References:  <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> <528A93BF.3020707@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_D136AC41-395C-497F-8AEF-722AB51E55F9
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=iso-8859-1

On 18 Nov 2013, at 23:25, Matthias Andree <mandree@FreeBSD.org> wrote:
> Am 18.11.2013 23:04, schrieb Dimitry Andric:
> 
>> I will have a look at the port meanwhile, I hope it does not pull in too
>> many dependencies?
> 
> Thanks for the prompt response. Trying top-of-clang-tree will take me a
> few days until I get around to it (is clang-devel good enough for a
> first attempt?)

Can you please run the ipsharpen.cc compilation command with -save-temps
added on your system, and then upload the resulting .ii file somewhere?

That would save me the trouble of building most of GNOME, which it seems
to pull in... :)


> (Oh, and I wish we had more prominent error messages telling about an
> ABI mismatch between libc++ and libstdc++ than just the innocuous
> undefined references about - roughly -
> Glib::ustring::ustring(std::basic_string<> const &) - I needed to nm -sC
> the glibmm-2.0.so to figure out it provided the std::_1:: namespace
> stuff for c++ and finally figure out the libraries were alright but they
> were using the libc++ ABI rather than GCC's libstdc++.)

Most of the time, you will only find out at link time if you have mixed
libstdc++ and libc++ STL containers...  I'm not sure if there is a nicer
way to bring bad news. :-)

-Dimitry


--Apple-Mail=_D136AC41-395C-497F-8AEF-722AB51E55F9
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlKKlQMACgkQsF6jCi4glqOKCwCeL7PB5+l5UvOdo0nCOkS+advx
XzcAoJYD/iJu7YfSN1qWoAMfeutLOYSP
=WPT+
-----END PGP SIGNATURE-----

--Apple-Mail=_D136AC41-395C-497F-8AEF-722AB51E55F9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C350407E-E262-4E47-B1A5-09F5374C1AED>