WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: The longest native compilation  (Read 8790 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
The longest native compilation
« on: April 17, 2013, 04:47:43 PM »
I'm just making webkit on Pi 512M RAM native. After 2days 6 hours not yet finished. Good point it compiles, no errors, no crashes. Swap usage is 250M.

So 8 hours for a GCC build is nothing :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: The longest native compilation
« Reply #1 on: April 17, 2013, 05:11:31 PM »
Hi bmarkus
This sounds like a job for distcc and a network of Raspberrys.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: The longest native compilation
« Reply #2 on: April 17, 2013, 05:41:24 PM »
You just -know- you forgot some little setting that won't be obvious until the end.  :)

Does the Pi get hot when you make it work that hard for that long?
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: The longest native compilation
« Reply #3 on: April 18, 2013, 01:56:00 AM »
You just -know- you forgot some little setting that won't be obvious until the end.  :)

Hope not. I spent lot of time with dependencies and conf parameters but who knows still I try it

Does the Pi get hot when you make it work that hard for that long?

Didn't check temperature but don't think it is a problem. It is running on fix clock.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: The longest native compilation
« Reply #4 on: April 18, 2013, 07:40:20 PM »
Does the Pi get hot when you make it work that hard for that long?
My Pi spent two days trying to compile SVN (somehow the make script had got itself into an infinite loop. Can't remember the details, but I've seen it happen twice now. Will write up something about it next time, thuogh it could be specific to my build tools). Desipte running at 100% CPU and almost maxed out RAM usage, it only got mildly warm.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: The longest native compilation
« Reply #5 on: April 19, 2013, 02:23:02 AM »
It is still running, but doesn't look infinite loop. Just a simple make command used.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: The longest native compilation
« Reply #6 on: April 19, 2013, 03:47:27 AM »
After 3 days and 16 hours compilation aborted. Just an 'Error 1', no details. Rerunning make you can see that both RAM and SWAP usage goes to the top so it is an out of resources issue. Need reduced video RAM, adjusted swappiness and more swap. And compilation in CLI not GUI.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

aus9

  • Guest
Re: The longest native compilation
« Reply #7 on: April 19, 2013, 04:21:50 AM »
would it be possible for one of us, with a  x686 to cross-compile for you?

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: The longest native compilation
« Reply #8 on: April 19, 2013, 04:48:50 AM »
It is still running, but doesn't look infinite loop. Just a simple make command used.
Ah, details of my infinite looping have crept back in to brain - I didn't have the clock set, and some of the files extracted from the tar archive thus had their dates about 50 years ahead of the Pi. This apparently confuses make/gcc/etc horribly.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: The longest native compilation
« Reply #9 on: April 19, 2013, 06:32:48 AM »
would it be possible for one of us, with a  x686 to cross-compile for you?

Contribution is always welcome. Let me know when you have a working webkit :)
« Last Edit: April 19, 2013, 06:48:49 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: The longest native compilation
« Reply #10 on: April 19, 2013, 06:49:25 AM »
Now I see the real error message, missing declarations...
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

aus9

  • Guest
Re: The longest native compilation
« Reply #11 on: April 19, 2013, 08:49:01 AM »
I did not wish to imply I already had one, but I assume cross-compiling can be done yes?

if so is this your source?
http://nightly.webkit.org/builds/trunk/src/1

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: The longest native compilation
« Reply #12 on: April 19, 2013, 09:05:52 AM »
Not using nightly builds, only stable releases.

I'm cross compiling only kernel and eglibc.

But don't ask me, I have my own preferences. Do it :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline mocore

  • Hero Member
  • *****
  • Posts: 616
  • ~.~
Re: The longest native compilation
« Reply #13 on: April 20, 2013, 02:01:12 PM »
I'm cross compiling only kernel and eglibc.

ahh now i relay start to see more of the advantages  raspi has to offer http://xkcd.com/303/#Compiling
« Last Edit: April 20, 2013, 02:11:52 PM by dubcore »