[FX/TB] MacOSX Builders Unite!

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Locked
User avatar
elfurbe
Posts: 447
Joined: May 24th, 2004, 9:48 am
Location: Tucson, AZ
Contact:

Post by elfurbe »

Well that's good. Figured I just screwed something up. :D

Well, I'll run builds tomorrow and see if there's been any help.

I use the search bar ALL THE TIME, so I'm losing my mind at the moment.
drumsticks
Posts: 607
Joined: April 14th, 2005, 4:32 am
Location: Australia

Post by drumsticks »

XCode 2.2 with GCC 4.01 time! Is it worth my time (and download quota) updating? Does the new GCC fix some -O3 bugs perhaps? Anyone tried yet?
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Post by krmathis »

drumsticks. As you know I build Camino, not Firefox.
But I want to tell that I have been building with GCC 4.0.1 (Xcode 2.2) since day one, and notice no difference from GCC 4.0.0 - build 5026 (Xcode 2.1).

I'm not sure which -O3 bugs you refer to, but it sure builds Camino with -O3 without any noticable problems. But so have GCC 4.0.0 - build 5026 (Xcode 2.1) done the last 4 months as well...


I would say that its not a necessary update. So if you dont really need to be up-to-date, save your bandwith and stay with Xcode 2.1. :)
drumsticks
Posts: 607
Joined: April 14th, 2005, 4:32 am
Location: Australia

Post by drumsticks »

krmathis, good to hear from you again.

I thought that it might be an unnecessary update too. I was just looking through the bug fixes that GCC4.0.1 brings in the GCC website (not Apple's) and there are a few -O3 bugs that has been fixed.

Just FYI, Firefox users are having facing problems with the search bar failing with -O3 builds in 10.4.3 that previously worked in 10.4.2 and earlier. As a result, I'm building using -O2 now.

I'll probably leave XCode 2.2 for a rainy day when I'm bored and have nothing to do. Thanks for your feedback.
drumsticks
Posts: 607
Joined: April 14th, 2005, 4:32 am
Location: Australia

Post by drumsticks »

Turns out that "rainy day" is here sooner than expected. A colleague of mine downloaded XCode 2.2, so I was able to grab it without blowing my bandwidth. Unfortunately, -O3 builds are still stuffed... Ah well, you were right about being an unnecessary update.
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Post by krmathis »

Sorry, I did not know that Firefox have problems when you use -O3.

Nice to hear that you get your hands on Xcode 2.2 without using your download quota, but too bad it the updated GCC did not fix the problem. Better wait for the next update.
In the meantime, you could make sure that the GCC/Apple developers are aware of the bug. :)
drumsticks
Posts: 607
Joined: April 14th, 2005, 4:32 am
Location: Australia

Post by drumsticks »

Trouble is, I don't even know where to start looking for the source of the problem! This (searchbar problem) and the history loss problems are the two biggest bugs in optimized builds that does not exist in "normal" builds. Ah well...
User avatar
elfurbe
Posts: 447
Joined: May 24th, 2004, 9:48 am
Location: Tucson, AZ
Contact:

Post by elfurbe »

I have a hard time with the thought that GCC is at fault here, really. I feel like there has to have been some change in the code that's done it. The developers have been pretty clear that they don't particularly care whether we tuner-types can get -O3 to work, so it's unlikely that a bugzilla bug would be well received, but I'd say it's the only place you'll get any sort of relevant response.
mento
Posts: 180
Joined: April 23rd, 2005, 1:33 pm

Post by mento »

If you find a bug at certain optimization levels but not others, I still want to know about it. There's always a chance that we're doing something wrong, and the bug is masked in specific compiles. This doesn't apply to -O3 specifically, there are also bugs that will show up with no optimizations but "disappear" with a more aggressive compiler.

With that in mind, 317345.
drumsticks
Posts: 607
Joined: April 14th, 2005, 4:32 am
Location: Australia

Post by drumsticks »

mento: I have no idea how to read that bug you just fixed, let alone file a bug like that!
mento
Posts: 180
Joined: April 23rd, 2005, 1:33 pm

Post by mento »

Try an -O3 build and you'll know what that bug is about.
mmoy
Posts: 5030
Joined: February 17th, 2004, 9:05 pm
Location: New Hampshire
Contact:

Post by mmoy »

I tried a 1.5 rc3 build (G5) just for fun and had a bunch of undefined symbols. I haven't done a Mac FF build in a while so I'm going to try again with no optimization string at all to see if that makes a difference. Perhaps the problem was -O3 as I did have that in. I don't have a problem with building -O2 as I don't think that it makes that big of a difference.

My overall goal is to build Camino but doing Firefox along the way can't hurt.
Dell E521 X2 5600+ MacBookPro 17'' 2.5 Ghz Penryn Dell M1330 2.0 Ghz Merom 4 GB Vista x64 Compaq r3000z AMD 64 3200+ (Win 32/64) PowerMac G5 1.8 Ghz MMOY-1.5 (OSX 10) Inspiron 8500, 4100, 4000, Dimension 2300 MacBook Pro 2.2 Ghz HP E6600 HP X2 4400+
mmoy
Posts: 5030
Joined: February 17th, 2004, 9:05 pm
Location: New Hampshire
Contact:

Post by mmoy »

I was able to do a Firefox build after disabling optimizations and getting rid of the threaded building. I had a hanging problem on a thread or process I guess. It may be that I should have rebooted the machine to clear up the problem. I had to do that anyways as I had some other flaky stuff with the packager hanging.

I'm going to put back the optimizations back in but at -O2 and see what happens.
Dell E521 X2 5600+ MacBookPro 17'' 2.5 Ghz Penryn Dell M1330 2.0 Ghz Merom 4 GB Vista x64 Compaq r3000z AMD 64 3200+ (Win 32/64) PowerMac G5 1.8 Ghz MMOY-1.5 (OSX 10) Inspiron 8500, 4100, 4000, Dimension 2300 MacBook Pro 2.2 Ghz HP E6600 HP X2 4400+
mento
Posts: 180
Joined: April 23rd, 2005, 1:33 pm

Post by mento »

mmoy wrote:I tried a 1.5 rc3 build (G5) just for fun and had a bunch of undefined symbols. I haven't done a Mac FF build in a while so I'm going to try again with no optimization string at all to see if that makes a difference. Perhaps the problem was -O3 as I did have that in. I don't have a problem with building -O2 as I don't think that it makes that big of a difference.

If you want to use -O3, make sure you're using gcc 4.0. This, in turn, means you must build on Tiger and won't be able to run the products of your build on anything less than 10.3.9. -O3 in gcc 3.3 is buggy, and the only workaround is to use -O2. bug 289586.
mmoy
Posts: 5030
Joined: February 17th, 2004, 9:05 pm
Location: New Hampshire
Contact:

Post by mmoy »

We're on Panther and we're using GCC 3.* so I guess we'll have to stay with -O2. Panther is working fine and I see no reason to do an upgrade at this time.

The 1.5 build without any optimizations was comparable to my old 1.0.7 so I hope that I get a nice performance boost with the compiler optimizations. If the compiler optimizations work out, then I'll add in the code optmizations as well.
Dell E521 X2 5600+ MacBookPro 17'' 2.5 Ghz Penryn Dell M1330 2.0 Ghz Merom 4 GB Vista x64 Compaq r3000z AMD 64 3200+ (Win 32/64) PowerMac G5 1.8 Ghz MMOY-1.5 (OSX 10) Inspiron 8500, 4100, 4000, Dimension 2300 MacBook Pro 2.2 Ghz HP E6600 HP X2 4400+
Locked