Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

enable clang's integrated assembler for arm64 #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nickdesaulniers
Copy link
Member

No description provided.

@nickdesaulniers nickdesaulniers added the WIP Work in progress label May 13, 2019
@nathanchance
Copy link
Member

Will this actually work with -no-integrated-as being added to both KBUILD_CFLAGS and KBUILD_AFLAGS?

@nickdesaulniers
Copy link
Member Author

oh! good point! (I should verify locally w/o aarch64-linux-gnu-as)

@nickdesaulniers
Copy link
Member Author

@nathanchance
Copy link
Member

For the record, this now works as expected after the patch that resolves ClangBuiltLinux/linux#577.

Still will fair because of ClangBuiltLinux/linux#473.

@@ -191,6 +191,12 @@ check_dependencies() {
fi
check_objcopy_version
${OBJCOPY} --version

if [[ -z "${AS:-}" ]]; then
for AS in clang-9 "${CROSS_COMPILE:-}"as; do
Copy link
Contributor

@tpimh tpimh Oct 2, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This always prefers clang as AS unless AS environment variable specified.
There are two ways to change it:

  • Change AS definition in similar fashion with LD (preferred)
  • Basically invert AS variable in travis environment: for every job which specifies AS remove the variable, for every job without this variable add it with value set to appropriate as name for cross-compilation

Anyway this wouldn't work at all because the variable isn't passed to make. I fixed it here: 1a2921f#diff-edd6bdbc5716dde5e06b45ae44b43caaR313

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants