Skip to content

Conversation

Mytherin
Copy link
Collaborator

@Mytherin Mytherin commented Apr 8, 2023

Fixes #6231

This PR makes it so that MinGW is treated as a different platform for extension installation/loading purposes. This should make it so MinGW users no longer load extensions compiled with Visual Studio which causes crashes. This is primarily a problem for R on Windows because the R toolchain uses MinGW internally.

This PR does not yet set up the infrastructure to compile & upload extensions for MinGW, however, so the extensions will not yet be available to install for MinGW users. Instead trying to install a MinGW extension should now result in an "extension not found" error.

@Mause
Copy link
Member

Mause commented Apr 8, 2023

We probably need to add something similar for musl and Android, right?

@Mytherin
Copy link
Collaborator Author

Mytherin commented Apr 8, 2023

Possibly yes. For Linux we might be able to make a universal build by statically linking musl instead, which can then also be used by people with a low glibc version.

@Mytherin Mytherin merged commit 92dc0c7 into duckdb:master Apr 8, 2023
@Mytherin Mytherin deleted the mingwextensions branch April 24, 2023 13:35
@virtualsafety
Copy link

when to support MinGW ?

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.

LOAD httpfs; creates fatal error on Windows (from R)
3 participants