-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling rustc on OSX 10.6 fails with "Symbol not found: __tlv_bootstrap" #10842
Comments
What even is |
This is all related to LLVM's treatment of
I'm not liking any of these options... |
Another option: Add a feature detection mechanism, i.e. |
Does this work on OS X 10.7? |
brson in the mozilla #rust IRC channel mentioned that the OSX builds are done on 10.7, so I assume that means it builds on 10.7, and that also explains why this failure on 10.6 went unnoticed. |
I have the same failure under 10.6. |
Also running into this (MacOS 10.6.8, Xcode 4.2). Here's another terminal paste, much like the other: https://gist.github.com/michaelbartnett/8432437 |
Closing as a result of #11952, we're dropping support for 10.6 |
Closes rust-lang#11927 Closes rust-lang#10842 Closes rust-lang#2024
allow disabling module inception on private modules Fixes rust-lang#10842 changelog: Enhancement [`module_inception`]: Added `allow-private-module-inception` configuration. [rust-lang#10917](rust-lang/rust-clippy#10917) <!-- changelog_checked -->
@alexcrichton is there any way for a determined person to get rust to play along? i mean, if someone produces the right settings for a clang that successfully can target 10.6, is it possible to use it to finish a rustc compilation? this is a little insane that thread_local was the reason the rust team shut it down. especially since there is an emulated tls model flag. i'm not asking if there's a way to get a rustc compiler on 10.6. i am asking for a way to build rustc on a more modern mac that can successfully target 10.6. it seems i can get a libclang_rt with little effort (maybe it's wrong, i dont know) and this seems to be a huge part of the 10.7 limitation i'm seeing on a lot of prebuilt rust libraries. |
The full relevant part of the error:
It looks like
__tlv_bootstrap
is a marker symbol for the thread local variables rust uses, and this is available in 10.7 but not 10.6.@alexcrichton provided me with this snippet of LLVM code that fails to link in both GCC and Clang with the same error.
OSX 10.6 is still listed in the README as a supported platform. I'd love to be able to compile this under 10.6, but if not, remember to update that readme.
The text was updated successfully, but these errors were encountered: