Aaron Gray
2007-Feb-18 19:00 UTC
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
There seems to be a problem with the LLVM Cygwin configuration. Cygwin does not support the RLIMIT_RSS symbol. llvm[1]: Compiling Program.cpp for Debug build /usr/src/llvm/lib/System/Unix/Program.inc: In function 'void llvm::SetMemoryLimi ts(unsigned int)': /usr/src/llvm/lib/System/Unix/Program.inc:123: error: 'RLIMIT_RSS' was not decla red in this scope make[1]: *** [/usr/build/llvm/lib/System/Debug/Program.o] Error 1 make[1]: Leaving directory `/usr/build/llvm/lib/System' make: *** [all] Error 1 I am not really up on LLVM configuration otherwise I would look into the problem myself. Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070218/1f72bfa5/attachment.html>
Aaron Gray
2007-Feb-18 19:35 UTC
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
This may well actually be a problem with the Cygwin getgid() function. Aaron ----- Original Message ----- From: Aaron Gray To: LLVM Developers Mailing List Sent: Sunday, February 18, 2007 7:00 PM Subject: [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem There seems to be a problem with the LLVM Cygwin configuration. Cygwin does not support the RLIMIT_RSS symbol. llvm[1]: Compiling Program.cpp for Debug build /usr/src/llvm/lib/System/Unix/Program.inc: In function 'void llvm::SetMemoryLimi ts(unsigned int)': /usr/src/llvm/lib/System/Unix/Program.inc:123: error: 'RLIMIT_RSS' was not decla red in this scope make[1]: *** [/usr/build/llvm/lib/System/Debug/Program.o] Error 1 make[1]: Leaving directory `/usr/build/llvm/lib/System' make: *** [all] Error 1 I am not really up on LLVM configuration otherwise I would look into the problem myself. Aaron ------------------------------------------------------------------------------ _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.1/691 - Release Date: 17/02/2007 17:06 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070218/ad00d7d9/attachment.html>
Aaron Gray
2007-Feb-18 19:42 UTC
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
No not a problem related to getgid(). ----- Original Message ----- From: Aaron Gray To: LLVM Developers Mailing List Sent: Sunday, February 18, 2007 7:35 PM Subject: Re: [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem This may well actually be a problem with the Cygwin getgid() function. Aaron ----- Original Message ----- From: Aaron Gray To: LLVM Developers Mailing List Sent: Sunday, February 18, 2007 7:00 PM Subject: [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem There seems to be a problem with the LLVM Cygwin configuration. Cygwin does not support the RLIMIT_RSS symbol. llvm[1]: Compiling Program.cpp for Debug build /usr/src/llvm/lib/System/Unix/Program.inc: In function 'void llvm::SetMemoryLimi ts(unsigned int)': /usr/src/llvm/lib/System/Unix/Program.inc:123: error: 'RLIMIT_RSS' was not decla red in this scope make[1]: *** [/usr/build/llvm/lib/System/Debug/Program.o] Error 1 make[1]: Leaving directory `/usr/build/llvm/lib/System' make: *** [all] Error 1 I am not really up on LLVM configuration otherwise I would look into the problem myself. Aaron ---------------------------------------------------------------------------- _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev ---------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.1/691 - Release Date: 17/02/2007 17:06 ------------------------------------------------------------------------------ _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.1/691 - Release Date: 17/02/2007 17:06 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070218/c127627f/attachment.html>
Aaron Gray
2007-Feb-18 19:50 UTC
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
In order to get Cygwin working there is a need to add a HAVE_RLIMIT_RSS and associated logic. Aaron ----- Original Message ----- From: Aaron Gray To: LLVM Developers Mailing List Sent: Sunday, February 18, 2007 7:00 PM Subject: [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem There seems to be a problem with the LLVM Cygwin configuration. Cygwin does not support the RLIMIT_RSS symbol. llvm[1]: Compiling Program.cpp for Debug build /usr/src/llvm/lib/System/Unix/Program.inc: In function 'void llvm::SetMemoryLimi ts(unsigned int)': /usr/src/llvm/lib/System/Unix/Program.inc:123: error: 'RLIMIT_RSS' was not decla red in this scope make[1]: *** [/usr/build/llvm/lib/System/Debug/Program.o] Error 1 make[1]: Leaving directory `/usr/build/llvm/lib/System' make: *** [all] Error 1 I am not really up on LLVM configuration otherwise I would look into the problem myself. Aaron ------------------------------------------------------------------------------ _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.1/691 - Release Date: 17/02/2007 17:06 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070218/58a6e40b/attachment.html>
Reid Spencer
2007-Feb-18 20:32 UTC
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
Hi Aaaron, On Sun, 2007-02-18 at 19:50 +0000, Aaron Gray wrote:> In order to get Cygwin working there is a need to add a > HAVE_RLIMIT_RSS and associated logic.This was just recently added. Does cygwin even have getrlimit and setrlimit? IIRC correctly, it doesn't. So, perhaps these functions need to be written differently for Cygwin. What's the equivalent win32 call? If cygwin does have getrlimit/setrlimit then we'll have to figure out what RLIMIT_RSS should be under cygwin. Is there the notion of running set size under cygwin? Reid.> > Aaron > > ----- Original Message ----- > From: Aaron Gray > To: LLVM Developers Mailing List > Sent: Sunday, February 18, 2007 7:00 PM > Subject: [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration > problem > > > There seems to be a problem with the LLVM Cygwin > configuration. Cygwin does not support the RLIMIT_RSS symbol. > > llvm[1]: Compiling Program.cpp for Debug build > /usr/src/llvm/lib/System/Unix/Program.inc: In function 'void > llvm::SetMemoryLimi > ts(unsigned int)': > /usr/src/llvm/lib/System/Unix/Program.inc:123: error: > 'RLIMIT_RSS' was not decla > red in this scope > make[1]: *** [/usr/build/llvm/lib/System/Debug/Program.o] > Error 1 > make[1]: Leaving directory `/usr/build/llvm/lib/System' > make: *** [all] Error 1 > > I am not really up on LLVM configuration otherwise I would > look into the problem myself. > > Aaron > > > ______________________________________________________________ > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > ______________________________________________________________ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.441 / Virus Database: 268.18.1/691 - Release > Date: 17/02/2007 17:06 > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Anton Korobeynikov
2007-Feb-19 18:27 UTC
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
Hello, Reid.> to be written differently for Cygwin. What's the equivalent win32 call?I can be wrong, but there is no direct equivalent in WinAPI. AFAIK, there are only few possibilities to set such limits on "pure" win32 subsystem. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
Reasonably Related Threads
- [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
- [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
- [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
- [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
- [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem