
Issue #21255 has been updated by hsbt (Hiroshi SHIBATA). Backport changed from 3.2: REQUIRED, 3.3: DONE, 3.4: DONE to 3.2: DONE, 3.3: DONE, 3.4: DONE Merged at https://github.com/ruby/ruby/commit/051e5f54ccaef1721796252af259530b82c44211 for Ruby 3.2 ---------------------------------------- Bug #21255: Can't build Ruby with Windows SDK 10.0.26100 https://bugs.ruby-lang.org/issues/21255#change-114141 * Author: hsbt (Hiroshi SHIBATA) * Status: Closed * Assignee: windows * Backport: 3.2: DONE, 3.3: DONE, 3.4: DONE ---------------------------------------- I tried to build ruby.exe with Windows SDK 10.0.26100. But it failed with: ``` dmyext.obj dmyenc.obj linking shared-library x64-vcruntime140-ruby350.dll x64-vcruntime140-ruby350.def : error LNK2001: 外部シンボル "Avx2WmemEnabledWeakValue" は未解決です。 dummy.lib : fatal error LNK1120: 1 件の未解決の外部参照 ``` (This message is the japanese edition of VS2019 Ver.16.11.45) I and @nobu faced the same issue at GitHub Actions. ``` x64-vcruntime140-ruby350.def : error LNK2001: unresolved external symbol Avx2WmemEnabledWeakValue ``` https://github.com/nobu/ruby/actions/runs/13630688130/job/38097613034#step:2... I resolved this issue to downgrade Windows SDK to 10.0.22261. -- https://bugs.ruby-lang.org/