Alexander Kabaev wrote: > On Tue, 3 Sep 2002 16:56:52 +0200 > Bernd Walter <[EMAIL PROTECTED]> wrote: > > > > Do you think this is the same reason? > > > > Yes.
Folks, it is a *kernel* problem: peter@ashburton[6:38pm]~-111> cc -v Using built-in specs. Configured with: FreeBSD/alpha system compiler Thread model: posix gcc version 3.1 [FreeBSD] 20020509 (prerelease) peter@ashburton[6:38pm]~-112> c++ -static -o foo foo.c peter@ashburton[6:39pm]~-113> ./foo Abort(core dumped) peter@ashburton[6:39pm]~-114> uname -a FreeBSD ashburton.netplex.com.au 5.0-CURRENT FreeBSD 5.0-CURRENT #15: Sat Aug 31 16:02:39 PDT 2002 [EMAIL PROTECTED]:/home/src/sys/alpha/compile/ASHBURTON alpha gcc-3.2.1 is not at fault. If it isn't kernel, it is library related. But Matt Dillon did commit a couple of changes in this area very recently. I think we should be looking around here: dillon 2002/06/25 17:29:28 PDT Modified files: sys/sys resource.h sys/vm vm_mmap.c vm_unix.c Log: Part I of RLIMIT_VMEM implementation. Implement core functionality for a new resource limit that covers a process's entire VM space, including mmap()'d space. (Part II will be additional code to check RLIMIT_VMEM during exec() but it needs more fleshing out). PR: kern/18209 Submitted by: Andrey Alekseyev <[EMAIL PROTECTED]>, Dmitry Kim <[EMAIL PROTECTED]> MFC after: 7 days Revision Changes Path 1.18 +3 -1 src/sys/sys/resource.h 1.149 +7 -0 src/sys/vm/vm_mmap.c 1.40 +5 -0 src/sys/vm/vm_unix.c dillon 2002/08/30 11:09:46 PDT Modified files: sys/kern imgact_elf.c sys/compat/svr4 svr4_misc.c svr4_resource.c Log: Implement data, text, and vmem limit checking in the elf loader and svr4 compat code. Clean up accounting for multiple segments. Part 1/2. Submitted by: Andrey Alekseyev <[EMAIL PROTECTED]> (with some modifications) MFC after: 3 days Revision Changes Path 1.50 +2 -3 src/sys/compat/svr4/svr4_misc.c 1.11 +1 -1 src/sys/compat/svr4/svr4_resource.c 1.121 +33 -10 src/sys/kern/imgact_elf.c Probably the later one, the timing is about right. Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message