Date: Tue, 03 Sep 2002 09:01:07 -0700 From: Peter Wemm <peter@wemm.org> To: Alexander Kabaev <ak03@gte.com> Cc: ticso@cicely.de, ticso@cicely5.cicely.de, des@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: alpha tinderbox failure - kernel is broken. Message-ID: <20020903160107.A43962A893@canning.wemm.org> In-Reply-To: <20020903105801.140b59a9.ak03@gte.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Kabaev wrote:
> On Tue, 3 Sep 2002 16:56:52 +0200
> Bernd Walter <ticso@cicely5.cicely.de> 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 pwroot@ashburton.netplex.com.au:/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 <uitm@zenon.net>, Dmitry Kim <jason@nichego.net>
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 <uitm@zenon.net> (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 - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020903160107.A43962A893>
