Remove use of dumpbin from post-build checks.#834
Remove use of dumpbin from post-build checks.#834BillyONeal merged 38 commits intomicrosoft:mainfrom
dumpbin from post-build checks.#834Conversation
…so fix duplicated UWP message and the wrong slashes being printed in file paths.
|
Probably needs testing with stuff generated using clang-cl/llvm-link? |
Those are not available in our labs. |
They are very particular about what software goes into the lab that has access to code signing, if that makes sense. I could probably jump through some hoops to get that to happen but I don't think it's worth it for just this. I did manually check a few clang-cl examples and it worked fine.
Skipping dumpbin checks makes sense to me but not sure why you need a skip architecture check? That's probably an interesting repro here... Regardless I think you'll able to remove those lines after this and #814 land.
I think that just becomes meaningless, since the problem that policy exists to work around will no longer exist. |
|
Depends on #814 |
dumpbin from post-build checks.dumpbin from post-build checks.
|
The policy was added in microsoft/vcpkg#9901 due to dumpbin not running on some of the llvm generated files. I never investigated why this error happened but I know that Note: main llvm PR at the time was microsoft/vcpkg#4609. Current LLVM test pr is microsoft/vcpkg#25897 just ignore the merge conflicts (resolve to upstream); I am still waiting for the boost/msbuild fixes to land before i touch that PR again. |
I looked at this and indeed only the first linker member is present. I pushed a fix. |
|
Could you also test the implementation with a static library generated using clang-cl with |
# Conflicts: # src/vcpkg/base/cofffilereader.cpp
Do you have the matching release lib for this? (I'm adding it to an e2e test) |
…debug and release binaries output. See microsoft#834 (comment) for examples.
Excuse me I mean the debug one. (The wrong warning output made me confused!) |
|
@Neumann-A You got me to break out hex workshop I hope you're happy |
Drive by: Get rid of dynamic initializers for old CRTs lists.
…the char overload. Fix test failures.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
|
Should I change to a UCRT mingw toolchain now? Or is there a knob? |
|
|
Excuse me, I mean: |
|
You probably mean |
|
:sigh: |




We already understand all the information for DLLs from the existing PE/COFF reader, so we don't need to ask dumpbin to tell us again. Advantages:
Drive by fix:
BuildPolicy::SKIP_ARCHITECTURE_CHECK.Other notes: