Comments (2)
感谢反馈。问题的原因是,构建脚本错误的使用 excel 的LOOKUP
来确定ucrt函数是否在msvcrt中。
由于此函数是模糊匹配,这会导致 tanh 匹配 tanhf,_ftime匹配_ftime32等情况发生。这使我错误的认为这些ucrt函数在msvcrt中是存在的,然后引入了错误的函数导入。
影响范围
问题影响较低。只影响NT5.2 x64系统无法运行目标平台为5.2.3790.0 x64的编译产物。
其他目标平台由于msvcrt恰好拥有这些函数或者压根就没有相关函数直接被静态导入了,所以未能触发此问题。
临时缓解方案
无。只能等待VC-LTL发布新版本。
修复方案
现在已经使用XLOOKUP
重新纠正函数搜索脚本,并且确认现在5.2.3790.0 x64目标中以下函数受到影响需要跟进解决:
; 调用tanh,这是它等效的double版本
tanhf
; 下面的时间相关函数使用weak转发到对应的VC6时代的无32后缀版本即可
_wutime32
_wctime32
_utime32
_time32
_mktime32
_localtime32
_gmtime32
_futime32
_ftime32
_ctime32
; 已经实现,调整编译条件,5.2.3790.0 x64重新编译即可
_set_controlfp
from vc-ltl5.
https://github.com/Chuyu-Team/VC-LTL5/releases/tag/v5.0.6-Beta5
from vc-ltl5.
Related Issues (20)
- RC文件中引用VC-LTL编译失败 HOT 2
- LIBCMT.lib(exe_winmain.obj) : error LNK2001: unresolved external symbol _WinMain@16 HOT 1
- 启用 /guard:ehcont 时编译报告2047链接错误 HOT 3
- Add .NET native AOT support HOT 8
- 分享一下实际使用的体验以及对适用场景的分析(非bug) HOT 1
- 修复对VSCMD_ARG_TGT_ARCH的支持
- VC-LTL不兼容 Intel C++ Compiler 2022 工具集 HOT 2
- Win10 + VS2022 + CMake, Error HOT 4
- how to use VC-LTL5 to build a python 3.10 for windows 7? HOT 1
- 添加xmake的编译支持? HOT 3
- 14.35.32215 Self built binaries don't work HOT 11
- System-Dlls strings HOT 2
- unresolved external symbol HOT 1
- Windows XP模式编译时_wputenv_s发生缓冲区越界访问 HOT 1
- msvcrt模式_beginthread创建的线程无法获取ptd HOT 1
- _CxxThrowException@8、__CxxLongjmpUnwind@4导入错误 HOT 1
- add Developer PowerShell support for VC-LTL
- 请问MD编译方式能使用VC-LTL吗? HOT 2
- MFC140.dll in Redist can't run at Windows XP at 5.0.9 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vc-ltl5.