search for: setmemorylimit

Displaying 7 results from an estimated 7 matches for "setmemorylimit".

Did you mean: setmemorylimi
2007 Apr 12
3
[LLVMdev] compilation failure on OS X powerpc
I have an ibook G4 (powerpc) running OS X panther. I am using gcc 4.0.3 installed from Darwin Ports to compile llvm. When I try to compile llvm, I get the following error: llvm[1]: Compiling Program.cpp for Debug build Unix/Program.inc: In function 'void llvm::SetMemoryLimits(unsigned int)': Unix/Program.inc:127: error: 'RLIMIT_AS' was not declared in this scope Does anyone know what the problem is? Regards, Ryan
2007 Apr 12
0
[LLVMdev] compilation failure on OS X powerpc
...e: > I have an ibook G4 (powerpc) running OS X panther. I am using gcc 4.0.3 > installed from Darwin Ports to compile llvm. When I try to compile > llvm, I get the following error: > > llvm[1]: Compiling Program.cpp for Debug build > Unix/Program.inc: In function 'void llvm::SetMemoryLimits(unsigned int)': > Unix/Program.inc:127: error: 'RLIMIT_AS' was not declared in this scope I don't know much about darwin ports. I assume it's an FSF version of GCC? If so, I strongly recommend against using it. FSF GCC has a number of minor ABI differences with Apple G...
2009 Jul 17
3
[LLVMdev] [PATCH 1/2] Trailing whitespace.
...+ // Get the path. If its empty, we can't do anything to find it. const char *PathStr = getenv("PATH"); - if (PathStr == 0) + if (PathStr == 0) return Path(); // Now we have a colon separated list of directories to search; try them. @@ -142,14 +142,14 @@ static void SetMemoryLimits (unsigned size) #endif } -int -Program::ExecuteAndWait(const Path& path, +int +Program::ExecuteAndWait(const Path& path, const char** args, const char** envp, const Path** redirects, u...
2007 Jun 04
1
[LLVMdev] Patch to build on NetBSD
...============================================================= RCS file: /var/cvs/llvm/llvm/lib/System/Unix/Program.inc,v retrieving revision 1.24 diff -u -p -r1.24 Program.inc --- Program.inc 23 Apr 2007 07:22:51 -0000 1.24 +++ Program.inc 4 Jun 2007 13:05:22 -0000 @@ -125,11 +125,13 @@ static void SetMemoryLimits (unsigned si r.rlim_cur = limit; setrlimit (RLIMIT_RSS, &r); #endif +#ifdef RLIMIT_AS // e.g. NetBSD doesn't have it. // Virtual memory. getrlimit (RLIMIT_AS, &r); r.rlim_cur = limit; setrlimit (RLIMIT_AS, &r); #endif +#endif } int
2007 Apr 12
2
[LLVMdev] compilation failure on OS X powerpc
...n ibook G4 (powerpc) running OS X panther. I am using gcc 4.0.3 >>installed from Darwin Ports to compile llvm. When I try to compile >>llvm, I get the following error: >> >>llvm[1]: Compiling Program.cpp for Debug build >>Unix/Program.inc: In function 'void llvm::SetMemoryLimits(unsigned int)': >>Unix/Program.inc:127: error: 'RLIMIT_AS' was not declared in this scope > > > I don't know much about darwin ports. I assume it's an FSF version of > GCC? If so, I strongly recommend against using it. FSF GCC has a number > of minor...
2007 Apr 12
1
[LLVMdev] compilation failure on OS X powerpc
...erpc) running OS X panther. I am using gcc >> 4.0.3 >> installed from Darwin Ports to compile llvm. When I try to compile >> llvm, I get the following error: >> >> llvm[1]: Compiling Program.cpp for Debug build >> Unix/Program.inc: In function 'void llvm::SetMemoryLimits(unsigned >> int)': >> Unix/Program.inc:127: error: 'RLIMIT_AS' was not declared in this >> scope > > I don't know much about darwin ports. I assume it's an FSF version of > GCC? If so, I strongly recommend against using it. FSF GCC has a >...
2007 Apr 12
0
[LLVMdev] compilation failure on OS X powerpc
...ning OS X panther. I am using gcc 4.0.3 >>> installed from Darwin Ports to compile llvm. When I try to compile >>> llvm, I get the following error: >>> >>> llvm[1]: Compiling Program.cpp for Debug build >>> Unix/Program.inc: In function 'void llvm::SetMemoryLimits(unsigned int)': >>> Unix/Program.inc:127: error: 'RLIMIT_AS' was not declared in this scope >> >> >> I don't know much about darwin ports. I assume it's an FSF version of >> GCC? If so, I strongly recommend against using it. FSF GCC has a num...