Closed Bug 1269808 Opened 6 years ago Closed 5 years ago

update mac builders to rust 1.8

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox49 affected)

RESOLVED WONTFIX
Tracking Status
firefox49 --- affected

People

(Reporter: rillian, Assigned: rillian)

References

Details

Attachments

(1 file)

Now that we're off 10.6, we should be able to use upstream rust toolchains on mac. Update to the current stable release from our rustc 1.6+notls custom builds.
First try at updating mac to rustc 1.8. This fails to link on the native builds. At least we get a better debug message than in bug 1188030.

 13:16:46     INFO -  ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
 13:16:46     INFO -  ld: warning: too many personality routines for compact unwind to encode
 13:16:46     INFO -  Assertion failed: (_mode == modeFinalAddress), function finalAddress, file /SourceCache/ld64/ld64-123.2.1/src/ld/ld.hpp, line 573.
 13:16:46     INFO -  0  0x10d08671c  __assert_rtn + 76
 13:16:46     INFO -  1  0x10d0ff01c  ld::tool::OutputFile::addressOf(ld::Internal const&, ld::Fixup const*, ld::Atom const**) + 172
 13:16:46     INFO -  2  0x10d101a25  ld::tool::OutputFile::applyFixUps(ld::Internal&, unsigned long long, ld::Atom const*, unsigned char*) + 3909
 13:16:46     INFO -  3  0x10d0fdf70  ld::tool::OutputFile::writeOutputFile(ld::Internal&) + 816
 13:16:46     INFO -  4  0x10d0f6ab9  ld::tool::OutputFile::write(ld::Internal&) + 153
 13:16:46     INFO -  5  0x10d086caa  main + 1178
 13:16:46     INFO -  6  0x10d0752b4  start + 52
 13:16:46     INFO -  clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
 13:16:46 INFO - make[5]: *** [XUL] Error 1

https://treeherder.mozilla.org/#/jobs?repo=try&revision=70260fbf0f45
Strangely, the opt build succeeded.
Closing. This is still blocked by the linker's compact-unwind assertion failure on debug builds, but the particular rust toolchain release has been superceeded. We can open a new issue once bug 1188030 is resolved.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.