Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2010 19:35:37 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        current@freebsd.org
Subject:   [INFO]: newer clang/LLVM in HEAD
Message-ID:  <20100720173537.GA10433@freebsd.org>

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

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hi,

ed@ just committed an update of clang/LLVM to HEAD. This update has
(at least) 3 bugs fixed that were reported from FreeBSD.

these are:

	- annoying "unknown pragma" warning during make depend of kernel

	- DWARF fix that fixes dtrace (contributed by kan@)

		this requires libelf fix as well

	- clang (the driver) execing itself (the compiler) fix regardless of PATH

Beside this, clang should compile C++ better than the previous snapshot.
It should be faster as well.

So far a few problems in clang/LLVM and FreeBSD were fixed but many other
remains, what to do about it?


		Test clang with your code!

just cd /usr/src/my/code/ && CC=clang make

clang can spot problems gcc cannot and it would be nice to have those fixed.
it improves the code quality and takes at most a few minutes.

if you encounter something that you think is a clang bug/problem/annoyance
please let us know so we can get this fixed.

thank you for your help!

Roman Divacky

--wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAkxF3mkACgkQLVEj6D3CBEymVQCfUk/YTg1OmAnU17US6jQUAv8B
lCsAn3CW1flw8g0cMM2w1DAN89KFtuog
=9izw
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--



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