Closed Bug 1203689 Opened 9 years ago Closed 9 years ago

Use tooltool gcc as host compiler for cross-mac builds

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: ted, Assigned: ted)

References

Details

Attachments

(1 file)

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
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: