Inline function (difficult debug)

2009-06-04 Thread Menshikov Konstantin
Hi. My system FreeBSD 7.1 RELEASE periodically freeze. I`m compiling kernel with WITNESS and get backtrace. #0 doadump () at pcpu.h:195 #1 0x801a899c in db_fncall (dummy1=Variable dummy1 is not available. ) at /usr/src/sys/ddb/db_command.c:516 #2 0x801a8ecf in db_command

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

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/clangbsd/

Re: Inline function (difficult debug)

2009-06-04 Thread John Baldwin
On Thursday 04 June 2009 5:24:07 am Menshikov Konstantin wrote: Hi. My system FreeBSD 7.1 RELEASE periodically freeze. I`m compiling kernel with WITNESS and get backtrace. #0 doadump () at pcpu.h:195 #1 0x801a899c in db_fncall (dummy1=Variable dummy1 is not available. ) at

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 want to

Re: Inline function (difficult debug)

2009-06-04 Thread Menshikov Konstantin
John Baldwin wrote: On Thursday 04 June 2009 5:24:07 am Menshikov Konstantin wrote: Hi. My system FreeBSD 7.1 RELEASE periodically freeze. I`m compiling kernel with WITNESS and get backtrace. #0 doadump () at pcpu.h:195 #1 0x801a899c in db_fncall (dummy1=Variable dummy1 is not

looking for style(9) configuration for Eclipse

2009-06-04 Thread Carlos A. M. dos Santos
Is there any document describing how to configure Eclipse for style(9) compliance? Eclipse is the official IDE of the project I'm working on. We use code taken from FreeBSD, making some changes that my company plans to contribute back, so I'd like to keep the formatting compliant to style(9). The

Re: Inline function (difficult debug)

2009-06-04 Thread Menshikov Konstantin
Menshikov Konstantin wrote: John Baldwin wrote: On Thursday 04 June 2009 5:24:07 am Menshikov Konstantin wrote: Hi. My system FreeBSD 7.1 RELEASE periodically freeze. I`m compiling kernel with WITNESS and get backtrace. #0 doadump () at pcpu.h:195 #1 0x801a899c in db_fncall

Jails, loopback interfaces and sendmail

2009-06-04 Thread Dirk Engling
Dear fellow hackers, since jail can be bound on multiple IP addresses I tend to clone multiple loopback interfaces and add one loopback address to each jail cloned_interfaces=lo1 lo2 lo3 ifconfig_lo1_alias0=inet 127.0.0.2 netmask 0x ifconfig_lo2_alias0=inet 127.0.0.3 netmask 0x

Re: Jails, loopback interfaces and sendmail

2009-06-04 Thread Wojciech Puchar
However, grep -R 127.0.0.1 /etc reveals, that sendmail in many places assumes localhost to be on 127.0.0.1 instead of looking it up in /etc/hosts or using 127.0.0.0/8 to identify a local connection. calling 127.0.0.1 from jail always loops back within jail. it's all fine. I worry that more

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 e...@80386.nl 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:        

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

Re: Jails, loopback interfaces and sendmail

2009-06-04 Thread Glen Barber
Hi, Dirk On Thu, Jun 4, 2009 at 10:00 AM, Dirk Engling erdge...@erdgeist.org wrote: Dear fellow hackers, since jail can be bound on multiple IP addresses I tend to clone multiple loopback interfaces and add one loopback address to each jail cloned_interfaces=lo1 lo2 lo3

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

Re: Jails, loopback interfaces and sendmail

2009-06-04 Thread Bjoern A. Zeeb
On Thu, 4 Jun 2009, Dirk Engling wrote: Hi, However, grep -R 127.0.0.1 /etc reveals, that sendmail in many places assumes localhost to be on 127.0.0.1 instead of looking it up in /etc/hosts or using 127.0.0.0/8 to identify a local connection. or possibly other methods that would find even

Re: Jails, loopback interfaces and sendmail

2009-06-04 Thread Gregory Shapiro
If programmers assume 127.0.0.1 is hte one and only loopback it's because of two things - 1) this has been done in the very old days where people updated the hosts file with uucp to know all hosts in the nwetwork and was never updated. or 2) they are clueless or lazy. To avoid being labeled

Re: Jails, loopback interfaces and sendmail

2009-06-04 Thread Bjoern A. Zeeb
On Thu, 4 Jun 2009, Gregory Shapiro wrote: If programmers assume 127.0.0.1 is hte one and only loopback it's because of two things - 1) this has been done in the very old days where people updated the hosts file with uucp to know all hosts in the nwetwork and was never updated. or 2) they are

Re: Jails, loopback interfaces and sendmail

2009-06-04 Thread Gregory Shapiro
8.12.7/8.12.7 2002/12/29 yes, that's not from stone age:( Well, the way things move, it almost is. :) Have you ever thought about having those files changed just for FreeBSD? Or had there been porblems on FreeBSD systems with localhost as well? Now that you mention it, we are already

Re: Jails, loopback interfaces and sendmail

2009-06-04 Thread Gregory Shapiro
I'll check with Claus to see if he remembers. Claus still had the mail archive from back then. It was my scenario. Specifically, Linux systems with certain versions of glibc would append the domain/search in /etc/resolv.conf causing localhost lookups to possibly return offsite systems. This

Re: Jails, loopback interfaces and sendmail

2009-06-04 Thread Gregory Shapiro
Now that you mention it, we are already using separate FreeBSD files in src/etc/sendmail/freebsd{,.submit}.mc so I can do something different for FreeBSD. I think we are still in code slush and not freeze for 8.0. I'll double check and if so, make the change tonight (with a note in