From: Matt Caswell Date: Mon, 15 Aug 2022 11:07:37 +0000 (+0100) Subject: Ensure we build ub sanitizer builds with -DPEDANTIC X-Git-Tag: openssl-3.2.0-alpha1~2274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17b94de3df327e6619e52529e345a340d4a0a100;p=thirdparty%2Fopenssl.git Ensure we build ub sanitizer builds with -DPEDANTIC Otherwise we may get spurious results from ub sanitizer. For example we assume we can tolerate some unaligned write without this define that ub sanitizer will complain about. Reviewed-by: Dmitry Belyavskiy Reviewed-by: Paul Dale Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/18983) --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 843ed480cd1..3d6a4e0376a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,7 +144,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: config - run: ./config --banner=Configured --debug enable-asan enable-ubsan enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-fips enable-quic -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION && perl configdata.pm --dump + run: ./config --banner=Configured --debug enable-asan enable-ubsan enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-fips enable-quic -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -DPEDANTIC && perl configdata.pm --dump - name: make run: make -s -j4 - name: make test