linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: linux-kernel@vger.kernel.org, kernel test robot <lkp@intel.com>,
	linux-mips@vger.kernel.org, Kyungsik Lee <kyungsik.lee@lge.com>
Subject: Re: [PATCH] mips: disable branch profiling in boot/decompress.o
Date: Mon, 5 Jul 2021 17:08:43 +0200	[thread overview]
Message-ID: <20210705150843.GB12584@alpha.franken.de> (raw)
In-Reply-To: <20210704230211.31257-1-rdunlap@infradead.org>

On Sun, Jul 04, 2021 at 04:02:11PM -0700, Randy Dunlap wrote:
> Use DISABLE_BRANCH_PROFILING for arch/mips/boot/compressed/decompress.o
> to prevent linkage errors.
> 
> mips64-linux-ld: arch/mips/boot/compressed/decompress.o: in function `LZ4_decompress_fast_extDict':
> decompress.c:(.text+0x8c): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: decompress.c:(.text+0xf4): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: decompress.c:(.text+0x200): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: decompress.c:(.text+0x230): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: decompress.c:(.text+0x320): undefined reference to `ftrace_likely_update'
> mips64-linux-ld: arch/mips/boot/compressed/decompress.o:decompress.c:(.text+0x3f4): more undefined references to `ftrace_likely_update' follow
> 
> Fixes: e76e1fdfa8f8 ("lib: add support for LZ4-compressed kernel")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> Cc: linux-mips@vger.kernel.org
> Cc: Kyungsik Lee <kyungsik.lee@lge.com>
> ---
>  arch/mips/boot/compressed/decompress.c |    2 ++
>  1 file changed, 2 insertions(+)

applied to mips-next (for second pull request).

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

      reply	other threads:[~2021-07-05 15:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-04 23:02 [PATCH] mips: disable branch profiling in boot/decompress.o Randy Dunlap
2021-07-05 15:08 ` Thomas Bogendoerfer [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=20210705150843.GB12584@alpha.franken.de \
    --to=tsbogend@alpha.franken.de \
    --cc=kyungsik.lee@lge.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=rdunlap@infradead.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;
as well as URLs for NNTP newsgroup(s).