Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[release/3.1] Fix build clang10#43130

Closed
ayakael wants to merge 1 commit into
dotnet:release/3.1from
ayakael:alpine/fix-build-clang10
Closed

[release/3.1] Fix build clang10#43130
ayakael wants to merge 1 commit into
dotnet:release/3.1from
ayakael:alpine/fix-build-clang10

Conversation

@ayakael
Copy link
Copy Markdown

@ayakael ayakael commented Dec 17, 2021

Fixes build with clang 10+. I'm not sure how this affects previous versions of clang, I havn't had the opportunity to test.

Made as part of Alpine Linux dotnet31 / dotnet5 packaging project, see dotnet/source-build#2695

@ayakael ayakael changed the title Fix build clang10 [release/3.1] Fix build clang10 Dec 17, 2021
@ayakael
Copy link
Copy Markdown
Author

ayakael commented Jan 14, 2022

@omajid This bug is also in Fedora's 3.1 package. Is there a reason you did not upstream? I see if breaks checks in Windows / MacOS build, thus I want to see if its worth keeping open.

@omajid
Copy link
Copy Markdown
Member

omajid commented Jan 14, 2022

I think it's a good idea to keep corefx (and coreclr) building with newer clang versions. I have a PR in progress for clang 13 support as well. But we can't break Windows or macOS. Perhaps we can check that the compiler supports the flags before enabling them?

@ayakael ayakael force-pushed the alpine/fix-build-clang10 branch from afc59bf to f81be2c Compare January 21, 2022 18:58
@ayakael
Copy link
Copy Markdown
Author

ayakael commented Jan 21, 2022

Referencing your PR, I've introduced the checks. Thanks!

@carlossanlop
Copy link
Copy Markdown

@ayakael should this PR be closed, since we have this other one? #43104

@carlossanlop
Copy link
Copy Markdown

@hoyosjs is this something you could help review?

@hoyosjs
Copy link
Copy Markdown
Member

hoyosjs commented Sep 7, 2022

/azp run corefx-ci

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@hoyosjs
Copy link
Copy Markdown
Member

hoyosjs commented Sep 13, 2022

Don't see how, but there's a fair amount of failures here.

@carlossanlop
Copy link
Copy Markdown

Closing since 3.1 is going out of support.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants