Skip to content

[Bug]: 1.25.0 build fails "The CPU Jitter random number generator must not be compiled with optimizations." #4162

Description

@remicollet

Bug report

Building 1.25.0 with default RPM build options

  cargo:warning=Inherited flag "-fno-omit-frame-pointer" is not supported by the currently used CC
  cargo:warning=/builddir/build/BUILD/php-pecl-datadog-trace-1.25.0-build/php-pecl-datadog-trace-1.25.0/mycargo/aws-lc-sys/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-base.c:47:3: error: #error "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy.c."
  cargo:warning=   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."
  cargo:warning=      |   ^~~~~
  exit status: 1

PHP version

N/A

Tracer or profiler version

1.25.0

Installed extensions

N/A

Output of phpinfo()

No response

Upgrading from

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions