From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D275C433F5 for ; Sun, 2 Oct 2022 18:50:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 22E608E0002; Sun, 2 Oct 2022 14:50:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1DCCE8E0001; Sun, 2 Oct 2022 14:50:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 056F68E0002; Sun, 2 Oct 2022 14:50:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id E1ABB8E0001 for ; Sun, 2 Oct 2022 14:50:48 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 753A2160578 for ; Sun, 2 Oct 2022 18:50:48 +0000 (UTC) X-FDA: 79976900976.22.8B0E638 Received: from conssluserg-02.nifty.com (conssluserg-02.nifty.com [210.131.2.81]) by imf14.hostedemail.com (Postfix) with ESMTP id A200E10000F for ; Sun, 2 Oct 2022 18:50:46 +0000 (UTC) Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 292IoaTs024423 for ; Mon, 3 Oct 2022 03:50:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 292IoaTs024423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1664736636; bh=5199CJG0f9jSA2BLvx7xOsD0DWd5+auHinU5j6OGRYg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=lFAcyi/zZJ7+J/SGYh+kKPbNbzHQ5xwA2CpQ6jmv7w/mYUC/XcJNUGJCRJI1E/k7b jDI2DOTqXAwujGa73LMr1KUd4XK7dL03vgZvRWwxL67dk/lNRl9zPQyTOGhJqrp6om rUtu92rfuWYPM7FM/Gh+FdS1FzBbHbTe0Dpkl/iahqso7T043/JBvzgTzZroI8LkR1 aBhdrzT4UTBfkAwoF+VhIADt7BWaBcZPIG3aPDEB3rgBLWFICYTy8CDiEUA7QrITFZ +TAwTzZVnxjMPW2sjcqFZdDyw1r97lrDtQlfvETuWT+1hj3d/lpbPnYog8C8cwNGb7 NNpDpDbuuQbpg== X-Nifty-SrcIP: [209.85.160.49] Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-132555b7121so1891727fac.2 for ; Sun, 02 Oct 2022 11:50:36 -0700 (PDT) X-Gm-Message-State: ACrzQf0uygTRx/T8xJn7voFfJxjARrSaTtqeI31LESlm2MJlmgj4QnrB lGixIckueOnD2VkGplrDX2hloyGdaVwrvnGNjuc= X-Google-Smtp-Source: AMsMyM4b8QJpq7LHOywiRmkKS3xMkhplz6k8GzxaM3pIe+EGKjjY8htMN3BXkoU04aavfeaaHTL2aNeMzd1Oe78GQ7o= X-Received: by 2002:a05:6870:8a09:b0:132:554d:2f3d with SMTP id p9-20020a0568708a0900b00132554d2f3dmr1791960oaq.194.1664736635502; Sun, 02 Oct 2022 11:50:35 -0700 (PDT) MIME-Version: 1.0 References: <202210021430.SS41iUJO-lkp@intel.com> In-Reply-To: <202210021430.SS41iUJO-lkp@intel.com> From: Masahiro Yamada Date: Mon, 3 Oct 2022 03:49:59 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-next:master 10827/11993] ERROR: modpost: "__sanitizer_cov_trace_pc" [arch/s390/mm/cmm.ko] undefined! To: kernel test robot Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Nicolas Schier Content-Type: text/plain; charset="UTF-8" ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=nifty.com header.s=dec2015msa header.b="lFAcyi/z"; spf=softfail (imf14.hostedemail.com: 210.131.2.81 is neither permitted nor denied by domain of masahiroy@kernel.org) smtp.mailfrom=masahiroy@kernel.org; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=kernel.org (policy=none) ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664736647; a=rsa-sha256; cv=none; b=kgtomQP1mZNyYN1OZNN7kvDrVDoS+dkw9NkOPMBGtZY7/BZq5HomwyKZNS8x6kKez8Smzw +3jHDPdWq/II5PmM+emmwpPNry1d6avk/ovIYUuEJaocev88oafCiQTfjaHQuCfh3ZBER6 RcowV8ByVP7f9FljThrsjp9tMen9M7w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664736647; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=5199CJG0f9jSA2BLvx7xOsD0DWd5+auHinU5j6OGRYg=; b=w1NH7XNrbD82/iB+uoknfpFKJLQfphpjDq3ZOMHpM+sPcgPPAI4n0FUXjvNUyLxMB5eJPN gMP0qOSy8k0wh/t1qcDXZsiDGqUz6AZVxtKC4eHAju5Fd79Fj6KumkZfGW6bJAhgzB9o1j CkeZ0oRtFU2pvKXq+6Q2JprW2dB6qgI= X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: A200E10000F X-Rspam-User: Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=nifty.com header.s=dec2015msa header.b="lFAcyi/z"; spf=softfail (imf14.hostedemail.com: 210.131.2.81 is neither permitted nor denied by domain of masahiroy@kernel.org) smtp.mailfrom=masahiroy@kernel.org; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=kernel.org (policy=none) X-Stat-Signature: gskz6skxc3g5aj7senfum33risamdymx X-HE-Tag: 1664736646-564785 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sun, Oct 2, 2022 at 3:20 PM kernel test robot wrote: > > Hi Masahiro, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 274d7803837da78dfc911bcda0d593412676fc20 > commit: 4f62512adbe9a2fed6c99011a5a3ece929b2f633 [10827/11993] kbuild: use obj-y instead extra-y for objects placed at the head > config: s390-randconfig-r011-20221002 > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install s390 cross compiling tool for clang build > # apt-get install binutils-s390x-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4f62512adbe9a2fed6c99011a5a3ece929b2f633 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 4f62512adbe9a2fed6c99011a5a3ece929b2f633 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > >> ERROR: modpost: "__sanitizer_cov_trace_pc" [arch/s390/mm/cmm.ko] undefined! > >> ERROR: modpost: "del_timer_sync" [arch/s390/mm/cmm.ko] undefined! > >> ERROR: modpost: "unregister_oom_notifier" [arch/s390/mm/cmm.ko] undefined! > >> ERROR: modpost: "kthread_stop" [arch/s390/mm/cmm.ko] undefined! > >> ERROR: modpost: "del_timer" [arch/s390/mm/cmm.ko] undefined! > >> ERROR: modpost: "_raw_spin_lock" [arch/s390/mm/cmm.ko] undefined! > >> ERROR: modpost: "free_pages" [arch/s390/mm/cmm.ko] undefined! > >> ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/s390/mm/cmm.ko] undefined! > >> ERROR: modpost: "_raw_spin_unlock" [arch/s390/mm/cmm.ko] undefined! > >> ERROR: modpost: "__wake_up" [arch/s390/mm/cmm.ko] undefined! > WARNING: modpost: suppressed 16881 unresolved symbol warnings because there were too many) > > -- > 0-DAY CI Kernel Test Service > https://01.org/lkp I will apply the following to fix a TRIM_UNUSED_KSYMS bug, but the given config cannot yet be built successfully. Presumably, the rest are unrelated to my patches because even the mainline kernel is broken for s390 in multiple ways. diff --git a/Makefile b/Makefile index eaa7096da5f1..8da45f76ec31 100644 --- a/Makefile +++ b/Makefile @@ -1150,10 +1150,10 @@ quiet_cmd_ar_vmlinux.a = AR $@ $(AR) mPiT $$($(AR) t $@ | head -n1) $@ $(head-y) targets += vmlinux.a -vmlinux.a: $(KBUILD_VMLINUX_OBJS) FORCE +vmlinux.a: $(KBUILD_VMLINUX_OBJS) autoksyms_recursive FORCE $(call if_changed,ar_vmlinux.a) -vmlinux.o: autoksyms_recursive vmlinux.a $(KBUILD_VMLINUX_LIBS) FORCE +vmlinux.o: vmlinux.a $(KBUILD_VMLINUX_LIBS) FORCE $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.vmlinux_o ARCH_POSTLINK := $(wildcard $(srctree)/arch/$(SRCARCH)/Makefile.postlink) -- Best Regards Masahiro Yamada