mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c4683cd5fb
Kcov fails to start when compiled with kcov. Disable KCOV on arch/uml/kernel/skas. $ gdb -q -ex r ./vmlinux Program received signal SIGSEGV, Segmentation fault. check_kcov_mode (t=<>, needed_mode=<>) at kernel/kcov.c:70 70 mode = READ_ONCE(t->kcov_mode); Signed-off-by: Marek Majkowski <marek@cloudflare.com> Signed-off-by: Richard Weinberger <richard@nod.at>
18 lines
438 B
Makefile
18 lines
438 B
Makefile
#
|
|
# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
|
# Licensed under the GPL
|
|
#
|
|
|
|
obj-y := clone.o mmu.o process.o syscall.o uaccess.o
|
|
|
|
# clone.o is in the stub, so it can't be built with profiling
|
|
# GCC hardened also auto-enables -fpic, but we need %ebx so it can't work ->
|
|
# disable it
|
|
|
|
CFLAGS_clone.o := $(CFLAGS_NO_HARDENING)
|
|
UNPROFILE_OBJS := clone.o
|
|
|
|
KCOV_INSTRUMENT := n
|
|
|
|
include arch/um/scripts/Makefile.rules
|