From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>,
Andrii Nakryiko <andriin@fb.com>,
Alexei Starovoitov <ast@kernel.org>,
Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>,
Alexey Gladkov <gladkov.alexey@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Jessica Yu <jeyu@kernel.org>
Subject: Re: [PATCH] kbuild: Fix cross compile link with ccache
Date: Mon, 6 May 2019 23:10:07 +0900 [thread overview]
Message-ID: <CAK7LNAT4TB5CCm-X8MzeWNvyjJdotV0fSf2V3UodAVyvC85haQ@mail.gmail.com> (raw)
In-Reply-To: <1557146400-12269-1-git-send-email-krzk@kernel.org>
Hi Krzysztof,
On Mon, May 6, 2019 at 9:41 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> Fix calling objcopy in case of cross compile environments:
>
> ARCH="arm" CROSS_COMPILE="ccache arm-linux-gnueabi-" make
> scripts/link-vmlinux.sh: line 211: ccache arm-linux-gnueabi-objcopy: command not found
>
> Fixes: 6a26793a7891 ("moduleparam: Save information about built-in modules in separate file")
Thanks for the report.
I need to drop this commit from my tree for now
and re-spin as Stephen reported some build breakage:
https://lkml.org/lkml/2019/5/5/269
I will squash this when I re-add the former patch.
Thanks.
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> scripts/link-vmlinux.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
> index 62b9fc561af7..42ea6f9264ef 100755
> --- a/scripts/link-vmlinux.sh
> +++ b/scripts/link-vmlinux.sh
> @@ -208,7 +208,7 @@ modpost_link vmlinux.o
> ${MAKE} -f "${srctree}/scripts/Makefile.modpost" vmlinux.o
>
> info MODINFO modules.builtin.modinfo
> -"${OBJCOPY}" -j .modinfo -O binary vmlinux.o modules.builtin.modinfo
> +${OBJCOPY} -j .modinfo -O binary vmlinux.o modules.builtin.modinfo
>
> kallsymso=""
> kallsyms_vmlinux=""
> --
> 2.7.4
>
--
Best Regards
Masahiro Yamada
prev parent reply other threads:[~2019-05-06 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-06 12:40 Krzysztof Kozlowski
2019-05-06 12:43 ` Krzysztof Kozlowski
2019-05-06 14:10 ` Masahiro Yamada [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK7LNAT4TB5CCm-X8MzeWNvyjJdotV0fSf2V3UodAVyvC85haQ@mail.gmail.com \
--to=yamada.masahiro@socionext.com \
--cc=andriin@fb.com \
--cc=ast@kernel.org \
--cc=daniel@iogearbox.net \
--cc=gladkov.alexey@gmail.com \
--cc=glebfm@altlinux.org \
--cc=jeyu@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®