Skip to content
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

Merged
merged 1 commit into from
Aug 21, 2016
Merged

Misc build fixes for win32 clang #18164

merged 1 commit into from
Aug 21, 2016

Conversation

Keno
Copy link
Member

@Keno Keno commented Aug 21, 2016

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.

@tkelman
Copy link
Contributor

tkelman commented Aug 21, 2016

it's a problem if you're using msvcrt. what does clang default to for the stack alignment?

@Keno
Copy link
Member Author

Keno commented Aug 21, 2016

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-)
Copy link
Contributor

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?

Copy link
Member Author

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.

@tkelman tkelman merged commit 78371b3 into master Aug 21, 2016
@tkelman tkelman deleted the kf/win32clang branch August 21, 2016 22:43
tkelman added a commit that referenced this pull request Aug 23, 2016
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'
tkelman added a commit that referenced this pull request Aug 23, 2016
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
tkelman added a commit that referenced this pull request Aug 23, 2016
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
Keno added a commit that referenced this pull request Aug 23, 2016
mfasi pushed a commit to mfasi/julia that referenced this pull request Sep 5, 2016
mfasi pushed a commit to mfasi/julia that referenced this pull request Sep 5, 2016
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants