Actions
Bug #21255
closed
Can't build Ruby with Windows SDK 10.0.26100
Description
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 (Nobuyoshi Nakada) 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:20:1516
I resolved this issue to downgrade Windows SDK to 10.0.22261.
Updated by hsbt (Hiroshi SHIBATA) about 2 months ago
- Subject changed from Ruby couldn't build with Windows SDK 10.0.26100 to Can't build Ruby with Windows SDK 10.0.26100
- Status changed from Open to Assigned
- Assignee set to windows
Updated by nobu (Nobuyoshi Nakada) 5 days ago
- Status changed from Assigned to Closed
Applied in changeset git|72bda0f981c7136f50254c433bbfb97a953f634b.
[Bug #21255] Win32: Do not export __declspec(selectany)
symbols
x64-vcruntime140-ruby350.def : error LNK2001: unresolved external symbol Avx2WmemEnabledWeakValue
Updated by hsbt (Hiroshi SHIBATA) 4 days ago
- Backport changed from 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN to 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED
Actions
Like0
Like0Like0Like0