-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Misc build fixes for win32 clang #18164
Conversation
it's a problem if you're using msvcrt. what does clang default to for the stack alignment? |
I can't imagine it defaults to anything that doesn't work with msvcrt, since it's designed primary as a microsoft-compatible compiler. |
CXX_BASE := $(shell echo $(CXX) | cut -d' ' -f1) | ||
CXX_ARG := $(shell echo $(CXX) | cut -d' ' -f2-) |
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.
do these get used anywhere?
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.
It's used in deps for passing arguments to CMake.
of cmake projects with gcc - CC_ARG and CXX_ARG are getting double processed somewhere, so cmake is trying to call the compiler as '/usr/bin/gcc gcc'
of cmake projects with gcc - CC_ARG and CXX_ARG are getting double processed somewhere, so cmake is trying to call the compiler as '/usr/bin/gcc gcc' add cut -s
of cmake projects with gcc - CC_ARG and CXX_ARG are getting double processed somewhere, so cmake is trying to call the compiler as '/usr/bin/gcc gcc' add cut -s
Revert the part of #18164 that broke the build
of cmake projects with gcc - CC_ARG and CXX_ARG are getting double processed somewhere, so cmake is trying to call the compiler as '/usr/bin/gcc gcc' add cut -s
Clang doesn't support
mincoming-stack-boundary
. I would assume that's ok as long as everything is built with clang. If it comes up as a problem I'll look for a way to achieve the same result.