You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating library D:\a\php-ftw\php-ftw\php\vs16\x64\obj\Release_TS\php_intl.lib and object D:\a\php-ftw\php-ftw\php\vs16\x64\obj\Release_TS\php_intl.exp
idn.obj : error LNK2001: unresolved external symbol "void * _tsrm_ls_cache" (?_tsrm_ls_cache@@3PEAXEA)
Hint on symbols that are defined and could potentially match:
_tsrm_ls_cache
D:\a\php-ftw\php-ftw\php\vs16\x64\obj\Release_TS\php_intl.dll : fatal error LNK1120: 1 unresolved externals
The problem is apparently the name mangling in the intl extension (C++). A work-around would be to build without DZEND_ENABLE_STATIC_TSRMLS_CACHE (change in config.w32), but that would be suboptimal performance wise.
I expect that to happen for other C++ extensions as well (AFAIK we only have ext-intl bundled).
Activity
cmb69 commentedon Jul 30, 2025
The problem is apparently the name mangling in the intl extension (C++). A work-around would be to build without
DZEND_ENABLE_STATIC_TSRMLS_CACHE(change in config.w32), but that would be suboptimal performance wise.I expect that to happen for other C++ extensions as well (AFAIK we only have ext-intl bundled).
Fix php#19307: PGO builds of shared ext-intl are broken
Fix php#19307: PGO builds of shared ext-intl are broken