link with "libssp" on *-sun-solaris systems#70682
link with "libssp" on *-sun-solaris systems#70682jclulow wants to merge 1 commit intorust-lang:masterfrom
Conversation
LLVM will insert calls to the stack protector functions "__stack_chk_fail" and "__stack_chk_guard" into code in native object files. Some platforms include these symbols directly in libc, but at least historically these have been provided in libssp.so on illumos and Solaris systems. Include "-lssp" in the arguments to the linker when building for those targets.
|
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
|
r? @nagisa |
|
@bors r+ |
|
📌 Commit d730bf9 has been approved by |
|
⌛ Testing commit d730bf9 with merge eb69fe40a5a55193acce3c5485194228b2355a2f... |
|
💔 Test failed - checks-azure |
|
Hi folks. I'm not really sure what to do about this failure from CI. It looks like at least some of the job(s) were manually cancelled by @alexcrichton. |
|
@bors retry |
link with "libssp" on *-sun-solaris systems LLVM will insert calls to the stack protector functions "__stack_chk_fail" and "__stack_chk_guard" into code in native object files. Some platforms include these symbols directly in libc, but at least historically these have been provided in libssp.so on illumos and Solaris systems. Include "-lssp" in the arguments to the linker when building for those targets.
|
Failed in |
|
⌛ Testing commit d730bf9 with merge c577a8fdb1ff4046f0d8be5d05da15b99c621411... |
|
💔 Test failed - checks-azure |
|
OK, I've had a look at the contents of the illumos/Solaris sysroot in Apologies for the trouble! |
|
@jclulow you should discuss that with infra first. CI has limited capacity and adding new builder is rarely accepted. |
|
☔ The latest upstream changes (presumably #71162) made this pull request unmergeable. Please resolve the merge conflicts. |
LLVM will insert calls to the stack protector functions
"__stack_chk_fail" and "__stack_chk_guard" into code in native object
files. Some platforms include these symbols directly in libc, but at
least historically these have been provided in libssp.so on illumos and
Solaris systems. Include "-lssp" in the arguments to the linker when
building for those targets.