Commit ec55533
Remove support for "nodeps" dynamic libraries on Apple platforms.
Any such usage was only accidentally working due to -undefined dynamic_lookup.
That flag only works on Darwin (macOS) at all.
But even there, TLS can cause undefined symbols with these "nodeps" libraries.
Fundamentally, Mach-O's two-level namespacing makes this infeasible.
#4341
Closes #4341.
PiperOrigin-RevId: 3520027761 parent bbeb1da commit ec55533
5 files changed
Lines changed: 20 additions & 12 deletions
File tree
- src/test/shell
- bazel
- integration
- tools
- cpp
- osx/crosstool
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
663 | 667 | | |
664 | 668 | | |
665 | 669 | | |
| |||
739 | 743 | | |
740 | 744 | | |
741 | 745 | | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
742 | 750 | | |
743 | 751 | | |
744 | 752 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
| 1125 | + | |
| 1126 | + | |
1125 | 1127 | | |
1126 | 1128 | | |
1127 | 1129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1159 | 1159 | | |
1160 | 1160 | | |
1161 | 1161 | | |
1162 | | - | |
1163 | 1162 | | |
1164 | 1163 | | |
1165 | 1164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4734 | 4734 | | |
4735 | 4735 | | |
4736 | 4736 | | |
4737 | | - | |
4738 | | - | |
4739 | 4737 | | |
4740 | 4738 | | |
4741 | 4739 | | |
| |||
6243 | 6241 | | |
6244 | 6242 | | |
6245 | 6243 | | |
6246 | | - | |
6247 | 6244 | | |
6248 | 6245 | | |
6249 | 6246 | | |
| |||
0 commit comments