[MacPorts] #57780: 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

MacPorts noreply at macports.org
Sat Dec 15 18:16:57 UTC 2018


#57780: 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
--------------------+-----------------------
 Reporter:  kencu   |      Owner:  jeremyhu
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  clang-5.0
--------------------+-----------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/57780>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list