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

20250108-reproducible-build-backtrace #8342

Merged

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented Jan 8, 2025

configure.ac: fix --enable-debug-trace-errcodes=backtrace with --enable-reproducible-build: don't add -g0 to CFLAGS when both are enabled, because -g0 makes backtracing impossible.

Note this also fixes --enable-debug-trace-errcodes=backtrace for --enable-fips, which implies --enable-reproducible-build.

Tested with wolfssl-multi-test.sh ... check-source-text check-configure and with

./configure --quiet --disable-jobserver --enable-fips=dev --enable-all --enable-testcert --enable-acert --enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch --enable-quic --with-sys-crypto-policy --enable-experimental '--enable-kyber=all,original' --enable-lms --enable-xmss --enable-dilithium CPPFLAGS='-DHAVE_PUBLIC_FFDHE -DWOLFCRYPT_FIPS_CORE_HASH_VALUE=9E18EBC1F3C2858202657806D22FBC7B02AE3A547C15A99FCCB49C8900D295A2' --enable-debug-trace-errcodes=backtrace

…le-reproducible-build: don't add -g0 to CFLAGS when both are enabled, because -g0 makes backtracing impossible.
@dgarske dgarske merged commit 5b07d41 into wolfSSL:master Jan 8, 2025
151 checks passed
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.

3 participants