Re: Compiler flags and memory usage

2014-06-16 Thread Andrew Lutomirski
On Sun, Jun 15, 2014 at 12:43 PM, Antonio Trande wrote: > Hi John. > > On 06/15/2014 08:43 PM, John Reiser wrote: >>> These compilations have been particularly annoying because it was >>> nearly impossible to compile on my PC without blocks dependent by >>> *high* memory usage. >> >> How much RAM

Re: Compiler flags and memory usage

2014-06-16 Thread Antonio Trande
> > Given today's memory prices ... just buy an additional ram stick and > be done with it ;) > I wish but my hardware does not support more than 4GB of RAM. :( -- Antonio Trande mailto: sagitterATfedoraproject.org http://www.fedoraos.worpress.com https://fedoraproject.org/wiki/User:Sagitter

Re: Compiler flags and memory usage

2014-06-16 Thread drago01
On Mon, Jun 16, 2014 at 8:02 PM, Antonio Trande wrote: > On 06/16/2014 12:12 AM, Kevin Kofler wrote: >> Antonio Trande wrote: >>> To pass these problems, I had to decrease '-O' optimization flag >>> gradually to '-O1' or '-O0', latest attempt is the removal of '-pipe' >>> from RPM_OPT_FLAGS. >>> >

Re: Compiler flags and memory usage

2014-06-16 Thread Antonio Trande
On 06/16/2014 12:12 AM, Kevin Kofler wrote: > Antonio Trande wrote: >> To pass these problems, I had to decrease '-O' optimization flag >> gradually to '-O1' or '-O0', latest attempt is the removal of '-pipe' >> from RPM_OPT_FLAGS. >> >> What's best choice in these cases? > > Definitely not -O0, t

Re: Compiler flags and memory usage

2014-06-15 Thread John Reiser
> coin-or-lemon is still in f20 updates-testing repos Please mention such facts early and prominently. It saves time for those who try to help you. > So my RAM is not adequate. It *can* work, but your machine is not configured properly for large compiles: - > $ cat /proc/swaps > Filename

Re: Compiler flags and memory usage

2014-06-15 Thread Reindl Harald
Am 16.06.2014 00:12, schrieb Kevin Kofler: > Antonio Trande wrote: >> To pass these problems, I had to decrease '-O' optimization flag >> gradually to '-O1' or '-O0', latest attempt is the removal of '-pipe' >> from RPM_OPT_FLAGS. >> >> What's best choice in these cases? > > Definitely not -O0, t

Re: Compiler flags and memory usage

2014-06-15 Thread Kevin Kofler
Antonio Trande wrote: > To pass these problems, I had to decrease '-O' optimization flag > gradually to '-O1' or '-O0', latest attempt is the removal of '-pipe' > from RPM_OPT_FLAGS. > > What's best choice in these cases? Definitely not -O0, that generates really crappy (slow and large) code. I'd

Re: Compiler flags and memory usage

2014-06-15 Thread Antonio Trande
Hi John. On 06/15/2014 08:43 PM, John Reiser wrote: >> These compilations have been particularly annoying because it was >> nearly impossible to compile on my PC without blocks dependent by >> *high* memory usage. > > How much RAM and swap and free space does the build machine have? > ("sed 5q <

Re: Compiler flags and memory usage

2014-06-15 Thread John Reiser
> These compilations have been particularly annoying because it was > nearly impossible to compile on my PC without blocks dependent by > *high* memory usage. How much RAM and swap and free space does the build machine have? ("sed 5q < /proc/meminfo; cat /proc/swaps; df -h") The BuildRequires

Re: Compiler flags and memory usage

2014-06-15 Thread Antonio Trande
Errata corrige. On 06/15/2014 06:03 PM, Antonio Trande wrote: > These compilations have been particularly annoying because it was > nearly impossible to compile on my PC without blocks dependent by > hardly memory usage. These compilations have been particularly annoying because it was nearly imp

Compiler flags and memory usage

2014-06-15 Thread Antonio Trande
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. Recently, I encountered some problems with the compilation of various applications/libraries [1] from SeqAn project [2] of biological interest. These compilations have been particularly annoying because it was nearly impossible to compile on