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

selectively re-enable llvm-objcopy#212

Closed
nickdesaulniers wants to merge 1 commit into
masterfrom
objcopy
Closed

selectively re-enable llvm-objcopy#212
nickdesaulniers wants to merge 1 commit into
masterfrom
objcopy

Conversation

@nickdesaulniers

Copy link
Copy Markdown
Member

just for arm64, back to LTS 4.9.

4.4 is still broken:
#183 (comment)

Previously reverted in 684262f

ClangBuiltLinux/linux#480
#164

just for arm64, back to LTS 4.9.

4.4 is still broken:
#183 (comment)

Previously reverted in 684262f

ClangBuiltLinux/linux#480
#164

@nathanchance nathanchance left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wonder if it would be better to hoist this into driver.sh. As far as I am aware, only 4.4 needs GNU objcopy so that could probably be done with:

case ${REPO} in
  *4.4) OBJCOPY=${CROSS_COMPILE:-}objcopy ;;
  *)
    if [[ -z "${OBJCOPY:-}" ]]; then
      for OBJCOPY in $(gen_bin_list llvm-objcopy) llvm-objcopy "${CROSS_COMPILE:-}"objcopy; do
        command -v ${OBJCOPY} 2>/dev/null && break
      done
    fi ;;
esac

I am down with whatever as long as it works though. Given that I do not see any presubmit testing, I assume that was done locally?

@tpimh

tpimh commented Oct 4, 2019

Copy link
Copy Markdown
Contributor

What about llvm-strip? Does it still have problems on arm64? It makes sense to add both objcopy and strip in a single pull-request.

@nickdesaulniers nickdesaulniers added the WIP Work in progress label Dec 4, 2019
nathanchance added a commit to nathanchance/continuous-integration that referenced this pull request Apr 2, 2020
except for s390, which does not appear to have any support for it in
the LLVM tools.

Tested locally with build-all.sh.

[skip ci]

Closes: ClangBuiltLinux#212
Closes: ClangBuiltLinux#249
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
@nickdesaulniers nickdesaulniers deleted the objcopy branch April 2, 2020 17:55
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