archive mirror
 help / color / mirror / Atom feed
Cc: Jouni Hogander <>,
	Paul Burton <>,
	Lukas Bulwahn <>
Subject: [PATCH] MIPS: Prevent link failure with kcov instrumentation
Date: Mon,  9 Dec 2019 14:37:07 +0200	[thread overview]
Message-ID: <> (raw)

From: Jouni Hogander <>

__sanitizer_cov_trace_pc() is not linked in and causing link
failure if KCOV_INSTRUMENT is enabled. Fix this by disabling
instrumentation for compressed image.

Cc: Paul Burton <>
Cc: Lukas Bulwahn <>

Signed-off-by: Jouni Hogander <>
 arch/mips/boot/compressed/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/mips/boot/compressed/Makefile b/arch/mips/boot/compressed/Makefile
index 172801ed35b8..d859f079b771 100644
--- a/arch/mips/boot/compressed/Makefile
+++ b/arch/mips/boot/compressed/Makefile
@@ -29,6 +29,9 @@ KBUILD_AFLAGS := $(KBUILD_AFLAGS) -D__ASSEMBLY__ \
+# Prevents link failures: __sanitizer_cov_trace_pc() is not linked in.
 # decompressor objects (linked with vmlinuz)
 vmlinuzobjs-y := $(obj)/head.o $(obj)/decompress.o $(obj)/string.o

             reply	other threads:[~2019-12-09 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09 12:37 jouni.hogander [this message]
2019-12-09 18:48 ` Paul Burton

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH] MIPS: Prevent link failure with kcov instrumentation' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).