Re: Clang now builds world and kernel, on i386 and amd64

2010-09-23 Thread Roman Divacky
On Wed, Sep 22, 2010 at 11:15:47PM +0200, Bartosz Stec wrote: On 2010-09-22 22:42, Rene Ladan wrote: Just tried it. World has been builded without any problems, but stge kernel module failed to compile: === stge (all) clang -O2 -pipe -march=athlon-xp -fno-strict-aliasing -D_KERNEL

Re: Clang now builds world and kernel, on i386 and amd64

2010-09-23 Thread Bartosz Stec
On 2010-09-23 08:51, Roman Divacky wrote: I will post comparison of building times and results using gcc/clang/ccache/noccache on my box soon :) if you want to post any build-time numbers for clang please -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS #-DNDEBUG uncomment the

Re: Bumping MAXCPU on amd64?

2010-09-23 Thread Robert Watson
On Wed, 22 Sep 2010, Maxim Sobolev wrote: On 9/22/2010 6:37 AM, John Baldwin wrote: Unfortunately this can't be MFC'd to 7 as it would destroy the ABI for existing klds. Ah, ok, sorry, I did only check RELENG_7. Can we make it a kernel option then? In principle, yes, but MAXCPU is used

Re: Clang now builds world and kernel, on i386 and amd64

2010-09-23 Thread Bartosz Stec
On 2010-09-23 08:51, Roman Divacky wrote: if you want to post any build-time numbers for clang please -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS #-DNDEBUG uncomment the -DNDEBUG on this line in lib/clang/clang.build.mk and rebuild it otherwise you are using Release+Asserts

Re: Clang now builds world and kernel, on i386 and amd64

2010-09-23 Thread Dimitry Andric
On 2010-09-23 12:20, Bartosz Stec wrote: --- /etc/csh.cshrc 2009-09-21 11:01:51.0 +0200 +++ ./etc/csh.cshrc 2010-09-23 12:12:47.553768640 +0200 @@ -1,6 +1,3 @@ -# $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $ +# $FreeBSD$ (...)

Re: Clang now builds world and kernel, on i386 and amd64

2010-09-23 Thread Dimitry Andric
On 2010-09-23 12:55, Bartosz Stec wrote: 0. Program arguments: /usr/bin/clang++ -cc1 -triple i386-undermydesk-freebsd9.0 -S -disable-free -main-file-name APFloat.cpp -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -target-cpu i486 -resource-dir /usr/lib/clang/2.8 -D

Re: Error message while updating src for FreeBSD 9 current

2010-09-23 Thread Ralph Ellis
Niclas Zeising wrote: On 2010-09-23 04:29, Ralph Ellis wrote: Hi, I recently upgraded my FreeBSD 8.1 installation to FreeBSD 9 current via buildworld and buildkernel. I was able to one general ports, src and doc update by cvsup but now I am getting the following error message when I do a src

Re: Clang now builds world and kernel, on i386 and amd64

2010-09-23 Thread Bartosz Stec
On 2010-09-23 13:21, Dimitry Andric wrote: I cannot reproduce this here, running the exact command printed above. What is the output of /usr/bin/clang++ -v ? # /usr/bin/clang++ -v FreeBSD clang version 2.8 (branches/release_28 114020) 20100917 Target: i386-undermydesk-freebsd9.0 Thread

[SPAM] Re: Error message while updating src for FreeBSD 9 current

2010-09-23 Thread Niclas Zeising
On 2010-09-23 13:21, Ralph Ellis wrote: Niclas Zeising wrote: On 2010-09-23 04:29, Ralph Ellis wrote: Hi, I recently upgraded my FreeBSD 8.1 installation to FreeBSD 9 current via buildworld and buildkernel. I was able to one general ports, src and doc update by cvsup but now I am getting the

Re: [SPAM] Re: Error message while updating src for FreeBSD 9 current

2010-09-23 Thread Bartosz Stec
On 2010-09-23 13:36, Niclas Zeising wrote: On 2010-09-23 13:21, Ralph Ellis wrote: Niclas Zeising wrote: On 2010-09-23 04:29, Ralph Ellis wrote: Hi, I recently upgraded my FreeBSD 8.1 installation to FreeBSD 9 current via buildworld and buildkernel. I was able to one general ports, src and

Re: Error message while updating src for FreeBSD 9 current

2010-09-23 Thread Bartosz Stec
W dniu 2010-09-23 14:02, Bartosz Stec pisze: I am using cvsup. I had recompiled my VirtualBox port but I had not finished recompiling the other major ports. Thanks for the suggestion. My make.conf is deliberately very plain jane with no special conditions or comments. Thanks Ralph Ellis

[SPAM] Re: Error message while updating src for FreeBSD 9 current

2010-09-23 Thread Niclas Zeising
On 2010-09-23 14:02, Bartosz Stec wrote: On 2010-09-23 13:36, Niclas Zeising wrote: On 2010-09-23 13:21, Ralph Ellis wrote: Niclas Zeising wrote: On 2010-09-23 04:29, Ralph Ellis wrote: Hi, I recently upgraded my FreeBSD 8.1 installation to FreeBSD 9 current via buildworld and buildkernel. I

Re: Clang now builds world and kernel, on i386 and amd64

2010-09-23 Thread Dimitry Andric
On 2010-09-23 13:24, Bartosz Stec wrote: I cannot reproduce this here, running the exact command printed above. What is the output of /usr/bin/clang++ -v ? # /usr/bin/clang++ -v FreeBSD clang version 2.8 (branches/release_28 114020) 20100917 Target: i386-undermydesk-freebsd9.0 Thread model:

panic in uma_startup for many-core amd64 system

2010-09-23 Thread Andriy Gapon
Jeff, just for the kicks I tried to emulate a machine with 64 logical CPUs using qemu-devel port: qemu-system-x86_64 -smp sockets=4,cores=8,threads=2 ... It seems that FreeBSD agreed to recognize only first 32 CPUs, but it paniced anyway. Here's a backtrace: #34 0x804fe7f5 in

sys/conf/files aicasm

2010-09-23 Thread mdf
I can't say I understand much about the syntax of the top part of sys/conf/files, but this line: aicasm optional ahc | ahd \ dependency $S/dev/aic7xxx/aicasm/*.[chyl] \ compile-withCC='${CC}' ${MAKE} -f

Re: [SPAM] Re: Error message while updating src for FreeBSD 9 current

2010-09-23 Thread Ralph Ellis
Niclas Zeising wrote: On 2010-09-23 14:02, Bartosz Stec wrote: On 2010-09-23 13:36, Niclas Zeising wrote: On 2010-09-23 13:21, Ralph Ellis wrote: Niclas Zeising wrote: On 2010-09-23 04:29, Ralph Ellis wrote: Hi, I recently upgraded my FreeBSD 8.1 installation to FreeBSD 9 current via