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

Move sanitizers to AL2022 and update to Clang 14 #750

Merged
merged 9 commits into from
Jan 12, 2023

Conversation

andrewhop
Copy link
Contributor

@andrewhop andrewhop commented Jan 10, 2023

The clang script needed to be tweaked slightly because they've since changed the URL. Also libc++ now needs to be built as C++20. (The bundled libc++ is only built in some of our test configs, so this doesn't imply a C++20 dependency across the board.)

Change-Id: I0a9e3aed71268bcd37059af8549a23cfc0270b05 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/55272
Reviewed-by: Bob Beck [email protected]
Commit-Queue: Bob Beck [email protected]
(cherry picked from commit aa72a6c3fadff91b815b5bd62b8ab1bb4afe2b91)

Description of changes:

Skipped during the 2022-12-05 merge, see Kss4AwheD39l.

Call-outs:

This moves all sanitizer runs to AL2022 with Clang 14.

Testing:

Locally passes when tested with modern Clang versions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and
the ISC license.

@andrewhop andrewhop force-pushed the update_libc branch 3 times, most recently from 25b1b85 to 63294e9 Compare January 11, 2023 05:14
@andrewhop andrewhop changed the title Update build tools. Move sanitizers to AL2022 and update to Clang 14 Jan 11, 2023
@samuel40791765 samuel40791765 self-requested a review January 11, 2023 17:52
samuel40791765
samuel40791765 previously approved these changes Jan 11, 2023
Copy link
Contributor

@samuel40791765 samuel40791765 left a comment

Choose a reason for hiding this comment

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

Just a general question: Is USE_CUSTOM_LIBCXX only used for TSAN and MSAN now?

tests/ci/run_posix_sanitizers.sh Show resolved Hide resolved
tests/ci/docker_images/linux-x86/push_images.sh Outdated Show resolved Hide resolved
tests/ci/run_ssl_asan_tests.sh Outdated Show resolved Hide resolved
@andrewhop
Copy link
Contributor Author

Just a general question: Is USE_CUSTOM_LIBCXX only used for TSAN and MSAN now?

Yes, it is only needed for TSAN and MSAN. When it got added to UBSAN and ASAN it wasn't needed, it doesn't hurt but it slows down the build. See e9ae99b

MSan and TSan both require instrumenting everything

davidben and others added 7 commits January 11, 2023 13:59
The clang script needed to be tweaked slightly because they've since
changed the URL. Also libc++ now needs to be built as C++20. (The
bundled libc++ is only built in some of our test configs, so this
doesn't imply a C++20 dependency across the board.)

Change-Id: I0a9e3aed71268bcd37059af8549a23cfc0270b05
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/55272
Reviewed-by: Bob Beck <[email protected]>
Commit-Queue: Bob Beck <[email protected]>
(cherry picked from commit aa72a6c3fadff91b815b5bd62b8ab1bb4afe2b91)
…fig with Ubuntu and Clang 9. Fix minior issues flaged by newer sanitizers
…erscores and be less than 128 characters in length
samuel40791765
samuel40791765 previously approved these changes Jan 11, 2023
@andrewhop andrewhop merged commit da245a4 into aws:main Jan 12, 2023
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