Skip to content

DuckDB 1.1 undefined reference to atomic #13855

@vgrechin

Description

@vgrechin

What happens?

I'm building DuckDB 1.1 on RaspberryPi 5 (Bookworm, 32-bit edition), with this

~/build/duckdb-1.1.0/build $ cmake .. --install-prefix /opt/duckdb
make -j4

Duckdb11Configuring.txt

It looks like libatomic isn't linked properly, so that encounter multiple errors of this kind:

parquet_extension.cpp:
(.text._ZN6duckdb19ParquetScanFunction21ParquetScanInitGlobalERNS_13ClientContextERNS_22TableFunctionInitInputE[_ZN6duckdb19ParquetScanFunction21ParquetScanInitGlobalERNS_13ClientContextERNS_22TableFunctionInitInputE]+0x750): undefined reference to `__atomic_store_8'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/sqlite3_api_wrapper/CMakeFiles/test_sqlite3_api_wrapper.dir/build.make:130: tools/sqlite3_api_wrapper/test_sqlite3_api_wrapper] Error 1
make[1]: *** [CMakeFiles/Makefile2:7608: tools/sqlite3_api_wrapper/CMakeFiles/test_sqlite3_api_wrapper.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

May someone take a look at the build scripts?

To Reproduce

~/build/duckdb-1.1.0/build $ cmake .. --install-prefix /opt/duckdb
make -j4

OS:

Raspberry Py OS Bookworm, 32 bit

DuckDB Version:

1.1

DuckDB Client:

CLI

Hardware:

No response

Full Name:

Vyacheslav Grechin

Affiliation:

Freelance

What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.

I have not tested with any build

Did you include all relevant data sets for reproducing the issue?

Yes

Did you include all code required to reproduce the issue?

  • Yes, I have

Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?

  • Yes, I have

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions