Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Conversation

glaubitz
Copy link

Upstream fix for LLVM on SPARC which is currently in review:

https://reviews.llvm.org/D43271

This fix is required to fix the code generation in LLVM on SPARC. Without the patch, LLVM generates incorrect code over which binutils stumble and bail out with an internal error, see:

https://sourceware.org/bugzilla/show_bug.cgi?id=22832

The patch has already been merged in the Debian packages for LLVM 4.0, 5.0 and 6.0.

CC @jrtc27

Global Dynamic and Local Dynamic call relocations only implicitly
reference __tls_get_addr, but it still needs to be in the symbol table
to be bound at link time otherwise it fails to link. For details, see
https://sourceware.org/bugzilla/show_bug.cgi?id=22832.
@alexcrichton alexcrichton merged commit 4d4f5d0 into rust-lang:rust-llvm-release-6-0-0 Feb 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants