Changes between Version 1 and Version 2 of Ticket #12430, comment 13


Ignore:
Timestamp:
Nov 9, 2015 8:32:22 AM (4 years ago)
Author:
pulkomandy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12430, comment 13

    v1 v2  
    11FYI, the change to the -shared flag being passed onto `ld` has broken Haiku's TLS support when building gcc4 on Haiku.
    22
    3 As a result of the changes, gcc generates R_386_TLS_TPOFF32 relocations in the configure test for TLS, instead of previously R_386_TLS_DTPMOD32 & R_386_TLS_DTPOFF32. Currently, runtime_loader doesn't support R_386_TLS_TPOFF32 relocations. Due to the failed test, libstdc++.so generates different symbols (e.g. no std::__once_call), which breaks apps that use TLS (WebPositive being one).
     3As a result of the changes, gcc generates R_386_TLS_TPOFF32 relocations in the configure test for TLS, instead of previously R_386_TLS_DTPMOD32 & R_386_TLS_DTPOFF32. Currently, runtime_loader doesn't support R_386_TLS_TPOFF32 relocations. Due to the failed test, libstdc++.so generates different symbols (e.g. no {{{std::__once_call}}}), which breaks apps that use TLS (WebPositive being one).
    44
    55Example test: