Repository navigation
ORC-1451: Add clang-10 GitHub Action Job and enable STOP_BUILD_ON_WARNING - #1546
Closed
dongjoon-hyun wants to merge 2 commits into
Closed
dongjoon-hyun wants to merge 2 commits into
dongjoon-hyun wants to merge 2 commits into
Conversation
dongjoon-hyun
commented
Jun 22, 2023
| elseif (CMAKE_HOST_APPLE AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "11.0") | ||
| set (WARN_FLAGS "${WARN_FLAGS} -Wno-c++2a-compat") | ||
| elseif (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "10.0") | ||
| set (WARN_FLAGS "${WARN_FLAGS} -Wno-suggest-override -Wno-suggest-destructor-override -Wno-implicit-fallthrough") |
Member
Author
There was a problem hiding this comment.
To avoid any code change in this test coverage PR, I simply excluded the existing errors on Clang 10. Given that higher Clang has no issues, I believe we can ignore these. Eventually, we will drop Clang 10.
dongjoon-hyun
commented
Jun 22, 2023
Member
Author
There was a problem hiding this comment.
Interesting. snappy seems to fail at compilation on clang-10.
2023-06-22T07:12:55.6522007Z /usr/bin/ld: ../libs/thirdparty/snappy_ep-install/lib/libsnappy.a(snappy-sinksource.cc.o):(.data.rel.ro._ZTIN6snappy15ByteArraySourceE[_ZTIN6snappy15ByteArraySourceE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
2023-06-22T07:12:55.6523071Z /usr/bin/ld: ../libs/thirdparty/snappy_ep-install/lib/libsnappy.a(snappy-sinksource.cc.o):(.data.rel.ro._ZTIN6snappy6SourceE[_ZTIN6snappy6SourceE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
2023-06-22T07:12:55.6523729Z /usr/bin/ld: ../libs/thirdparty/snappy_ep-install/lib/libsnappy.a(snappy-sinksource.cc.o):(.data.rel.ro._ZTIN6snappy4SinkE[_ZTIN6snappy4SinkE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
2023-06-22T07:12:55.6824603Z clang: error: linker command failed with exit code 1 (use -v to see invocation)
2023-06-22T07:12:55.6858202Z make[2]: *** [c++/test/CMakeFiles/orc-test.dir/build.make:633: c++/test/orc-test] Error 1
2023-06-22T07:12:55.6860173Z make[1]: *** [CMakeFiles/Makefile2:465: c++/test/CMakeFiles/orc-test.dir/all] Error 2
2023-06-22T07:12:55.6861974Z make: *** [Makefile:166: all] Error 2
2023-06-22T07:12:55.6886009Z ##[error]Process completed with exit code 2.
dongjoon-hyun
commented
Jun 22, 2023
dongjoon-hyun
left a comment
Member
Author
There was a problem hiding this comment.
For snappy issue, I don't have a solution yet. So, I'm close this PR for now.
For the Clang 10.0 specific configuration, I'll try to add them separetly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR aims to add
Clang 10test coverage to prevent future regressions like ORC-1450.Why are the changes needed?
To have
Clang 10test coverage inbranch-1.9.How was this patch tested?
This PR is supposed to fail because we didn't merge #1545 yet.
Here is the failure result.