Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp110215pxb; Fri, 5 Mar 2021 16:08:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOa1OkuAFmZs+shaQGuW7AeJrVKIReYzNQCl3xMXjxc52B9keqxaktRG3t1SvvdgoIVk1u X-Received: by 2002:a50:9dc9:: with SMTP id l9mr11548130edk.377.1614989320898; Fri, 05 Mar 2021 16:08:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614989320; cv=none; d=google.com; s=arc-20160816; b=fUe+ghkCbW+KnQAuDmYV86UhGrVSK1oAoAltxlRILdF536/8WzP90XHWlM67dbpIOU /sT8k7EtWSFRw/a3SKWJAu6SKynR0amXeIRsg+gNdlYLUQC2lR9KsT2BjhVHcc5gZse4 QqmcdS6KOVmiJnc4DGBNVH7M99NbJotDbRDUD119S38d+5ZvUvDco+rh2kwVvxvjbUAb 990e0tZMYwlQkLkM0kOFzO8CelS8VRRBSlRq3D56a/p3oh+b6eDEpK05Eo1jk3o4xRqP jRmzS4utWN8olNg1V+w49Afix2KCizIaOAa4tx4Kdv/ZbQrzyl28g5u5mgEcQnw8ZX77 DYyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ng7BsdZElPC+gzGXsxquczNpRrNVtdewc/pU/jfXSXU=; b=zNYhTpGJUBdBI5+DyBYvLTz/JKN2UZ2QnFIxyIEkquEQ1L59ES29jmhBA2gzVxarKO v5C6Ddrwy5g70m8ux57qqe7+JjZT+7vKTo0vrnnTh99ij60fFKVoDxcFbXpEZyipanYu 29kJQ8LrCVDFqH0D8DqhATue3TrXrWIoQqqP0Sdn+WOxIsqhq3kUK7xJGeoliQkjRGwp nRD3TlNPzAHyh7cVQOQwPJYov0hPYRai5oKEplcJftxud+c58eiEFo9VNaM+vXk/6cnd qigLsSEFhb3r8uYgCR1Dw98gjXmpJDc92jjztj/MFLK3S+ErfTEzF4OswxBYPu0aQaee VSsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=o5cANNl0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yr5si2334202ejb.728.2021.03.05.16.08.10; Fri, 05 Mar 2021 16:08:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=o5cANNl0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229701AbhCFAEW (ORCPT + 99 others); Fri, 5 Mar 2021 19:04:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229592AbhCFAEU (ORCPT ); Fri, 5 Mar 2021 19:04:20 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39AADC06175F for ; Fri, 5 Mar 2021 16:04:20 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id x4so115874lfu.7 for ; Fri, 05 Mar 2021 16:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ng7BsdZElPC+gzGXsxquczNpRrNVtdewc/pU/jfXSXU=; b=o5cANNl02cVFCKeEn8S0ugiKV8NbQH9GEfE6+dziNCsAnt1NmX7DP1/cOm/whSzwxn s1MAwdppLndgTGvVJbVlf18fanM6QeIozEkrEAsI62ypB7S/3chPOmH27/E/38Io4M5N GrWjxXy8j8zUNcqLNUY33zYB7NG/Osz9S/Y3jt9tNs0DzHGA6cc9drCjwQ5nJHN9HH7g mE6/LzkHJ5MuzjfjQ+vi3c5tgNXeVfJvdDkcuVkEskaehdscQJm6y5sJjiSpLOO/p4p/ tcWcOBh8wW3BfyWsN4K/BoZhFUHy5KeKJhRa4hEFrXZAYI+hbPn5kRmvKi5Rn9roQTjG biug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ng7BsdZElPC+gzGXsxquczNpRrNVtdewc/pU/jfXSXU=; b=cFcABGHeYurIof7nnmRHEFaSQJwOd4z3U3Y3VA022q6VA/tlIVZ4BRpGBnmcVIVEfr sag9YiJbyMPrauuB+CSFE1gYtLik/jia9/ts642t6RFxc1WUOeBmNh8fschLuhO4LoJo Pm0JwHfw9WxIpo5tXinsr/+HA2LxWOUaLygncx33TDpynwHiAWB1JjBxw/yqN0d6UbAs hA7nVXW1hACN778DDahA3kqB4Hw/M6dE2Qc+7DfA5ZnWTcSv3bAAYreW/9XAJncQibrl xR07/EiQa+pyNown88xV6ivF4I+Lz4iZG0+wd2Uum7GEiz1Dvmj8iq3yYM+BNWJ1pK1z WMTA== X-Gm-Message-State: AOAM533/cWSGs4/TwfdOfbCcmqOhb7ib/0Vx4SnG0mYGZqnO9mxNOok4 +xVAW+KzsFdxR4GS0G1xhUJj0H0IOqMF2WM1AeodSg== X-Received: by 2002:a19:5055:: with SMTP id z21mr7120804lfj.297.1614989058347; Fri, 05 Mar 2021 16:04:18 -0800 (PST) MIME-Version: 1.0 References: <20210303170932.1838634-1-jthierry@redhat.com> <20210305235102.384950-1-ndesaulniers@google.com> In-Reply-To: <20210305235102.384950-1-ndesaulniers@google.com> From: Nick Desaulniers Date: Fri, 5 Mar 2021 16:04:07 -0800 Message-ID: Subject: Re: [RFC PATCH v2 00/13] objtool: add base support for arm64 To: Julien Thierry Cc: Ard Biesheuvel , Catalin Marinas , Josh Poimboeuf , Linux ARM , LKML , Mark Rutland , Masahiro Yamada , Peter Zijlstra , Will Deacon , ycote@redhat.com, Fangrui Song , Bill Wendling , Pete Swain , Yonghyun Hwang , clang-built-linux Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 5, 2021 at 3:51 PM Nick Desaulniers wrote: > > (in response to > https://lore.kernel.org/linux-arm-kernel/20210303170932.1838634-1-jthierry@redhat.com/ > from the command line) > > > Changes since v1[2]: > > - Drop gcc plugin in favor of -fno-jump-tables > > Thank you for this! I built+booted(under emulation) arm64 defconfig and built > arm64 allmodconfig with LLVM=1 with this series applied. > > Tested-by: Nick Desaulniers > > One thing I noticed was a spew of warnings for allmodconfig, like: > init/main.o: warning: objtool: asan.module_ctor()+0xc: call without frame pointer save/setup > init/main.o: warning: objtool: asan.module_dtor()+0xc: call without frame pointer save/setup > > I assume those are from the KASAN constructors. See also: > https://github.com/ClangBuiltLinux/linux/issues/1238 > > Can we disable HAVE_STACK_PROTECTOR if CC_IS_CLANG and CONFIG_KASAN is set, > until we can resolve the above issue? Ah, filtering the logs more, it looks like GCOV is has the same issue KASAN does (known issue). Here's a filtered log: https://gist.github.com/nickdesaulniers/01358015b33bd16ccd7d951c4a8c44e7 I'm curious about the failure to decode certain instructions? The stack state mismatches are what are valuable to me; we'll need some help digging into those at some point. The logs from defconfig are clean. -- Thanks, ~Nick Desaulniers