[clang] [clang] Emit constraint intrinsics for arc and hyperbolic trig clang builtins (PR #98949)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 30 16:39:07 PDT 2024
farzonl wrote:
> We (Chrome) are seeing linker failures on our x86 Windows builds due to this PR: https://crbug.com/355455678
>
> ```
> [12702/86218] LINK glmark2_wgl.exe glmark2_wgl.exe.pdb
> ..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe /OUT:./glmark2_wgl.exe /nologo -libpath:..\..\third_party\llvm-build\Release+Asserts\lib\clang\20\lib\windows /winsysroot:../../third_party/depot_tools/win_toolchain/vs_files/7393122652 /MACHINE:X86 /PDB:./glmark2_wgl.exe.pdb @./glmark2_wgl.exe.rsp
> lld-link: error: undefined symbol: _asinf
> >>> referenced by .\..\..\third_party\angle\third_party\glmark2\src\src\model.cpp:266
> >>> obj/third_party/angle/third_party/glmark2/glmark2_common_gl/model.obj:(public: void __thiscall Model::calculate_texcoords(void))
> >>> referenced by .\..\..\third_party\angle\third_party\glmark2\src\src\model.cpp:267
> >>> obj/third_party/angle/third_party/glmark2/glmark2_common_gl/model.obj:(public: void __thiscall Model::calculate_texcoords(void))
>
> lld-link: error: undefined symbol: _atanf
> >>> referenced by .\..\..\third_party\angle\third_party\glmark2\src\src\scene-build.cpp:179
> >>> obj/third_party/angle/third_party/glmark2/glmark2_common_gl/scene-build.obj:(public: virtual bool __thiscall SceneBuild::setup(void))
> >>> referenced by .\..\..\third_party\angle\third_party\glmark2\src\src\scene-refract.cpp:382
> >>> obj/third_party/angle/third_party/glmark2/glmark2_common_gl/scene-refract.obj:(public: bool __thiscall RefractPrivate::setup(class std::__Cr::map<class std::__Cr::basic_string<char, struct std::__Cr::char_traits<char>, class std::__Cr::allocator<char>>, struct Scene::Option, struct std::__Cr::less<class std::__Cr::basic_string<char, struct std::__Cr::char_traits<char>, class std::__Cr::allocator<char>>>, class std::__Cr::allocator<struct std::__Cr::pair<class std::__Cr::basic_string<char, struct std::__Cr::char_traits<char>, class std::__Cr::allocator<char>> const, struct Scene::Option>>> &))
> >>> referenced by .\..\..\third_party\angle\third_party\glmark2\src\src\scene-shading.cpp:250
> >>> obj/third_party/angle/third_party/glmark2/glmark2_common_gl/scene-shading.obj:(public: virtual bool __thiscall SceneShading::setup(void))
> >>> referenced 2 more times
> exit=1
> error: 1 steps failed
> ```
I'm preparing a fix, building it now should be up in the next 20-30 minutes. Thanks for reporting this issue!
https://github.com/llvm/llvm-project/pull/98949
More information about the cfe-commits
mailing list