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

workaround for Ubuntu runner, high entropy + ASLR #7340

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

JacobBarthelmeh
Copy link
Contributor

Checked --enable-openvpn benchmark from v5.6.6-stable to master and did not see any obvious performance degradation in crypto operations.

- name: Build wolfSSL
uses: wolfSSL/actions-build-autotools-project@v1
with:
path: wolfssl
configure: --enable-krb CFLAGS='-fsanitize=address'
configure: --enable-krb CC='gcc-11' CFLAGS='-fsanitize=address'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer CC="gcc-11 -fsanitize=address" or CC="gcc-11" CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address". I saw an issue with this because linker LDFLAGS did not have sanitizer also set.

@JacobBarthelmeh JacobBarthelmeh force-pushed the github_tests branch 2 times, most recently from 039f27d to 68eb5c6 Compare March 17, 2024 15:20
@JacobBarthelmeh JacobBarthelmeh changed the title increase timeout time in openvpn,nginx, and krb5 tests workaround for Ubuntu runner, high entropy + ASLR Mar 17, 2024
@JacobBarthelmeh
Copy link
Contributor Author

JacobBarthelmeh commented Mar 17, 2024

Turned out to be this issue (actions/runner-images#9491), not related to timeout. Time out's were being hit because when autoconf ran conftest.c it would get in a loop of DEADLYSIGNAL errors due to a bad mix of high-entropy + ASLR + older LLVM version. Added the work around for now.

@dgarske dgarske merged commit abd7449 into wolfSSL:master Mar 17, 2024
110 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.

4 participants