Open zhenkas opened 2 years ago
Could you please try 15 or main
branch?
I can do it only once it will arrive with VS 2022 update
On Sun, Oct 30, 2022, 15:36 EugeneZelenko @.***> wrote:
Could you please try 15 or main branch?
— Reply to this email directly, view it on GitHub https://github.com/llvm/llvm-project/issues/58692#issuecomment-1296260809, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGRSCMJOY267E22HLI3JEDWFZ2UPANCNFSM6AAAAAARSGXGVE . You are receiving this because you authored the thread.Message ID: @.***>
Finally I got version 15 and it is still failed to compile, but with another error
1>/<XFGHASHMAP>/: not a COFF object, bitcode, archive, import library or resource file 1>D:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1544,5): error MSB6006: "llvm-lib.exe" exited with code 1.
Also I discovered that this happens only to lib projects
This is still an issue. The COFF check is emitting a diagnostic in LibDriver!appendFile
after it attempts to determine what the incoming object type is.
Agreed, it's still an issue in MSVC. If you install clang and the latest SDK (Windows 11) from Visual Studio installer, it's broken. You have to use Windows 10 SDK.
I get this error even when targeting Windows 10.0.19041.0
1> [CMake] -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19041.0.
1> [CMake] -- The C compiler identification is Clang 16.0.5 with MSVC-like command-line
1> [CMake] -- The CXX compiler identification is Clang 16.0.5 with MSVC-like command-line
/<XFGHASHMAP>/: not a COFF object, bitcode, archive, import library or resource file
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1582,5): error MSB6006: "llvm-lib.exe" exited with code 1.
why do you use those build systems, they only obfuscate problems and let linkers stay obscure and unfriendly. im unable to find any docs of building with lld-link.exe
, its kind of closed cult
You are right about "open source" but not about "close source"
On Mon, 15 Jul 2024, 03:13 determin1st, @.***> wrote:
why do you use those build systems, they only obfuscate problems and let linkers stay obscure and unfriendly. im unable to find any docs of building with lld-link.exe, its kind of closed cult
— Reply to this email directly, view it on GitHub https://github.com/llvm/llvm-project/issues/58692#issuecomment-2227532217, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGRSCIPF2JM2WKQGZ37KALZMMHZNAVCNFSM6AAAAABK3SKKTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGUZTEMRRG4 . You are receiving this because you authored the thread.Message ID: @.***>
I am getting linkage error on all project types (libs and DLLs) in 64-bit compilation
If I change SDK version to 10.0.19041.0 then it works.
Clang version
MSBuild version
Windows SDK used