-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to link using MSYS2 Clang64 toolchain #1241
Comments
If this may help: https://blog.conan.io/2022/10/13/Different-flavors-Clang-compiler-Windows.html NOTE: When exactly are these 2 files expected to be included in the source list? |
I can't duplicate this. When I build with When using the default compiler in the CLANG64 environment, it is When I attempt to build with CLANG64 using |
Ok, thanks.
I'm seeing different results for the CLANG64 environment:
I don't know. Do you know what its called or the package name? I tried running I run |
So this is what I have installed:
If its missing a package, then please tell me what it is.
Yes. I do a Start -> MSYS2 -> CLANG64 in this case, since we are talking about Clang64.
Yeah, so I don't know about this. Naively, it seems like the environments should keep themselves separated from one another. Otherwise, what's the point of providing different environments? |
Ok, thanks. It looks like I can install yet another Clang on this machine:
Do you know what the compiler name is? I'm still getting a "command not found":
|
Clang is supposed to get into the code path located at https://github.com/weidai11/cryptopp/blob/master/cpu.cpp#L434. It is not supposed to get into the code path for CPUID64 and XGETBV64. But we've been dealing with Clang's crap for years. It pretends to be other compilers, and then it causes all sorts of problems, like this. |
So that is supposed to be for the version of Clang that Microsoft distributes as part of their Build Tools and Visual Studio and their SDKs. It is not supposed to be for MSYS/MinGW/Cygwin. I think the problem starts further back, sometime around https://github.com/weidai11/cryptopp/blob/master/config_ver.h#L55. Maybe we need another Clang differentiator, like |
Give Commit 19f0e3aa1e63 a try. It tested good for me under MSYS2's CLANG64 environment. I'm afraid to close this issue because I know how much trouble Clang is... |
No description provided.
The text was updated successfully, but these errors were encountered: