Opened 6 years ago
Closed 5 years ago
#57780 closed defect (fixed)
clang-5.0 with +emulated_tls and older ld64 gives warning: could not create compact unwind for __ZTW5tlojb: non-standard register 1 being saved in prolog
Reported by: | kencu (Ken) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | kencu (Ken), mojca (Mojca Miklavec) | |
Port: | clang-5.0 |
Description
this seems to occur (so far) on 10.6.8 updated to the clang-5.0 with +emulated_tls.
My testing this morning suggests it doesn't occur with ld64 +236
or ld64-latest
(which are the ones I mostly use).
The solution is to install ld64-236 and enable that:
sudo port -v install ld64 +ld64_236
Or install ld64-latest and use that. Installing ld64-latest is a bit backward. You install ld64 with all the default variants specifically disabled to get the latest one, which at first I found a bit strange:
sudo port -v install ld64 -ld64-97 -ld64_127 -ld64_236 -ld64_xcode
We have known for a while there is going to be a linker update issue at some point with 10.6.8 that would probably require a manual step to overcome.
Have to think this fully through to see how we might automate the update to the newer linker on these older systems. Mojca and I have discussed this before.
Leaving this ticket here for anyone who might bump into this error in the meantime.
Change History (1)
comment:1 Changed 5 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
somewhere along the line, this has been fixed and no longer occurs.