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, that

Re: Compiler flags and memory usage

2014-06-16 Thread drago01
On Mon, Jun 16, 2014 at 8:02 PM, Antonio Trande anto.tra...@gmail.com 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

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 GPG

Re: Compiler flags and memory usage

2014-06-16 Thread Andrew Lutomirski
On Sun, Jun 15, 2014 at 12:43 PM, Antonio Trande anto.tra...@gmail.com 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

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

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

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 of

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 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 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