Use tooltool gcc as host compiler for cross-mac builds

RESOLVED FIXED in Firefox 43

Status

defect
RESOLVED FIXED
4 years ago
a year ago

People

(Reporter: ted, Assigned: ted)

Tracking

unspecified
mozilla43

Firefox Tracking Flags

(firefox43 fixed)

Details

Attachments

(1 attachment)

The switch to CentOS 6 threw cross-mac builds for a loop, in that the system GCC is 4.4, which our build system rejects as too old. I tried just using the clang we're using as the target compiler but that failed with a `crtbegin.o not found` error (there's another bug on this because ehsan hit it with static analysis builds). I just gave up and used tooltool GCC as the host compiler, this works:
https://tools.taskcluster.net/task-inspector/#YApjoOTzQ3G2l2g0dWA1xQ/

If ehsan gets the clang thing sorted we can probably switch to that and avoid having to download two compilers.
bug 1203689 - Use tooltool gcc as host compiler for cross-mac builds. r?dustin
Attachment #8659462 - Flags: review?(dustin)
Comment on attachment 8659462 [details]
MozReview Request: bug 1203689 - Use tooltool gcc as host compiler for cross-mac builds. r?dustin

https://reviewboard.mozilla.org/r/18837/#review16833

Looks good to me.  If ehsan's got another solution, i'd be happy with that too.
Attachment #8659462 - Flags: review?(dustin) → review+
Per bug 1203393 comment 4 you need the gcc package to provide the missing crtbegin.o anyway, so this is really not any worse.
https://hg.mozilla.org/mozilla-central/rev/561ee2071aec
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43

Updated

a year ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.