Build failures on aarch64-apple-darwin builds because of the discrepancy between rust and clang target name
Categories
(Firefox Build System :: General, task)
Tracking
(firefox81 fixed)
| Tracking | Status | |
|---|---|---|
| firefox81 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
3 crates are causing problems: cc, bindgen and coreaudio-sys.
For two of them, I opened an issue:
- https://github.com/rust-lang/rust-bindgen/issues/1871
- https://github.com/alexcrichton/cc-rs/issues/542
For coreaudio-sys, I'm waiting for https://github.com/rust-lang/rust-bindgen/pull/1872 to be merged and released before submitting a PR to remove the explicit --target it adds because of that.
In any case, there's actually a work around we can apply to avoid the issues entirely, half of which is something we should do anyways on all builds, but needs some extra care.
| Assignee | ||
Comment 1•5 years ago
|
||
We are already figuring these flags out via configure for our own C/C++
need, and we should use those instead.
See https://github.com/alexcrichton/cc-rs/issues/371 for how it has
caused us problems in the past.
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
This is a placeholder until those changes are in a release.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Backed out for build bustages.
Log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=313752343&repo=autoland&lineNumber=171
Backout: https://hg.mozilla.org/integration/autoland/rev/4bc3301b5222b9336943370e29657bcfb98736ab
| Assignee | ||
Updated•5 years ago
|
Comment 8•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/be04555a1ba5
https://hg.mozilla.org/mozilla-central/rev/3258419d1c71
https://hg.mozilla.org/mozilla-central/rev/2dc4df2ea8d9
Description
•