Camino 2.1a1pre [Gecko 1.9.2] (GCC 4.0.1, 10.5 SDK)

Talk about the native Mac OS X browser.

Moderator: Camino Developers

Post Reply
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Camino 2.1a1pre [Gecko 1.9.2] (GCC 4.0.1, 10.5 SDK)

Post by krmathis »

Highly experimental Camino 2.1a1pre build running Gecko 1.9.2.4pre.
NB! Be sure to make a backup of you profile first, as it may potentially "eat" your profile.

Please read this thread: Highly experimental Camino 2.1a1pre builds with Gecko 1.9.2

Cross-compiled on Mac OS 10.6 with GCC 4.0.1, against the 10.5 SDK and target 10.5.
Using this .mozconfig:

Code: Select all

ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk
ac_add_options --enable-optimize
ac_add_options --enable-static
ac_add_options --enable-application=camino
ac_add_options --enable-macos-target=10.5
ac_add_options --disable-crashreporter
ac_add_options --disable-shared
ac_add_options --disable-debug
ac_add_options --disable-tests

CC="gcc-4.0 -arch i386"
CXX="g++-4.0 -arch i386"
ac_add_options --target=i386-apple-darwin10.3.0
HOST_CC="gcc-4.0"
HOST_CXX="g++-4.0"
RANLIB=ranlib
AR=ar
AS=$CC
LD=ld
STRIP="strip -x -S"
CROSS_COMPILE=1

Camino 2010.04.09
Last edited by krmathis on August 27th, 2010, 6:16 am, edited 239 times in total.
iori
Posts: 5
Joined: July 16th, 2005, 3:14 pm

Post by iori »

great! thx !
Old davedit
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old davedit »

Haha, cool.

What kind of problem with Firefox?

I was wondering, should using a different SDK improve Camino performance? Or does it just change the speed of building? Or something else? (Other than the required OS version that is)
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Post by krmathis »

davedit wrote:Haha, cool.

What kind of problem with Firefox?
20-30 times each day the keyboard shortcuts and context menu becomes unresponsive.
Meaning, I cant copy/paste between tabs or "Open Link in New Tab".
https://bugzilla.mozilla.org/show_bug.cgi?id=299514
https://bugzilla.mozilla.org/show_bug.cgi?id=220900

Its been like this for a while, but the last 2 weeks it getting worse. Today I gave up!

I was wondering, should using a different SDK improve Camino performance? Or does it just change the speed of building? Or something else? (Other than the required OS version that is)
I think it might speed it up a little bit, not sure at all though.

I imagine that since I'm using target 10.4 and 10.4 SDK I get code that are even more optimized for my current OS. Using 10.3.9 SDK will create backward compatible code, which might slow it down.
Anybody correct or back me up please! ;)

Build time on my 1.5GHz PowerBook G4 -> around 1hour 15min.
Old davedit
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old davedit »

Hmm, interesting. I'll have to give it a whirl to see how it feels.

powerbook wrote:Build time on my 1.5GHz PowerBook G4 -> around 1hour 15min.

With a distclean? Or on average? That seems like a long build time if it's not including a distclean...
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Post by krmathis »

davedit wrote:
powerbook wrote:Build time on my 1.5GHz PowerBook G4 -> around 1hour 15min.

With a distclean? Or on average? That seems like a long build time if it's not including a distclean...

Thats with a clean MOZ_OBJDIR. From I start my shellscript until its finished.
* Check if tinderbox is green, orange or red (proceed if green).
* CVS checkout (incremental checkout, not from scratch).
* Build Camino.
* Create Disk Image and copy Camino.app to it.
* Compress Disk Image.

Whats your build time, and what hardware do you run?
Old davedit
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old davedit »

Well, Phoenix2005 does the builds on a 1.5ghz Powerbook G4 with 1gb of ram (I don't build them). I think (not sure) his usual build time is around 30 minutes, and like 1 hour and 20 minutes with a distclean.
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Post by krmathis »

He have the exact same setup as me (1.5GHz, 1GB Ram, 5400 rpm hdd).
The build times seems to be simular as well. Thank god!
Old davedit
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old davedit »

Ah good :)
mento
Posts: 180
Joined: April 23rd, 2005, 1:33 pm

Post by mento »

powerbook, some friendly advice: the 10.4u and 10.4.0 SDKs aren't currently recommended for Camino because of bug 299949. You should experience no difference in performance between the 10.4u, 10.4.0, and 10.3.9 SDKs.
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Post by krmathis »

Mento. I am aware of the bug, but I am willing to stay with 10.4u SDK anyway.
* I dont have a scrolling trackpad on my PowerBook.
* Somebody should compile to 10.4u to test it. Maybe there are other problems as well?
* There are no need for my build if I build with 10.3.9 SDK, since Phoenix2005 already do so.

I appreciate what you do for the Mac community. As without your help we would probably not been able to build Camino and Firefox on 10.4 yet. Thanks! :)
mento
Posts: 180
Joined: April 23rd, 2005, 1:33 pm

Post by mento »

I appreciate your willingness to test the bleeding edge with me.
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Post by krmathis »

mento wrote:I appreciate your willingness to test the bleeding edge with me.

We all have to take out share in making Camino an even better browser!
I am used to live on the "bleeding edge" (Firefox Trunk), so I am pretty sure I know how to handle it.
User avatar
Uncle Asad
Camino Developer
Posts: 3957
Joined: July 24th, 2004, 1:38 pm
Location: بين العالمين
Contact:

Post by Uncle Asad »

powerbook wrote:
mento wrote:I appreciate your willingness to test the bleeding edge with me.

We all have to take out share in making Camino an even better browser!
I am used to live on the "bleeding edge" (Firefox Trunk), so I am pretty sure I know how to handle it.

See, we're all used to Camino nightlies being rock solid; it's good to have someone with experience with less-than-solid ;) nightlies around to really jump ahead into uncharted territory :D
Mac OS X 10.3.9 • PowerBook G4 17" 1.33 GHz | Mac OS X 10.5.x • MacBook Pro 15" 2.2 GHz
Snow7's Camino Forum FAQSearch the Forum  Camino. HelpTroubleshoot Camino
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Post by krmathis »

He he. I hope my builds come out rock solid.
But if not, I'm prepared to deal with the eventual problems.

Now I'm heading towards this bug, with patch from mento:
300947 - Use ld -dead_strip for Camino
This seems to drop 1.5MB from the static executable and 0.5MB from the download package.
I'm not pushing it on anyone (yet).
Post Reply