This repository was archived by the owner on Mar 7, 2021. It is now read-only.
Conversation
geofft
approved these changes
Aug 5, 2019
Collaborator
|
FWIW, torvalds/linux@5f074f3 (v5.1) adds a bcmp that's implemented as memcmp, saying specifically that this LLVM change broke upstream clang targets. So,
|
Member
Author
|
Excellent question, don't know! |
Collaborator
|
Poking around a bit more, https://github.com/ClangBuiltLinux/linux/wiki/Steps-for-compiling-the-kernel-with-Clang It seems the Makefile doesn't do anything super conditional, they're just using clang as a cc. Should we suggest that the upstream clang build cross-compile to foo-elf instead of compiling for the native platform / foo-unknown-linux-gnu? |
Member
Author
|
That seems like it'd be an honorable contribution to usptream, if you know
how to do such a thing :-)
…On Sun, Aug 4, 2019 at 10:47 PM Geoffrey Thomas ***@***.***> wrote:
Poking around a bit more,
https://github.com/ClangBuiltLinux/linux/wiki/Steps-for-compiling-the-kernel-with-Clang
It seems the Makefile doesn't do anything super conditional, they're just
using clang as a cc.
Should we suggest that the upstream clang build cross-compile to foo-elf
instead of compiling for the native platform / foo-unknown-linux-gnu?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#114?email_source=notifications&email_token=AAAAGBDZYG5BVOS3L5EFJ33QC6IC7A5CNFSM4IJGZP7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3QRCAA#issuecomment-518066432>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAAGBF5GSE7KGCYM4IJC5TQC6IC7ANCNFSM4IJGZP7A>
.
--
All that is necessary for evil to succeed is for good people to do nothing.
|
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Based on rust-lang/rust#62698