Skip to content

Conversation

@hebasto
Copy link
Member

@hebasto hebasto commented Nov 27, 2021

On master (200d97f) cross compiling for Windows with depends being built with DEBUG=1 is broken in two places:

This PR workarounds both cases.

Closes #19772.

The previous attempt was #21344.

@laanwj
Copy link
Member

laanwj commented Nov 30, 2021

Cannot test this at the moment. I'm confused why enable_shared=no works in this case, tagged @fanquake as reviewer because of #19772 (comment) .

@hebasto
Copy link
Member Author

hebasto commented Nov 30, 2021

Cannot test this at the moment. I'm confused why enable_shared=no works in this case

It controls how the libtool will be configured by the following ./configure script.

Copy link
Member

@luke-jr luke-jr left a comment

Choose a reason for hiding this comment

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

Concept NACK. This doesn't fix the build, just prevents it...

@fanquake
Copy link
Member

fanquake commented Dec 1, 2021

I agree with Luke. It's hard to call this a fix when it's just ignoring what's broken. As-is, we'd also get an undocumented special casing in our config.site, which I'd rather avoid. If this a big problem for someone, maybe we could carry this in the interim, but this isn't a long term solution, and shouldn't be merged undocumented.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: Cross-compiling libbitcoinconsensus for Windows fails with DEBUG=1

4 participants