Closed Bug 525331 Opened 17 years ago Closed 17 years ago

use gcc-4.2 by default for Mac OS X trunk

Categories

(MailNews Core :: Build Config, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.1a1

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(2 files, 1 obsolete file)

Bug 513353 switch trunk mozilla-central builds to gcc 4.2 by default. Via a bug on trunk I've just discovered that at least our developer builds aren't defaulting to gcc 4.2. I believe that all the Thunderbird tinderbox builds do use 4.2 because the mozconfig specifies - or the universal one does, however dev builds quite clearly aren't. We need to port the patch from bug 513353. +++ This bug was initially created as a clone of Bug #513353 +++
Attached patch The fix (obsolete) — — Splinter Review
This ports the patch and sets it up for non-1.9.2 branch. I had to reorder where perl and the branch was detected, but I don't think that will affect anything. I'm pushing this to try server on trunk as it did show the error that lead to me finding this problem (though I haven't worked out why try server isn't building with 4.2 by default yet).
Attachment #409198 - Flags: review?(gozer)
Attachment #409198 - Flags: review?(gozer) → review+
Blocks: 522028
Better fix. Before pushing the original patch I realised that it would have broken our builds in the same way as bug 522028 was reporting. This fixes it better and builds on 1.9.2 + mozilla-central on try server. I'd missed removing the MOZILLA_1_9_1_BRANCH line from autoconf.mk.in (as in the moving of stuff in configure.in I'm removing the setting of MOZILLA_1_9_1_BRANCH for comm-central as we no longer need it). Also in the project.pbxproj file, I'm changing this in a similar way to http://hg.mozilla.org/mozilla-central/rev/ab2bc168754f and ending up with the same settings in that file. This should mean that all builds across the board are doing the same thing wrt gcc versions + sdks.
Attachment #409198 - Attachment is obsolete: true
Attachment #411930 - Flags: review?(gozer)
Attachment #411930 - Flags: review?(gozer) → review+
Status: NEW → ASSIGNED
I checked this in last night and it is working and holding fine: http://hg.mozilla.org/comm-central/rev/9fdfad94b4ea
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Attachment #429349 - Attachment description: (Bv1) Bug 513353 nits, to ease diff with m-c → (Bv1) nits, to ease diff with m-c
Attachment #429349 - Flags: review?(gozer) → review+
Attachment #429349 - Attachment description: (Bv1) nits, to ease diff with m-c → (Bv1) nits, to ease diff with m-c [Checkin: Comment 5]
Attachment #411930 - Attachment description: The fix v2 → The fix v2 [Checkin: Comment 3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: