crazywhalecc / static-php-cli

Build standalone PHP binary on Linux, macOS, FreeBSD, Windows, with PHP project together, with popular extensions included.
https://static-php.dev
MIT License
1.33k stars 233 forks source link

php-sdk error in static-php-cli build #528

Closed mohamed-rnd closed 2 months ago

mohamed-rnd commented 2 months ago

Hi

I am trying to build a new php binary with intl extension I ran this build command bin/spc build --build-cli "intl,bcmath,curl,json,mbstring,tokenizer,xml,zip"

After starting the command above it fails while executing this command C:\spc-build\static-php-cli\php-sdk-binary-tools\phpsdk-vs17-x64.bat -t nmake_cli_wrapper.bat --task-args php.exe

PHP Version 8.2.18

Node Version 20.12.2

Which operating systems have you seen this occur on? Windows

OS version win 10

Notes I installed Visual Studio 2022

When I ran the failed code separately I got this output

[vcvarsall.bat] Environment initialized for: 'x64'

C:\spc-build\static-php-cli\source\php-src>nmake /nologo LIBS_CLI=" ws2_32.lib shell32.lib" EXTRA_LD_FLAGS_PROGRAM= php.exe
        "link.exe" /nologo @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\PHP_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\CLI_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\BCMATH_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\BZ2_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\CURL_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\DATE_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\HASH_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ICONV_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\JSON_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\MBSTRING_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\PCRE_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\RANDOM_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\REFLECTION_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\SPL_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\STANDARD_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\TOKENIZER_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ZIP_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ZLIB_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\LIBXML_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\XML_GLOBAL_OBJS.txt"  libbz2_a.lib libcurl_a.lib libcrypto.lib libssl.lib Crypt32.Lib WinMM.Lib Wldap32.Lib normaliz.lib libssh2.lib nghttp2.lib   libiconv_a.lib       iphlpapi.lib  libzip_a.lib libbz2_a.lib zlib_a.lib liblzma_a.lib zlib_a.lib libxml2_a.lib libiconv_a.lib  C:\spc-build\static-php-cli\source\php-src\x64\Release\Zend\jump_x86_64_ms_pe_masm.obj C:\spc-build\static-php-cli\source\php-src\x64\Release\Zend\make_x86_64_ms_pe_masm.obj kernel32.lib ole32.lib user32.lib advapi32.lib shell32.lib ws2_32.lib Dnsapi.lib psapi.lib bcrypt.lib ws2_32.lib shell32.lib C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe.res /out:C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe /nologo /libpath:"C:\spc-build\static-php-cli\buildroot\lib" /stack:67108864 /ltcg /nodefaultlib:msvcrt /nodefaultlib:msvcrtd /ignore:4286
   Creating library C:\spc-build\static-php-cli\source\php-src\x64\Release\php.lib and object C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exp
zend.obj : error LNK2001: unresolved external symbol __imp_strncat
string.obj : error LNK2001: unresolved external symbol __imp_strcoll
zend_operators.obj : error LNK2001: unresolved external symbol __imp_strcoll
php_scandir.obj : error LNK2001: unresolved external symbol __imp_strcoll
streams.obj : error LNK2001: unresolved external symbol __imp_strcoll
array.obj : error LNK2001: unresolved external symbol __imp_strcoll
zend_operators.obj : error LNK2001: unresolved external symbol __imp_setlocale
basic_functions.obj : error LNK2001: unresolved external symbol __imp_setlocale
string.obj : error LNK2001: unresolved external symbol __imp_setlocale
libiconv_a.lib(localcharset1.obj) : error LNK2001: unresolved external symbol __imp_setlocale
zend_stream.obj : error LNK2001: unresolved external symbol __imp_isatty
OLDNAMES.lib(isatty.obi) : error LNK2001: unresolved external symbol __imp_isatty
zend_virtual_cwd.obj : error LNK2001: unresolved external symbol __imp__wchmod
php_open_temporary_file.obj : error LNK2001: unresolved external symbol __imp__wchmod
plain_wrapper.obj : error LNK2001: unresolved external symbol __imp__wchmod
filestat.obj : error LNK2001: unresolved external symbol __imp__wchmod
zend_virtual_cwd.obj : error LNK2001: unresolved external symbol __imp_creat
OLDNAMES.lib(creat.obi) : error LNK2001: unresolved external symbol __imp_creat
main.obj : error LNK2001: unresolved external symbol __imp_chdir
OLDNAMES.lib(chdir.obi) : error LNK2001: unresolved external symbol __imp_chdir
main.obj : error LNK2001: unresolved external symbol __imp_tzset
basic_functions.obj : error LNK2001: unresolved external symbol __imp_tzset
OLDNAMES.lib(tzset.obi) : error LNK2001: unresolved external symbol __imp_tzset
reentrancy.obj : error LNK2001: unresolved external symbol __imp_asctime
reentrancy.obj : error LNK2001: unresolved external symbol __imp__ctime64
ioutil.obj : error LNK2001: unresolved external symbol __imp_umask
basic_functions.obj : error LNK2001: unresolved external symbol __imp_umask
file.obj : error LNK2001: unresolved external symbol __imp_umask
OLDNAMES.lib(umask.obi) : error LNK2001: unresolved external symbol __imp_umask
pageinfo.obj : error LNK2001: unresolved external symbol __imp__getpid
wsyslog.obj : error LNK2001: unresolved external symbol __imp__getpid
tsrm_win32.obj : error LNK2001: unresolved external symbol __imp__getpid
php_cli.obj : error LNK2001: unresolved external symbol __imp__getpid
engine_combinedlcg.obj : error LNK2001: unresolved external symbol __imp__getpid
php_cli.obj : error LNK2001: unresolved external symbol __imp_clearerr
php_cli_server.obj : error LNK2001: unresolved external symbol __imp__ctime64_s
php_cli_server.obj : error LNK2001: unresolved external symbol __imp__ftime64
parse_date.obj : error LNK2001: unresolved external symbol __imp_strtod
basic_functions.obj : error LNK2001: unresolved external symbol __imp__wputenv_s
basic_functions.obj : error LNK2001: unresolved external symbol __imp__putenv_s
basic_functions.obj : error LNK2001: unresolved external symbol __imp_putenv
OLDNAMES.lib(putenv.obi) : error LNK2001: unresolved external symbol __imp_putenv
math.obj : error LNK2001: unresolved external symbol __imp_acosh
math.obj : error LNK2001: unresolved external symbol __imp_asinh
math.obj : error LNK2001: unresolved external symbol __imp_atanh
math.obj : error LNK2001: unresolved external symbol __imp_expm1
math.obj : error LNK2001: unresolved external symbol __imp_hypot
math.obj : error LNK2001: unresolved external symbol __imp_log1p
OLDNAMES.lib(creat.obi) : error LNK2001: unresolved external symbol __imp__creat
OLDNAMES.lib(chdir.obi) : error LNK2001: unresolved external symbol __imp__chdir
OLDNAMES.lib(putenv.obi) : error LNK2001: unresolved external symbol __imp__putenv
C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe : fatal error LNK1120: 28 unresolved externals
NMAKE : fatal error U1077: '"link.exe" /nologo @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\PHP_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\CLI_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\BCMATH_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\BZ2_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\CURL_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\DATE_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\HASH_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ICONV_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\JSON_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\MBSTRING_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\PCRE_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\RANDOM_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\REFLECTION_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\SPL_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\STANDARD_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\TOKENIZER_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ZIP_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ZLIB_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\LIBXML_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\XML_GLOBAL_OBJS.txt"  libbz2_a.lib libcurl_a.lib libcrypto.lib libssl.lib Crypt32.Lib WinMM.Lib Wldap32.Lib normaliz.lib libssh2.lib nghttp2.lib   libiconv_a.lib       iphlpapi.lib  libzip_a.lib libbz2_a.lib zlib_a.lib liblzma_a.lib zlib_a.lib libxml2_a.lib libiconv_a.lib  C:\spc-build\static-php-cli\source\php-src\x64\Release\Zend\jump_x86_64_ms_pe_masm.obj C:\spc-build\static-php-cli\source\php-src\x64\Release\Zend\make_x86_64_ms_pe_masm.obj kernel32.lib ole32.lib user32.lib advapi32.lib shell32.lib ws2_32.lib Dnsapi.lib psapi.lib bcrypt.lib ws2_32.lib shell32.lib C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe.res /out:C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe /nologo /libpath:"C:\spc-build\static-php-cli\buildroot\lib" /stack:67108864 /ltcg /nodefaultlib:msvcrt /nodefaultlib:msvcrtd /ignore:4286' : return code '0x460'
Stop.

