Skip to content

msan: update motd message for developer use + clang 21/22 + curl instrumentation#823

Merged
RazvanLiviuVarzaru merged 9 commits into
MariaDB:devfrom
grooverdan:msan_update_motd
Sep 19, 2025
Merged

msan: update motd message for developer use + clang 21/22 + curl instrumentation#823
RazvanLiviuVarzaru merged 9 commits into
MariaDB:devfrom
grooverdan:msan_update_motd

Conversation

@grooverdan
Copy link
Copy Markdown
Member

The cmake command wasn't copy/pasteable with trailing space after \ and getting though Docker + shell escaping to produce a plain text file was awkwards.

HAVE_CXX_NEW=1 removed as its autodetected. Also the safemalloc in codebase isn't compiled under MSAN.

Added columnstore to disable as it insists on writing to the sourcedir. (read only). Also insufficient MTR tests around it mean its barely tested after compile.

@grooverdan grooverdan marked this pull request as draft August 18, 2025 03:12
@grooverdan
Copy link
Copy Markdown
Member Author

grooverdan commented Aug 18, 2025

I've received some feedback on what to improve here. Hence draft again for a short while.

@grooverdan grooverdan marked this pull request as ready for review August 22, 2025 04:16
@grooverdan
Copy link
Copy Markdown
Member Author

There was interest in MDEV-20377 for a clang 21 /22 version. Added these with a small change to the idn2 build. With the server built on openssl the gnutls is limited to the C/C component and the change of build seemed to run tests normally. I wouldn't expect any change in the protect branch builder.

Local tests hit no compile or mtr test failure.

@grooverdan grooverdan changed the title msan: update motd message for developer use msan: update motd message for developer use + clang 21/22 Aug 22, 2025
Copy link
Copy Markdown
Contributor

@dr-m dr-m left a comment

Choose a reason for hiding this comment

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

Looks good, except I think that it could be good to keep the note about disabling liburing in some form. If the image does not include liburing-dev, then that mention can be omitted. (Hopefully the image does include libaio-dev, so that the asynchronous code path will be covered.)

Comment thread ci_build_images/msan.fragment.Dockerfile
Until MariaDB/server#4257 is merged
up lets keep the motd slightly conservative.
@grooverdan grooverdan force-pushed the msan_update_motd branch 2 times, most recently from 7363741 to 3687d14 Compare August 26, 2025 06:04
Comment thread ci_build_images/msan.motd Outdated
Comment on lines +15 to +16
-DWITH_INNODB_{BZIP2,LZ4,LZMA,LZO,SNAPPY}=OFF \
-DCMAKE_DISABLE_FIND_PACKAGE_URING=1 \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These instructions are specific to this container, right? If the -dev packages of the various compression libraries are missing from the container, then there should be no need to disable them, right?

Furthermore, thanks to MariaDB/server#4257, there should be no reason to disable the use of liburing-dev (which I think you wrote would be included in the container image).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yep:

-- The following OPTIONAL packages have not been found:

 * BZip2
 * LZ4 (required version >= 1.6)
 * LibLZMA
 * LZO
 * Snappy

@grooverdan
Copy link
Copy Markdown
Member Author

@RazvanLiviuVarzaru this is ready to merge now.

This enables MSAN s3 tests to function correctly.
@grooverdan grooverdan changed the title msan: update motd message for developer use + clang 21/22 msan: update motd message for developer use + clang 21/22 + curl instrumentation Sep 18, 2025
@RazvanLiviuVarzaru RazvanLiviuVarzaru merged commit 6eb47f0 into MariaDB:dev Sep 19, 2025
4 checks passed
@grooverdan grooverdan deleted the msan_update_motd branch September 19, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants