Re: ClangBSD build failures

2010-04-27 Thread Roman Divacky
I see whats going on... you have CC=cc and CXX=c++ in your share/mk/sys.mk and the "c++" is clang thus the .if ${CC} == "clang" || ${CXX} == "clang++" MMINTRIN_CLANG= -isystem ${WORLDTMP}/usr/include/clang/1.5 .endif condition does not add the -isystem thus the gcc mmintrin.h is used. you have

Re: ClangBSD build failures

2010-04-27 Thread Roman Divacky
On Tue, Apr 27, 2010 at 10:38:39AM +0200, Dominic Fandrey wrote: > On 27/04/2010 09:08, Roman Divacky wrote: > > On Tue, Apr 27, 2010 at 08:21:41AM +0200, Dominic Fandrey wrote: > >> I cannot make this comparison for buildworld, because buildworld > >>

Re: ClangBSD build failures

2010-04-27 Thread Roman Divacky
On Tue, Apr 27, 2010 at 08:21:41AM +0200, Dominic Fandrey wrote: > Hello, > > I wanted to make some performance comparisons, building ClangBSD > with different compilers. > > The host system is: > FreeBSD mobileKamikaze.norad 8.0-STABLE FreeBSD 8.0-STABLE #0: Mon Apr 5 > 12:45:41 CEST 2010

Re: ClangBSD build failures

2010-04-27 Thread Roman Divacky
On Tue, Apr 27, 2010 at 08:21:41AM +0200, Dominic Fandrey wrote: > Hello, > > I wanted to make some performance comparisons, building ClangBSD > with different compilers. > > The host system is: > FreeBSD mobileKamikaze.norad 8.0-STABLE FreeBSD 8.0-STABLE #0: Mon Apr 5 > 12:45:41 CEST 2010

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-27 Thread Roman Divacky
while I agree that the function is strange there indeed is a bug in llvm. See: http://llvm.org/bugs/show_bug.cgi?id=6941 On Tue, Apr 27, 2010 at 02:50:53PM +1000, Andrew Reilly wrote: > On Sun, Apr 25, 2010 at 12:06:49PM +0200, Alexander Best wrote: > > i was able to pinpoint the > > exact functio

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-21 Thread Roman Divacky
On Wed, Apr 21, 2010 at 09:44:45PM +0200, Alexander Best wrote: > Roman Divacky schrieb am 2010-04-21: > > [snip] > > > 1) cd modules/sound/sound && make CC=gcc > > after this step these are the sizes of sound.ko* in modules/sound/sound: > > -rw-r--r-

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-21 Thread Roman Divacky
On Wed, Apr 21, 2010 at 08:37:10PM +0200, Dimitry Andric wrote: > On 2010-04-21 20:20, Roman Divacky wrote: > >>/home/dim/src/clangbsd/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:140:1: > >> warning: control may reach end of non-void functio

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-21 Thread Roman Divacky
On Sat, Apr 17, 2010 at 07:03:14PM +0200, Dimitry Andric wrote: > On 2010-04-16 18:08, Roman Divacky wrote: > > cd clangbsd&& make buildworld > > Buildworld all goes well, until this stage: > > -- >

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-21 Thread Roman Divacky
On Wed, Apr 21, 2010 at 07:22:00PM +0200, Alexander Best wrote: > Roman Divacky schrieb am 2010-04-21: > > On Wed, Apr 21, 2010 at 05:20:57PM +0200, Alexander Best wrote: > > > i might have stumbled upon a problem with clang. i've compiled a > > > kernel from &g

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-21 Thread Roman Divacky
On Wed, Apr 21, 2010 at 05:26:03PM +0200, Dimitry Andric wrote: > On 2010-04-20 16:04, Roman Divacky wrote: > >>Tried again with llvm r101891, still the same error... > > > >the problem is that gcc miscompiles llvm at -O3, I havent managed > >to contact brooks@ to cha

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-21 Thread Roman Divacky
On Wed, Apr 21, 2010 at 05:20:57PM +0200, Alexander Best wrote: > i might have stumbled upon a problem with clang. i've compiled a kernel from > the clang branch using `make kernel INSTKERNNAME=clang` and booted from it. > i'm now experiencing audio problems with mp3s and certain video files. > pla

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-20 Thread Roman Divacky
On Tue, Apr 20, 2010 at 04:04:37PM +0200, Dimitry Andric wrote: > On 2010-04-17 20:13, Roman Divacky wrote: > >>>>I'm using the llvm-devel-2.7.r100430 port. > >> > >>This is the current devel/llvm-devel port, AFAICS? The system itself > >>runs -CU

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-20 Thread Roman Divacky
On Tue, Apr 20, 2010 at 02:38:01PM +0200, Alexander Best wrote: > Eitan Adler schrieb am 2010-04-20: > > > i was also wondering: what's the reason gcc is still being used > > > during step > > > "Building an up-to-date make(1)" and not clang? > > > because make segfaults when using clang ;) > > a

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-19 Thread Roman Divacky
you have to use -O2 On Mon, Apr 19, 2010 at 02:29:07PM +0200, Alexander Best wrote: > i'm getting this error during `make buildworld`: > > ===> libexec/atrun (all) > clang -isystem /usr/obj/usr/local/src/clangbsd/tmp/usr/include/clang/1.5 > -isystem /usr/obj/usr/local/src/clangbsd/tmp/usr/include

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-18 Thread Roman Divacky
it looks like people are having problems with make - I'll take a look at that. it may be libgcc issue of some very strange kind On Sun, Apr 18, 2010 at 03:31:13PM +0300, George Liaskos wrote: > >> /usr/obj/usr/src/make.amd64/usr/src/usr.bin/make created for > >> /usr/src/usr.bin/make > >> Segment

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-18 Thread Roman Divacky
On Sun, Apr 18, 2010 at 03:09:48PM +0200, Erik Cederstrand wrote: > Hi Roman > > Den 16/04/2010 kl. 18.08 skrev Roman Divacky: > > > We kindly ask you to setup ClangBSD chroot and/or use clang compiled kernel > > and > > use it as you would normally use FreeB

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-18 Thread Roman Divacky
On Sun, Apr 18, 2010 at 12:04:16PM +0400, Alex Keda wrote: > 16.04.2010 20:08, Roman Divacky ?: > >Hi, > > > >ClangBSD is a branch of FreeBSD that aims at integrating clang > >(clang.llvm.org) > >into FreeBSD, replacing GCC as a system compiler. > > >

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-17 Thread Roman Divacky
On Sat, Apr 17, 2010 at 08:14:21PM +0200, Dimitry Andric wrote: > On 2010-04-17 19:33, Roman Divacky wrote: > >what version of clang/llvm are you using? > > As I mentioned at the end of my previous post: > > >>I'm using the llvm-devel-2.7.r100430 port. > >

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-17 Thread Roman Divacky
what version of clang/llvm are you using? On Sat, Apr 17, 2010 at 07:03:14PM +0200, Dimitry Andric wrote: > On 2010-04-16 18:08, Roman Divacky wrote: > > cd clangbsd&& make buildworld > > Buildworld all goes

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-17 Thread Roman Divacky
what version of clang/llvm are you using? On Sat, Apr 17, 2010 at 11:48:02AM -0500, James R. Van Artsdalen wrote: > Roman Divacky wrote: > > Recently, we've achieved the state when clang can compile all of FreeBSD > > world > > on i386/amd64 platforms (including al

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-17 Thread Roman Divacky
On Fri, Apr 16, 2010 at 06:08:18PM +0200, Roman Divacky wrote: > Hi, > > ClangBSD is a branch of FreeBSD that aims at integrating clang > (clang.llvm.org) > into FreeBSD, replacing GCC as a system compiler. > > Recently, we've achieved the state when clang can compile

[CFT]: ClangBSD is selfhosting, we need testers now

2010-04-16 Thread Roman Divacky
p ClangBSD chroot and/or use clang compiled kernel and use it as you would normally use FreeBSD. Please report back Thank you, Roman Divacky on behalf of the ClangBSD team pgpez6WiCHP8k.pgp Description: PGP signature

<    1   2