Summary: | media-video/vlc-2.0.4 - Internal error: Killed (program cc1) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | martin.wiesner |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | 10.0 | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Output generated during build |
Description
martin.wiesner
2012-11-04 09:08:51 UTC
This almost certainly means that you are running out of memory and are triggering the OOM killer. Increase your swap and/or enable zram. (In reply to comment #1) > This almost certainly means that you are running out of memory and are > triggering the OOM killer. Increase your swap and/or enable zram. Good guess, but sadly no... :/ I just triggered a new build attempt and monitored the mem consumption via top, but memory and swap were *not* used (swap had approx. 188 of 196 mb free!) to the full amount. so memory is not the issue here. (In reply to comment #2) > (In reply to comment #1) > > This almost certainly means that you are running out of memory and are > > triggering the OOM killer. Increase your swap and/or enable zram. > > Good guess, but sadly no... :/ > > I just triggered a new build attempt and monitored the mem consumption via > top, but memory and swap were *not* used (swap had approx. 188 of 196 mb > free!) to the full amount. > > so memory is not the issue here. Ooooh, you might be right. I just had another run and saw the "mem"-busted issue for a tiny bit of a second in top. do you have any idea why this build consumes so much more memory all of a sudden? it looks very "normal" for most of the compile steps before and then ... boom! look at `dmesg`. if it is running out of memory, drop the -pipe flag. and change -O3 to -O2 You ran out of RAM. Simply cross-compile it. The RPI definitely ran out of mem, that is confirmed now. I reorganized the swap partition to have 4 times as much space (=1GB) than real memory has to offer which results in the VLC build succeeding :) One comment: -O3 -> -O2 and removing -pipe from gcc flags were not necessary and are intentionally set by me as my goal is to get highest performance out of the RPI. I think this "bug"/issue can be closed. Thanks for quick responses Best, Martin -pipe will not result in higher performance, it will only bypass the file system during build, causing increased memory usage. This can speed up the build if you have enough memory, but once you hit swap -pipe is going to be counter-productive. (In reply to comment #8) > -pipe will not result in higher performance, it will only bypass the file > system during build, causing increased memory usage. This can speed up the > build if you have enough memory, but once you hit swap -pipe is going to be > counter-productive. Thanks for that hint, sounds a "candidate" here. For all the others reading this post: -O3 runs rock solid on my RPI so far. No problems compiling or at runtime with other programs. Has anyone else experiences on "how much optimization" RPI can take running stable Gentoo? (In reply to comment #9) try dropping the -pipe |