Skip to content

doc: Windows WSL build recommendation to temporarily disable Win32 PE support - #2032

Merged
random-zebra merged 1 commit into
PIVX-Project:masterfrom
KolbyML:pivx--update-windows-build-doc
Dec 7, 2020
Merged

random-zebra merged 1 commit into
PIVX-Project:masterfrom
KolbyML:pivx--update-windows-build-doc

Conversation

@KolbyML

@KolbyML KolbyML commented Dec 5, 2020

Copy link
Copy Markdown

This is a cherry-pick from Bitcoin upstream.

bitcoin#19408

This is a solution for the issues described in #17277 and #18348

When cross compiling Bitcoin Code for Windows the Autoconf configure scripts attempt to execute Win32 PE files. The configure scripts expect the attempt to fail, however, WSL supports forking the execution of Win32 PE files out to the underlying Windows OS. This can result in the executions failing for unanticipated reasons, which is the case in the two referenced issues.

This PR adds an explanatory note and additional instructions to temporarily disable WLS's Win32 support.

Anyways I am making a pull request for this as it would be nice to be able to cross-compile pivx using the docs in the repo instead of checking bitcoin upstream for fixes and such.

@ambassador000

Copy link
Copy Markdown

I tried it on WSL Ubuntu 18.04, I still got the error...

issue

@KolbyML

KolbyML commented Dec 6, 2020

Copy link
Copy Markdown
Author

@NoobieDev12 can I have a log of what you did

@ambassador000

Copy link
Copy Markdown

@KolbyML I haven't compiled through WSL for a while, it happened during this command: make HOST=x86_64-w64-mingw32

I went through steps HERE.

@KolbyML

KolbyML commented Dec 6, 2020

Copy link
Copy Markdown
Author

Anyways without knowing exactly what you did I can't really help you all I know is this fixed the issue I was having and was added by bitcoin so yeah

@Fuzzbawls Fuzzbawls left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ACK 5139143

@Fuzzbawls

Copy link
Copy Markdown
Collaborator

@NoobieDev12 not exactly sure why you're still having an issue with WSL, but it might be good to goto the upstream pull request (and the two upstream issues noted there) and dig through the comments. Might also make sure that you're using WSL1

@random-zebra random-zebra added this to the 5.0.0 milestone Dec 7, 2020

@random-zebra random-zebra left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK 5139143 and merging...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants