Skip to content
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

no lib arch checks for mingw #426

Merged
merged 2 commits into from
Mar 9, 2022

Conversation

autoantwort
Copy link
Contributor

The cofffilereader fails when reading .a files with 'Could not find proper second linker member'

Fixes microsoft/vcpkg#23450

The cofffilereader fails when reading .a files with 'Could not find proper second linker member'
Copy link
Contributor

@strega-nil-ms strega-nil-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is, imo, the correct solution. I'll merge once I get to work.

@BillyONeal
Copy link
Member

If we don't have a fix today I think we should revert cb47927 and add it back when it is fixed. (Assuming that change is what created the problem)

@@ -27,7 +27,9 @@ namespace vcpkg::Util
template<class Vec, class Key>
bool contains(const Vec& container, const Key& item)
{
return std::find(container.begin(), container.end(), item) != container.end();
using std::begin;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As an aside, this really doesn't belong in "vectors" anymore.

@strega-nil-ms strega-nil-ms merged commit 1affd32 into microsoft:main Mar 9, 2022
@AenBleidd
Copy link
Contributor

As far as I see, there is no build artifacts, so the only way to test this is to build this manually?

strega-nil-ms pushed a commit to strega-nil/vcpkg that referenced this pull request Mar 9, 2022
* Update vcpkg-ce SHA and exclude empty file prettifyJs2Xml.js from
  signing. by @BillyONeal in
  microsoft/vcpkg-tool#423
* no lib arch checks for mingw by @autoantwort in
  microsoft/vcpkg-tool#426

**Full Changelog**:
microsoft/vcpkg-tool@2022-03-08...2022-03-09
@AenBleidd
Copy link
Contributor

Ok, I tested this and it works fine now. Thanks for the quick fix, @autoantwort

strega-nil-ms pushed a commit to microsoft/vcpkg that referenced this pull request Mar 9, 2022
* Update vcpkg-ce SHA and exclude empty file prettifyJs2Xml.js from
  signing. by @BillyONeal in
  microsoft/vcpkg-tool#423
* no lib arch checks for mingw by @autoantwort in
  microsoft/vcpkg-tool#426

**Full Changelog**:
microsoft/vcpkg-tool@2022-03-08...2022-03-09
@JackBoosY
Copy link
Contributor

I think this PR caused microsoft/vcpkg#23476.
I can confirm that the build won't fails with 2022-03-08 Release.

@dg0yt
Copy link
Contributor

dg0yt commented Mar 10, 2022

I think this PR caused microsoft/vcpkg#23476.

I think this PR just fixed (enabled) the check. The new issues are real issues which existed before, but unnoticed.

@vicroms
Copy link
Member

vicroms commented Mar 10, 2022

I agree with dg0yt. We'll need to fix regressions as we find them.

@JackBoosY
Copy link
Contributor

Anyway, I hope we can make a fully test when our executable update.
And I hope we can enable all the checks in non-Windows in the future.

@autoantwort autoantwort deleted the no-arch-checks-mingw branch August 9, 2022 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vcpkg-tool] Any port build fails for x64-mingw-static
8 participants