Skip to content

Conversation

@staticlibs
Copy link
Contributor

GDAL dependency was adding /machine:x64 linker flag for all 64-bit platforms. On ARM64 this causes linking errors like this:

fatal error LNK1112: module machine type 'ARM64' conflicts with target machine type 'x64'

The added patch checks for ARM64 and AMD64 arches before setting correct linker arg.

Ref: duckdblabs/duckdb-internal#5891

GDAL dependency was adding `/machine:x64` linker flag for all 64-bit
platforms. On ARM64 this causes linking errors like this:

> fatal error LNK1112: module machine type 'ARM64' conflicts with target machine type 'x64'

The added patch checks for `ARM64` and `AMD64` arches before setting
correct linker arg.

Ref: duckdblabs/duckdb-internal#5891
@taniabogatsch taniabogatsch requested a review from Maxxen December 2, 2025 10:49
@Maxxen Maxxen merged commit 2f2668d into duckdb:v1.4-andium Dec 2, 2025
@staticlibs staticlibs deleted the gdal_windows_arm64 branch December 2, 2025 12:57
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.

2 participants