Commit 4ce2b13
macOS: Workaround for buggy XCode 15.0 - 15.2 linker.
Thanks to Carlo Cabrera.
(cherry picked from commit b2915e9)
The previous commit removes emitting the `.subsections_via_symbols`
[1][2] directive for macOS. Nevertheless, the aforementioned Xcode linker
versions produce incorrect code for the VM without this directive.
As a fix for old versions of macOS, this patch adds emitting this
directive in the buildvm.
[1]: https://reviews.llvm.org/D79926
[2]: https://github.com/aidansteele/osx-abi-macho-file-format-reference
Sergey Kaplun:
* added the description for the problem
Part of tarantool/tarantool#11691
Reviewed-by: Sergey Bronnikov <[email protected]>
Signed-off-by: Sergey Kaplun <[email protected]>1 parent 94083a5 commit 4ce2b13
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
| |||
0 commit comments