-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Patch Tuesday August 2023. #33088
Patch Tuesday August 2023. #33088
Conversation
BillyONeal
commented
Aug 10, 2023
- Update PowerShell to 7.3.6
- Install ASAN components on Windows.
- Use 1ES to provision Android.
- Update checklist to track removal of manual Linux deployment.
- Fix typo in SAS token minting script.
Failures that don't match: https://dev.azure.com/vcpkg/public/_build/results?buildId=92692&view=logs&j=f79cfdd7-47a8-597f-8f57-dc3e21a8f2ad&t=da63cf11-1f12-503b-6d64-3b2fb713c172
Both of these are not using the right compiler; perhaps they saw asan parts and are trying to pick clang-cl instead. Investigating. |
libxt:
Looks more like a missing include. libxt needs to use clang-cl due to the use of inline assembly. Openslide:
looks like the same problem. Missing include. Openslide also uses clang-cl due to clang-cl is in general more strict about these and will error instead of only warn about those issues. |
That is not OK. The C++ compiler must be the one the triplet says it is. Using clang-cl to compile assembly files is OK but this is clearly not an assembly file. |
The x64-windows triplet in vcpkg does not explicitly specify a compiler. Also there are always exceptions from implicit rules to make downstream usage possible because otherwise you are basically hard blocking downstream consumers without a very good reason. |
https://gitlab.freedesktop.org/xorg/lib/libxt/-/issues/19 submitted upstream |
It very explicitly specifies a compiler. Which the
User said "use this compiler" is that reason. If this thing doesn't support Windows because it can't use the compiler the user said then it can't be in the curated registry. If we merged it, that was in error based on the understanding that it was only used to compile assembly and therefore the C++ compiler the user asked for was still respected.
No. We can/have rejected inclusion in the curated registry on this basis, both because something can't compile with msvc on Windows, or with gcc on Linux. I'm not going to open the can of worms to try to get rid of this here since that doesn't seem to be the root of the regression (as opposed to the missing headers you point out), but in the future that behavior on the part of ports is unacceptable. The compiler to use is a user setting. Ignoring the user setting is unacceptable. |
First detected in microsoft/vcpkg#33088 ``` D:\buildtrees\openslide\src\v3.4.1-a70eeb2621.clean\test\test-common.c(51,25): error: call to undeclared function '_get_osfhandle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HANDLE hdl = (HANDLE) _get_osfhandle(fd); ``` Signed-off-by: Billy Robert O'Neal III <bion@microsoft.com>