-
Notifications
You must be signed in to change notification settings - Fork 547
CXX-1025 CXX-829 Move special builders to 16.04 and make the ASAN build green #527
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
Conversation
|
Gentle ping? This gets ASAN green again which is very nice, and also gets us off the Ubuntu 1410 builder, which is EOL, and will make the build team happy (they are trying to retire that distro). |
| osx_cmake_flags: &osx_cmake_flags -DCMAKE_CXX_FLAGS="-stdlib=libc++ -Wall -Wextra -Wno-attributes -Werror -Wno-error=missing-field-initializers" -DBSONCXX_POLY_USE_BOOST=ON | ||
| asan_cmake_flags: &asan_cmake_flags -DCMAKE_CXX_FLAGS="-fsanitize=address -O1 -fno-omit-frame-pointer -Wall -Wextra -Wno-attributes -Werror -Wno-error=missing-field-initializers -Wno-error=maybe-uninitialized" | ||
| ubsan_cmake_flags: &ubsan_cmake_flags -DCMAKE_CXX_COMPILER="/usr/bin/clang++" -DCMAKE_CXX_FLAGS="-fsanitize=undefined -g -fno-omit-frame-pointer -fsanitize-blacklist=$(pwd)/../etc/ubsan.blacklist -fno-sanitize-recover -Wall -Wextra -Wno-attributes -Werror -Wno-error=missing-field-initializers" | ||
| ubuntu_cmake_flags: &ubuntu_cmake_flags -DCMAKE_CXX_FLAGS="-Wall -Wextra -Werror -Wno-error=missing-field-initializers" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you clarify the following:
- Do we want
-Wno-attributes? - Do we need
-Wno-error=missing-field-initializers? - Do the defaults for these change flags over the different compiler versions we're building with?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Re -Wno-attributes: I'm not sure why it was here, but, empirically, it seems not needed, so I removed it.
- We do seem to need the one about missing field initializers, since the 14.04 GCC seems to have a bug.
- I'm not sure about the defaults, but I'd expect no. Ideally, we would not build with the -Wno-error=missing-field-initializers, because I'd like to have that warning. But we seem to get false positives with it on 14.04 GCC.
|
LGTM. Questions included for the pieces I'm less familiar with. |
|
Actually, two more questions:
|
|
|
Thanks for your answers! |
No description provided.