CI: Pass -O2 for annocheck
Because optflags is pasted into the invocation line after CC, we were building with -O1 unintentionally. You can see this in the configuration summary: https://github.com/ruby/ruby/actions/runs/3933391169/jobs/6727044423#step:9:753
optflags
CC
The check actually fails with -O2. To make it pass, upstream suggest that we use the annocheck GCC plugin. Since it requires building from source as the debian package for it isn't ready yet, punt on it for now and use --skip-gaps.
--skip-gaps
Co-authored-by: Jun Aruga jaruga@redhat.com
CI: Pass -O2 for annocheck
Because
optflags
is pasted into the invocation line afterCC
, we werebuilding with -O1 unintentionally. You can see this in the configuration
summary: https://github.com/ruby/ruby/actions/runs/3933391169/jobs/6727044423#step:9:753
The check actually fails with -O2. To make it pass, upstream suggest
that we use the annocheck GCC plugin. Since it requires building from
source as the debian package for it isn't ready yet, punt on it for now
and use
--skip-gaps
.Co-authored-by: Jun Aruga jaruga@redhat.com