[gentoo-user] unable to compile seamonkey-2.9.1-r2

2012-06-08 Thread Raffaele BELARDI
I'm on an old 512Mb RAM / 1Gb swap system.

Up to seamonkey-2.9.1 I was able to build from sources.

emerging 2.9.1-r2 dies with collect2: ld terminated with signal 9
[Killed] and I see swap space being eaten up quickly towards the end of
the build.

gcc is 4.6.3, I also tried 4.5.3 with same result. Building from a
console without X and all the servers down hits the same problem.

CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer

I browsed through gcc options and did not find anything to minimize
memory requirements other than reducing optimization level, but I
suppose that impacts on compilation and the problem occurs during linking.

Do I have any option other than increasing the swap space or going with
the -bin package?

thanks,

raffaele


Re: [gentoo-user] unable to compile seamonkey-2.9.1-r2

2012-06-08 Thread Pandu Poluan
On Jun 8, 2012 1:16 PM, Raffaele BELARDI raffaele.bela...@st.com wrote:

 I'm on an old 512Mb RAM / 1Gb swap system.

 Up to seamonkey-2.9.1 I was able to build from sources.

 emerging 2.9.1-r2 dies with collect2: ld terminated with signal 9
 [Killed] and I see swap space being eaten up quickly towards the end of
 the build.

 gcc is 4.6.3, I also tried 4.5.3 with same result. Building from a
 console without X and all the servers down hits the same problem.

 CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer

 I browsed through gcc options and did not find anything to minimize
 memory requirements other than reducing optimization level, but I
 suppose that impacts on compilation and the problem occurs during linking.

 Do I have any option other than increasing the swap space or going with
 the -bin package?

 thanks,

 raffaele

What's wrong with temporarily increasing swap space using swap files?

Rgds,


Re: [gentoo-user] unable to compile seamonkey-2.9.1-r2

2012-06-08 Thread Neil Bothwick
On Fri, 8 Jun 2012 08:12:37 +0200, Raffaele BELARDI wrote:

 emerging 2.9.1-r2 dies with collect2: ld terminated with signal 9
 [Killed] and I see swap space being eaten up quickly towards the end of
 the build.
 
 gcc is 4.6.3, I also tried 4.5.3 with same result. Building from a
 console without X and all the servers down hits the same problem.
 
 CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer

Try removing -pipe, that will reduce memory usage but I'm not sure by how
much. Adding swap space is probably your best option.


-- 
Neil Bothwick

USENET: Uniting Spammers, Erotomaniacs, Newbies, Extroverts and Trolls


signature.asc
Description: PGP signature


Re: [gentoo-user] unable to compile seamonkey-2.9.1-r2

2012-06-08 Thread Raffaele BELARDI
On 06/08/2012 09:29 AM, Pandu Poluan wrote:
 On Jun 8, 2012 1:16 PM, Raffaele BELARDI raffaele.bela...@st.com

 I'm on an old 512Mb RAM / 1Gb swap system.

 emerging 2.9.1-r2 dies with collect2: ld terminated with signal 9
 [Killed] and I see swap space being eaten up quickly towards the end of
 the build.
 
 What's wrong with temporarily increasing swap space using swap files?
 

Nothing, I just didn't think about it :-)
Will try right away.

thanks,

raffaele


Re: [gentoo-user] unable to compile seamonkey-2.9.1-r2

2012-06-08 Thread Raffaele BELARDI
On 06/08/2012 09:29 AM, Pandu Poluan wrote:
 On Jun 8, 2012 1:16 PM, Raffaele BELARDI raffaele.bela...@st.com

 I'm on an old 512Mb RAM / 1Gb swap system.

 Up to seamonkey-2.9.1 I was able to build from sources.

 emerging 2.9.1-r2 dies with collect2: ld terminated with signal 9
 [Killed] and I see swap space being eaten up quickly towards the end of
 the build.
 
 What's wrong with temporarily increasing swap space using swap files?
 

It worked, thanks.

raffaele