Closed Bug 1165528 Opened 9 years ago Closed 9 years ago

linker assert with rust code on macosx64 try

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox41 affected)

RESOLVED FIXED
Tracking Status
firefox41 --- affected

People

(Reporter: rillian, Unassigned)

References

Details

Pushing our rust linkage gtest to try fails in MacOS X:

15:55:25 INFO - ld: warning: could not create compact unwind for 
_ffi_call_unix64: does not use RBP or RSP based frame
15:55:25 INFO - ld: warning: too many personality routines for compact unwind to encode
15:55:25 INFO - Assertion failed: (_mode == modeFinalAddress), function finalAddress, file /SourceCache/ld64/ld64-123.2.1/src/ld/ld.hpp, line 573.
15:55:25 INFO - 0 0x10c7e971c __assert_rtn + 76
15:55:25 INFO - 1 0x10c86201c ld::tool::OutputFile::addressOf(ld::Internal const&, ld::Fixup const*, ld::Atom const**) + 172
15:55:25 INFO - 2 0x10c864a25 ld::tool::OutputFile::applyFixUps(ld::Internal&, unsigned long long, ld::Atom const*, unsigned char*) + 3909
15:55:25 INFO - 3 0x10c860f70 ld::tool::OutputFile::writeOutputFile(ld::Internal&) + 816
15:55:25 INFO - 4 0x10c859ab9 ld::tool::OutputFile::write(ld::Internal&) + 153
15:55:25 INFO - 5 0x10c7e9caa main + 1178
15:55:25 INFO - clang: error: linker command failed with exit code 1 (use -v to see invocation)
15:55:25 INFO - make[3]: *** [XUL] Error 1
15:55:25 INFO - make[3]: Target `target' not remade because of errors.
15:55:25 INFO - make[3]: Target `target' not remade because of errors.
15:55:25 INFO - make[2]: *** [gtestxul] Error 2
15:55:25 INFO - make[1]: *** [check] Error 2
15:55:25 INFO - make: *** [check] Error 2
15:55:25 ERROR - Return code: 2
15:55:25 INFO - TinderboxPrint: check<br/>615/0/0
15:55:25 ERROR - 'make -k check' did not run successfully. Please check log for errors.
This seems to be resolved now. Works with rust 1.3.0-dev. See bug 1183850.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.