nodejs / nodejs/node

Compilation issues on i586

未关闭
#64,021 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

build experimental v8 engine
主要语言
JavaScript
星标
122k
派生
37.4k
平均合并
4 天 3 小时
30 天内合并 PR
272

描述

Looks like there's a build failure on linux 32-bit x86 only. (openSUSE Tumbleweed i586 arch)

[  845s] In file included from ../src/util.h:29,
[  845s]                  from ../src/crypto/crypto_clienthello-inl.h:28,
--
[ 2893s] ../deps/v8/src/strings/string-hasher.cc:29:12: error: ‘_mm_cvtsi128_si64’ was not declared in this scope; did you mean ‘_mm_cvtsi32_si64’?
[ 2893s]    29 |     return _mm_cvtsi128_si64(_mm_packus_epi16(x, x));
[ 2893s]       |            ^~~~~~~~~~~~~~~~~
[ 2893s]       |            _mm_cvtsi32_si64
[ 2893s] ../deps/v8/src/strings/string-hasher.cc: In static member function ‘static uint64_t v8::internal::ConvertTo8BitHashReader::Read32(const uint8_t*)’:
[ 2893s] ../deps/v8/src/strings/string-hasher.cc:50:12: error: ‘_mm_cvtsi128_si64’ was not declared in this scope; did you mean ‘_mm_cvtsi32_si64’?
[ 2893s]    50 |     return _mm_cvtsi128_si64(_mm_packus_epi16(x, x));
[ 2893s]       |            ^~~~~~~~~~~~~~~~~
[ 2893s]       |            _mm_cvtsi32_si64

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 deps/v8/src/strings/string-hasher.cc 和已报告的 _mm_cvtsi128_si64 错误入手,然后在 Linux 32-bit x86 上重现构建,例如在 openSUSE Tumbleweed i586 上。确定适用于此架构的更改,并验证 Node.js 构建是否成功完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp, linux
领域
build-system, operating-systems
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
需要澄清
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。