Author Topic: oe 3.5 compile time  (Read 2348 times)

agosine

  • Full Member
  • ***
  • Posts: 123
    • View Profile
oe 3.5 compile time
« on: September 03, 2004, 06:48:39 pm »
How long should it take to compile oemake opie-image on a P3 600MHz machine?  Mine ran for 53+ hours and then failed.  Will it always take that long?  I've installed ccache and psyco.  Not sure if they help.  Specifically is there a way to speed glibc-2.3.2+cvs20040726-r9 up?  I don't need every language.
« Last Edit: September 03, 2004, 06:49:42 pm by agosine »
SL5500 running nothing.  Will not hold a charge.  =(
C1000 running Sharp ROM

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
oe 3.5 compile time
« Reply #1 on: September 04, 2004, 09:09:33 am »
Quote
How long should it take to compile oemake opie-image on a P3 600MHz machine?  Mine ran for 53+ hours and then failed.  Will it always take that long?  I've installed ccache and psyco.  Not sure if they help.  Specifically is there a way to speed glibc-2.3.2+cvs20040726-r9 up?  I don't need every language.
On my P4 2.8 with 1GB RAM oemake opie-image takes about 2 hours.
Anyways, i think 53 hours is a little bit extreme. I can only guess that you don't have a lot of RAM in that box so that your system is swapping like mad.

And i agree that compiling libc is a PITA  
Webmaster of hentges.net & Embedded Linux Developer.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
oe 3.5 compile time
« Reply #2 on: September 04, 2004, 02:18:07 pm »
My PII 400 w. 64Mb RAM took 5.5 days, however I think it should have been quicker: I use a KVM switch to switch between my WinXP machine and the Linux box (at uni) and it appears that the double tap on scroll-lock (which is needed to change between the machines) was pausing the console on the Linux box - and therefore it didn't run until I switched back.

Possibly (I've not run exhaustive tests ;-) worth bearing in mind.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
oe 3.5 compile time
« Reply #3 on: September 04, 2004, 02:24:16 pm »
Quote
Specifically is there a way to speed glibc-2.3.2+cvs20040726-r9 up? I don't need every language.

Yes I also thought this.

However if you set 'CVSDATE=20040726' (I think that's the right var.) in your local.conf you won't have to do it again after the first run through. Or you could edit the glibc.oe (I assume the name's something like that) to pass different arguments to ./configure.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva