You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR:
I would have expected the CLI and Extension to build with linux_amd64_gcc4 for DUCKDB_PLATFROM.
CLI builds to linux_amd64 and rust extension to linux_amd64_gcc4.
I am not sure, if I have build duckdb and the template extension as intended.
I run into the following issue:
❯ ./build/release/duckdbv1.2.1-dev63 a35a3fba95Enter ".help" for usage hints.Connected to a transient in-memory database.Use ".open FILENAME" to reopen on a persistent database.D install rusty_quack from '../extension-template-rs/build/release/extension';IO Error:Failed to install 'rusty_quack'The file was built for the platform 'linux_amd64_gcc4', but we can only load extensions built for platform 'linux_amd64'.D pragma platform;┌─────────────┐│ platform ││ varchar │├─────────────┤│ linux_amd64 │└─────────────┘D
This makes sense. As the DUCKDB_PLATFORM is detected as linux_amd64_gcc4 via pip install in venv from the Makefile in this extension.
According to Platforms, I would have expected, the CLI to have been build to the same platform. Instead it is build to linux_amd64 as you can see above.
Both duckdb and the extension were build with make and make configure && make release accordingly.
OS and GCC:
~/duckdb
❯ uname -aLinux dev 6.12.8 #1-NixOS SMP PREEMPT_DYNAMIC Thu Jan 2 09:34:26 UTC 2025 x86_64 GNU/Linux~/duckdb
❯ gcc --versiongcc (GCC) 14.2.1 20241116Copyright (C) 2024 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
EDIT: Corrected build command
The text was updated successfully, but these errors were encountered:
Hi Team,
TL;DR:
I would have expected the CLI and Extension to build with
linux_amd64_gcc4
for DUCKDB_PLATFROM.CLI builds to
linux_amd64
and rust extension tolinux_amd64_gcc4
.I am not sure, if I have build duckdb and the template extension as intended.
I run into the following issue:
This makes sense. As the
DUCKDB_PLATFORM
is detected aslinux_amd64_gcc4
via pip install invenv
from the Makefile in this extension.According to Platforms, I would have expected, the CLI to have been build to the same platform. Instead it is build to
linux_amd64
as you can see above.Both duckdb and the extension were build with
make
andmake configure && make release
accordingly.OS and GCC:
EDIT: Corrected build command
The text was updated successfully, but these errors were encountered: