-
Notifications
You must be signed in to change notification settings - Fork 558
[GLUTEN-10162] [build] fix: GCC build fix #10161
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
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/apache/incubator-gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
Cc @zml1206 as he is also fixing macos builds |
@@ -101,7 +101,7 @@ function compile { | |||
# Maybe there is some set option in velox setup script. Run set command again. | |||
set -exu | |||
|
|||
CXX_FLAGS='-Wno-error=stringop-overflow -Wno-error=cpp -Wno-missing-field-initializers -Wno-unknown-warning-option' | |||
CXX_FLAGS='-Wno-error=stringop-overflow -Wno-error=cpp -Wno-missing-field-initializers -Wno-unknown-warning-option -Wno-template-id-cdtor' |
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.
-Wno-template-id-cdtor seems to be gcc specific, not supported by clang.
clang-18 -Wno-template-id-cdtor a.cpp
warning: unknown warning option '-Wno-template-id-cdtor' [-Wunknown-warning-option]
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.
Sorry for confusion. Yes it is for GCC.
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.
What version of gcc? Could you post the relevant error? Thanks
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.
GCC 14
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.
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.
I see. Thanks. I am moving gluten build to a separate environment.
What changes were proposed in this pull request?
Clang 18 fails building.
How was this patch tested?
Building using clang 18.