Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209266 - dev-libs/boost-1.34.1-r2 fails with -j4
Summary: dev-libs/boost-1.34.1-r2 fails with -j4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-07 16:22 UTC by Georgi Georgiev
Modified: 2008-02-15 15:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-libs:boost-1.34.1-r2:20080207-134141.log (dev-libs:boost-1.34.1-r2:20080207-134141.log,35.51 KB, text/plain)
2008-02-07 16:23 UTC, Georgi Georgiev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2008-02-07 16:22:22 UTC
I get an error when compiling dev-libs/boost-1.34.1-r1 (upgrading from 1.33.1-r1). 

It failed twice at the same spot with -j4.

I tried it with -j1 and it seems to be doing just fine -- it passed the spot where it failed with -j4.
Comment 1 Georgi Georgiev 2008-02-07 16:23:18 UTC
Created attachment 142900 [details]
dev-libs:boost-1.34.1-r2:20080207-134141.log

There you go -- the build log.
Comment 2 Polarina 2008-02-07 16:34:36 UTC
It appears that the compiler crashed. I'm clueless as what might cause it as I'm unable to reproduce this. Is your RAM damaged?
Comment 3 Georgi Georgiev 2008-02-07 16:40:42 UTC
(In reply to comment #2)
> It appears that the compiler crashed. I'm clueless as what might cause it as
> I'm unable to reproduce this. Is your RAM damaged?
> 

Ooops, maybe I ran out of memory? Though I don't see any oom-killer killing gcc messages in the log.
Comment 4 Polarina 2008-02-07 16:45:44 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > It appears that the compiler crashed. I'm clueless as what might cause it as
> > I'm unable to reproduce this. Is your RAM damaged?
> > 
> 
> Ooops, maybe I ran out of memory? Though I don't see any oom-killer killing gcc
> messages in the log.
> 

Physically damaged. When data stored has changed next time it is read. There's a tool named memtest86+ which comes with the minimal install CD that can test your memory for data corruption.
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2008-02-07 17:22:02 UTC
How many cores do you have? And does it work with -j2?
Comment 6 Georgi Georgiev 2008-02-08 00:57:49 UTC
(In reply to comment #5)
> How many cores do you have? And does it work with -j2?

2 CPUs x 2 cores each = 4 total.

It did work with -j1.

I just tried it with -j2 and it also worked. I was also monitoring the free memory and saw it go down from 980M to 200M at times... I guess that when you throw two more parallel jobs in the mix it's not that weird to run out of memory (I have no swap).

(In reply to comment #4)
> Physically damaged. When data stored has changed next time it is read. There's
> a tool named memtest86+ which comes with the minimal install CD that can test
> your memory for data corruption.

I did test my RAM a couple of months ago and it's ECC RAM that I have so that shouldn't be the case. I just found out that I should compile the kernel with CONFIG_EDAC in order to actually see if everything's alright.
Comment 7 Georgi Georgiev 2008-02-15 15:13:45 UTC
Sorry for the noise, everyone. Closing as invalid -- I was really running out of memory.

/me going to the corner