Project

General

Profile

Actions

Bug #21255

closed

Can't build Ruby with Windows SDK 10.0.26100

Bug #21255: Can't build Ruby with Windows SDK 10.0.26100

Added by hsbt (Hiroshi SHIBATA) 7 months ago. Updated 3 months ago.

Status:
Closed
Assignee:
Target version:
-
[ruby-core:121574]

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) 7 months ago Actions #1 [ruby-core:121585]

  • 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 months ago Actions #2

  • 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) 5 months ago Actions #3

  • Backport changed from 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN to 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) 4 months ago Actions #4 [ruby-core:122531]

  • Backport changed from 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED to 3.2: REQUIRED, 3.3: DONE, 3.4: REQUIRED

Updated by k0kubun (Takashi Kokubun) 3 months ago Actions #5 [ruby-core:122758]

  • Backport changed from 3.2: REQUIRED, 3.3: DONE, 3.4: REQUIRED to 3.2: REQUIRED, 3.3: DONE, 3.4: DONE

ruby_3_4 309b1aaf1f.

Updated by hsbt (Hiroshi SHIBATA) 3 months ago Actions #6 [ruby-core:122851]

  • Backport changed from 3.2: REQUIRED, 3.3: DONE, 3.4: DONE to 3.2: DONE, 3.3: DONE, 3.4: DONE
Actions

Also available in: PDF Atom