C:\spc-build\static-php-cli\source\php-src> cd /d "C:\spc-build\static-php-cli\source\php-src" && C:\spc-build\static-php-cli\php-sdk-binary-tools\phpsdk-vs17-x64.bat -t nmake_cli_wrapper.bat --task-args php.exe
[vcvarsall.bat] Environment initialized for: 'x64'

C:\spc-build\static-php-cli\source\php-src>nmake /nologo LIBS_CLI=" ws2_32.lib shell32.lib" EXTRA_LD_FLAGS_PROGRAM= php.exe
        "link.exe" /nologo @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\PHP_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\CLI_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\BCMATH_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\BZ2_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\CURL_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\DATE_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\HASH_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ICONV_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\JSON_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\MBSTRING_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\PCRE_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\RANDOM_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\REFLECTION_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\SPL_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\STANDARD_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\TOKENIZER_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ZIP_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ZLIB_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\LIBXML_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\XML_GLOBAL_OBJS.txt"  libbz2_a.lib libcurl_a.lib libcrypto.lib libssl.lib Crypt32.Lib WinMM.Lib Wldap32.Lib normaliz.lib libssh2.lib nghttp2.lib   libiconv_a.lib       iphlpapi.lib  libzip_a.lib libbz2_a.lib zlib_a.lib liblzma_a.lib zlib_a.lib libxml2_a.lib libiconv_a.lib  C:\spc-build\static-php-cli\source\php-src\x64\Release\Zend\jump_x86_64_ms_pe_masm.obj C:\spc-build\static-php-cli\source\php-src\x64\Release\Zend\make_x86_64_ms_pe_masm.obj kernel32.lib ole32.lib user32.lib advapi32.lib shell32.lib ws2_32.lib Dnsapi.lib psapi.lib bcrypt.lib ws2_32.lib shell32.lib C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe.res /out:C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe /nologo /libpath:"C:\spc-build\static-php-cli\buildroot\lib" /stack:67108864 /ltcg /nodefaultlib:msvcrt /nodefaultlib:msvcrtd /ignore:4286
   Creating library C:\spc-build\static-php-cli\source\php-src\x64\Release\php.lib and object C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exp
