Skip to content

The CPU Jitter random number generator must not be compiled with optimizations. #1097

@yurivict

Description

@yurivict

Problem:

Build of the qdrant project version 1.17.1 fails:

warning: aws-lc-sys@0.38.0: /wrkdirs/usr/ports/databases/qdrant/work/qdrant-1.17.1/cargo-crates/aws-lc-sys-0.38.0/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-base.c:47:3: error: "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy.c."
warning: aws-lc-sys@0.38.0:    47 |  #error "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy.c."
warning: aws-lc-sys@0.38.0:       |   ^
warning: aws-lc-sys@0.38.0: 1 error generated.

Relevant details

AWS-LC for Rust versions or commit: (6b1bce0...)

System information: for linux, below info can be collected by running uname -srvmp

  • CPU architecture: x86-64
  • CPU name: AMD Ryzen 9 9950X 16-Core Processor
  • OS: FreeBSD 15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions