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

Fix "random_device: rdseed failed" error in assignTaxonomy() #1145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vrbacky
Copy link

@vrbacky vrbacky commented Sep 25, 2020

assignTaxonomy() raises "random_device: rdseed failed" error when used in multi threaded mode (and single threaded sometimes). It seems to be caused by an error in recent versions of libstdc++ (gcc 9.3.0 and gcc 10.0.1) in Linux (Ubuntu 20.04). Using rdrand as the token value to initialize std::random_device seems to work as a workaround.

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.

None yet

1 participant