Re: Clang: now available from a SVN server near you!

2009-06-11 Thread Pawel Worach
On Tue, Jun 9, 2009 at 12:17, Ed Schouten wrote: > * Pawel Worach wrote: >> So runtime performance is on par with gcc, code size is a bit bigger >> so there is still room for optimization in LLVM. > > I don't agree on the code size. Code size is comparable. I just did a > quick ls through /bin. Th

Re: Clang: now available from a SVN server near you!

2009-06-10 Thread Roman Divacky
On Fri, Jun 05, 2009 at 09:45:44AM +0200, Erik Cederstrand wrote: > Hi Roman > > Den 04/06/2009 kl. 14.38 skrev Roman Divacky: > > > >you could use llvm-ld (see the wiki for instructions how to do it). > >there's also some > >effort to make gnu ld usable with llvm LTO and I guess the patch > >

Re: Clang: now available from a SVN server near you!

2009-06-09 Thread Ed Schouten
* Pawel Worach wrote: > So runtime performance is on par with gcc, code size is a bit bigger > so there is still room for optimization in LLVM. I don't agree on the code size. Code size is comparable. I just did a quick ls through /bin. There also seem to be a lot of cases where Clang generates s

Re: Clang: now available from a SVN server near you!

2009-06-09 Thread Wojciech Puchar
So runtime performance is on par with gcc, code size is a bit bigger bigger code=lower performance except benchmarks :) smaller code fits better in cache. so there is still room for optimization in LLVM. and for sure there will be some. Good that FreeBSD will have non-GNU compiler soon :)

Re: Clang: now available from a SVN server near you!

2009-06-08 Thread Pawel Worach
On Mon, Jun 8, 2009 at 20:05, M. Warner Losh wrote: > In message: <20090604093831.ge48...@hoeg.nl> >            Ed Schouten writes: > : Good news everyone! > ... > : So far we've only done testing on amd64 and i386. A lot of ports are > : probably still broken. Caveat emptor. Beware of dog. Slippe

Re: Clang: now available from a SVN server near you!

2009-06-08 Thread M. Warner Losh
In message: <20090604093831.ge48...@hoeg.nl> Ed Schouten writes: : Good news everyone! ... : So far we've only done testing on amd64 and i386. A lot of ports are : probably still broken. Caveat emptor. Beware of dog. Slippery when wet. "objects in mirror may be larger than they appear

Re: Clang: now available from a SVN server near you!

2009-06-06 Thread Kai Wang
On Thu, Jun 04, 2009 at 09:06:29AM -0700, Tim Kientzle wrote: > Erik Cederstrand wrote: > > > > LLVM provides a linker (http://llvm.org/cmds/llvm-ld.html) but "it > > doesn't interact correctly with conventional nm/ar/etc" > > (http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-June/005296.html).

Re: Clang: now available from a SVN server near you!

2009-06-06 Thread Erik Cederstrand
Den 04/06/2009 kl. 18.06 skrev Tim Kientzle: Erik Cederstrand wrote: LLVM provides a linker (http://llvm.org/cmds/llvm-ld.html) but "it doesn't interact correctly with conventional nm/ar/etc" (http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-June/005296.html ). In what way does it not inter

Re: Clang: now available from a SVN server near you!

2009-06-05 Thread Erik Cederstrand
Hi Roman Den 04/06/2009 kl. 14.38 skrev Roman Divacky: you could use llvm-ld (see the wiki for instructions how to do it). there's also some effort to make gnu ld usable with llvm LTO and I guess the patch could be backported to our ld. I guess As I understand the reply from Eli Friedman

Re: Clang: now available from a SVN server near you!

2009-06-04 Thread Tim Kientzle
Erik Cederstrand wrote: LLVM provides a linker (http://llvm.org/cmds/llvm-ld.html) but "it doesn't interact correctly with conventional nm/ar/etc" (http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-June/005296.html). In what way does it not interact correctly? Kai Wang wrote a new libarchive

Re: Clang: now available from a SVN server near you!

2009-06-04 Thread Erik Cederstrand
Den 04/06/2009 kl. 11.38 skrev Ed Schouten: You can now build your very own version of FreeBSD with Clang installed as /usr/bin/cc as follows: Thanks for your hard work, Ed. This is great news! You might want to mention that a few parts are still GCC-compiled due to bugs in Clang ( see ht

Re: Clang: now available from a SVN server near you!

2009-06-04 Thread Marius Nünnerich
Thanks to the team for this! On Thu, Jun 4, 2009 at 11:38, Ed Schouten wrote: > Good news everyone! > > As I mentioned at BSDCan, I was going to import my FreeBSD+Clang branch > into SVN. Tuesday I finally had some time to do it, so here's the > result: > >        http://svn.freebsd.org/viewvc/ba

Re: Clang: now available from a SVN server near you!

2009-06-04 Thread Roman Divacky
On Thu, Jun 04, 2009 at 02:35:56PM +0200, Erik Cederstrand wrote: > Den 04/06/2009 kl. 11.38 skrev Ed Schouten: > > >You can now build your very own version of FreeBSD with Clang > >installed > >as /usr/bin/cc as follows: > > Thanks for your hard work, Ed. This is great news! > > You might wan

Re: Clang: now available from a SVN server near you!

2009-06-04 Thread Roman Divacky
On Thu, Jun 04, 2009 at 11:38:31AM +0200, Ed Schouten wrote: > Good news everyone! > > As I mentioned at BSDCan, I was going to import my FreeBSD+Clang branch > into SVN. Tuesday I finally had some time to do it, so here's the > result: > > http://svn.freebsd.org/viewvc/base/projects/clangb

Clang: now available from a SVN server near you!

2009-06-04 Thread Ed Schouten
Good news everyone! As I mentioned at BSDCan, I was going to import my FreeBSD+Clang branch into SVN. Tuesday I finally had some time to do it, so here's the result: http://svn.freebsd.org/viewvc/base/projects/clangbsd/ You can now build your very own version of FreeBSD with Clang instal