zend.obj : error LNK2001: unresolved external symbol __imp_strncat
string.obj : error LNK2001: unresolved external symbol __imp_strcoll
zend_operators.obj : error LNK2001: unresolved external symbol __imp_strcoll
php_scandir.obj : error LNK2001: unresolved external symbol __imp_strcoll
streams.obj : error LNK2001: unresolved external symbol __imp_strcoll
array.obj : error LNK2001: unresolved external symbol __imp_strcoll
zend_operators.obj : error LNK2001: unresolved external symbol __imp_setlocale
basic_functions.obj : error LNK2001: unresolved external symbol __imp_setlocale
string.obj : error LNK2001: unresolved external symbol __imp_setlocale
libiconv_a.lib(localcharset1.obj) : error LNK2001: unresolved external symbol __imp_setlocale
zend_stream.obj : error LNK2001: unresolved external symbol __imp_isatty
OLDNAMES.lib(isatty.obi) : error LNK2001: unresolved external symbol __imp_isatty
zend_virtual_cwd.obj : error LNK2001: unresolved external symbol __imp__wchmod
php_open_temporary_file.obj : error LNK2001: unresolved external symbol __imp__wchmod
plain_wrapper.obj : error LNK2001: unresolved external symbol __imp__wchmod
filestat.obj : error LNK2001: unresolved external symbol __imp__wchmod
zend_virtual_cwd.obj : error LNK2001: unresolved external symbol __imp_creat
OLDNAMES.lib(creat.obi) : error LNK2001: unresolved external symbol __imp_creat
main.obj : error LNK2001: unresolved external symbol __imp_chdir
OLDNAMES.lib(chdir.obi) : error LNK2001: unresolved external symbol __imp_chdir
main.obj : error LNK2001: unresolved external symbol __imp_tzset
basic_functions.obj : error LNK2001: unresolved external symbol __imp_tzset
OLDNAMES.lib(tzset.obi) : error LNK2001: unresolved external symbol __imp_tzset
reentrancy.obj : error LNK2001: unresolved external symbol __imp_asctime
reentrancy.obj : error LNK2001: unresolved external symbol __imp__ctime64
ioutil.obj : error LNK2001: unresolved external symbol __imp_umask
basic_functions.obj : error LNK2001: unresolved external symbol __imp_umask
file.obj : error LNK2001: unresolved external symbol __imp_umask
OLDNAMES.lib(umask.obi) : error LNK2001: unresolved external symbol __imp_umask
pageinfo.obj : error LNK2001: unresolved external symbol __imp__getpid
wsyslog.obj : error LNK2001: unresolved external symbol __imp__getpid
tsrm_win32.obj : error LNK2001: unresolved external symbol __imp__getpid
php_cli.obj : error LNK2001: unresolved external symbol __imp__getpid
engine_combinedlcg.obj : error LNK2001: unresolved external symbol __imp__getpid
php_cli.obj : error LNK2001: unresolved external symbol __imp_clearerr
php_cli_server.obj : error LNK2001: unresolved external symbol __imp__ctime64_s
php_cli_server.obj : error LNK2001: unresolved external symbol __imp__ftime64
parse_date.obj : error LNK2001: unresolved external symbol __imp_strtod
basic_functions.obj : error LNK2001: unresolved external symbol __imp__wputenv_s
basic_functions.obj : error LNK2001: unresolved external symbol __imp__putenv_s
basic_functions.obj : error LNK2001: unresolved external symbol __imp_putenv
OLDNAMES.lib(putenv.obi) : error LNK2001: unresolved external symbol __imp_putenv
math.obj : error LNK2001: unresolved external symbol __imp_acosh
math.obj : error LNK2001: unresolved external symbol __imp_asinh
math.obj : error LNK2001: unresolved external symbol __imp_atanh
math.obj : error LNK2001: unresolved external symbol __imp_expm1
math.obj : error LNK2001: unresolved external symbol __imp_hypot
math.obj : error LNK2001: unresolved external symbol __imp_log1p
OLDNAMES.lib(creat.obi) : error LNK2001: unresolved external symbol __imp__creat
OLDNAMES.lib(chdir.obi) : error LNK2001: unresolved external symbol __imp__chdir
OLDNAMES.lib(putenv.obi) : error LNK2001: unresolved external symbol __imp__putenv
C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe : fatal error LNK1120: 28 unresolved externals
NMAKE : fatal error U1077: '"link.exe" /nologo @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\PHP_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\CLI_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\BCMATH_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\BZ2_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\CURL_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\DATE_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\HASH_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ICONV_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\JSON_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\MBSTRING_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\PCRE_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\RANDOM_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\REFLECTION_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\SPL_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\STANDARD_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\TOKENIZER_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ZIP_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\ZLIB_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\LIBXML_GLOBAL_OBJS.txt" @"C:\spc-build\static-php-cli\source\php-src\x64\Release\resp\XML_GLOBAL_OBJS.txt"  libbz2_a.lib libcurl_a.lib libcrypto.lib libssl.lib Crypt32.Lib WinMM.Lib Wldap32.Lib normaliz.lib libssh2.lib nghttp2.lib   libiconv_a.lib       iphlpapi.lib  libzip_a.lib libbz2_a.lib zlib_a.lib liblzma_a.lib zlib_a.lib libxml2_a.lib libiconv_a.lib  C:\spc-build\static-php-cli\source\php-src\x64\Release\Zend\jump_x86_64_ms_pe_masm.obj C:\spc-build\static-php-cli\source\php-src\x64\Release\Zend\make_x86_64_ms_pe_masm.obj kernel32.lib ole32.lib user32.lib advapi32.lib shell32.lib ws2_32.lib Dnsapi.lib psapi.lib bcrypt.lib ws2_32.lib shell32.lib C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe.res /out:C:\spc-build\static-php-cli\source\php-src\x64\Release\php.exe /nologo /libpath:"C:\spc-build\static-php-cli\buildroot\lib" /stack:67108864 /ltcg /nodefaultlib:msvcrt /nodefaultlib:msvcrtd /ignore:4286' : return code '0x460'
Stop.
crazywhalecc commented 2 months ago

Currently we don't support intl extension due to libicu does not support static build for windows, and there is currently no feasible patch solution.