Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not using Random Device in DuckDB Core #15540

Merged
merged 15 commits into from
Jan 9, 2025
Merged

Conversation

pdet
Copy link
Contributor

@pdet pdet commented Jan 3, 2025

Random Device has different interfaces and libc++ and in libstdc++, this can cause symbol collisions with other libraries.
This PR removes the usage of random device and checks the symbols are not exported in CI.
It is most likely necessary to also amend extensions that might use and export this symbol.

Fix: duckdb/duckdb-java#14
Fix: #8708

@duckdb-draftbot duckdb-draftbot marked this pull request as draft January 3, 2025 18:09
@pdet pdet marked this pull request as ready for review January 3, 2025 18:09
@duckdb-draftbot duckdb-draftbot marked this pull request as draft January 3, 2025 20:13
@pdet pdet marked this pull request as ready for review January 3, 2025 20:16
@duckdb-draftbot duckdb-draftbot marked this pull request as draft January 4, 2025 01:55
@pdet pdet marked this pull request as ready for review January 4, 2025 09:58
@duckdb-draftbot duckdb-draftbot marked this pull request as draft January 7, 2025 13:26
@pdet pdet marked this pull request as ready for review January 7, 2025 20:57
@duckdb-draftbot duckdb-draftbot marked this pull request as draft January 8, 2025 12:11
@pdet pdet marked this pull request as ready for review January 8, 2025 15:23
@duckdb-draftbot duckdb-draftbot marked this pull request as draft January 8, 2025 17:21
@pdet pdet marked this pull request as ready for review January 8, 2025 23:34
Copy link
Collaborator

@Mytherin Mytherin left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good - one more minor comment

@duckdb-draftbot duckdb-draftbot marked this pull request as draft January 9, 2025 11:47
@pdet pdet marked this pull request as ready for review January 9, 2025 11:47
@Mytherin
Copy link
Collaborator

Mytherin commented Jan 9, 2025

Thanks!

@Mytherin Mytherin merged commit d707b44 into duckdb:main Jan 9, 2025
51 checks passed
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jan 9, 2025
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Jan 9, 2025
Not using Random Device in DuckDB Core (duckdb/duckdb#15540)

Co-authored-by: krlmlr <[email protected]>
@pdet pdet deleted the exported_symbols branch January 12, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants