GentooThis forum is for the discussion of Gentoo Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 2 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have recently found that chromium requires about 6GB of RAM to compile on my 64bit system (with options gnome, cups and all the locales). Whilst my system RAM had 4GB it obviously started swapping at some point and subsequently progress was much slower, as expected.
It's a beast to compile and the persuading reason for me to buy more RAM. If your CPU is 32 bit then this will continue to be an issue for you as you'll be limited to 4GB of RAM.
6GB RAM? wow!I compile firefox on my netbook with 1GB.
Anyway, if you need a web browser quickly, you can install firefox-bin (precompiled firefox), as there is no chromium-bin on the official portage tree.
True, I use firefox as my number 2 and epiphany as my number 3
A little bit of research shows that it's the linking that is the big RAM user and the recommended build host is a 64 bit host:
Even if you're building a 32-bit executable, you need a 64-bit machine since linking requires >4GB virtual memory.
As chance would have it I upgraded to chromium 20.0.1132.57 today. These are my simple build stats for emerge, package creation and installation:
ged # time LINGUAS="bg en_GB uk" emerge -vu chromium
ld was the RAM hog taking ~34% of 12GB ( not closely monitored to see the max ). Bear in mind this is also using -j4 in /etc/make.conf on a 3.x GHz quad-core Phenom II. It was much slower when on 4GB, 3-4 hrs maybe.
However, my emerge sync is from today and the build was successful. Note that it's a minor bump from the version the OP was trying to build, .43 vs .57.
So I guess the solutions for the OP could be:
Get chromium built on a 64 bit host somewhere ( cloud VM perhaps? )
Use an alternative GUI browser ( /usr/portage/www-client/ )
Use pre-built chromium built binaries, if available for gentoo hardened ( as the OP is using )
Try release 20.0.1132.57 in case .43 did have a build bug (?) whilst keeping fingers crossed.
Distribution: Gentoo Hardened using OpenRC not Systemd
RAM is definitely the issue. I have 512mb ram, and 512mb swap also, 1ghz cpu. Before chromium failed on compile, it was taking at least 2 days to get that far. I found out chromium may not of been as light weight as I thought, so I am using uzbl-tabbed and might also install midori. I have a desktop with 4gb ram, 64-bit Fedora, and 2.8ghz cpu. I've been trying to get distcc working. I'll make another post for that.
How can I clean up from the half install/emerge of chromium since I won't be using it?
How can I remove the dependencies that were compiled and installed for chromium through emerge?
BTW, I am using Uzbl Tabbed uzbl-tabbed right now, and I love it, light weight for my computer with limited resources and I can browse the web entire with the keyboard like VIM, never really need to touch the mouse. I might add Midori just to have a backup browser I can use or something else to experiment with, not sure tho. Firefox would definitely clobber all my RAM, then swap and then say FEED ME MORE!
Bumping this thread because the same error just happened to me on VMware Player with 1 GB of allocated RAM. I solved this by increasing the VM's RAM to 2 GB.
Also, I recently compiled Chromium successfully on my Pentium Dual Core with 2 GB of DDR1.
Also, as a little bonus, if you have a small Linux partition and emerge complains about low disk space (such as in LibreOffice requiring like 6 GB of temporary space), try setting up a loop device and linking /var/tmp to your loop device, like this: