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 X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53C1BC433DB for ; Sat, 6 Mar 2021 00:05:53 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E7E9C650AA for ; Sat, 6 Mar 2021 00:05:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7E9C650AA Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dqKO62pi/qb+tCmvcTy2aJlKa9vm2QdzLcvxVG80aNo=; b=CX60EQeDae9TDXJxBNN6j2g1H v3mIVrbL11MXpGu0FI9XRRmwzZE6nfmusu7iU3ksqH3TVCAtY5z3PIw3Xe3clpEw62j6dB/CRmcpZ HVp+YkPAdlyzvi83OsqITiYYuJW6gygwspK6JXFYe9T3DenyZyhyvz+GhSDmYr0tlErm1q98q5ZnS pd6D/f2rQTcULaSsotoXpcgwf8326fHeoRd6Gx+g2x1YmjIuxJn0tZ3khwPQyHQ+D95DFxgKcUSZs VwPnxi4jqSi4ptCXmkf9vAJ7Vewx4r+KhmHhP5k366J1EOo/bK2dbazTa2yQQkjN4Yq9KrfpNa36y OCKEjDkTg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lIKQi-00HGc0-MA; Sat, 06 Mar 2021 00:04:24 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lIKQe-00HGa1-4A for linux-arm-kernel@lists.infradead.org; Sat, 06 Mar 2021 00:04:22 +0000 Received: by mail-lf1-x132.google.com with SMTP id u4so6876245lfs.0 for ; Fri, 05 Mar 2021 16:04:19 -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=ML7tc5szsSrtgKJU+18cGkQIIw6Zyo1xxGGYzwF/b20n8XQGPeP136AP14uK/BMM8f ZE7bDkJXiaHLaH0dCA7t7jx1irmbDVBE9sv8QPB+zoOyNB/NY+XHsZw69iWRb+JIHIVT FeJ1mm9O6zE511XkH6aBCORO0VLoynpQ0rAh03g23zRTPuDpl1LpRdZV+amj4UfKzZ5X DHcK8dshg0aPOtVMFu4UP5r18z+JtrCW6pkv7zRNWK6kY3N4Nb9moWYoS7LBjOVjWFty 2csjHpTQbhkJO/hC9dz3kh9cTRW/IdhmkB91aQw3XCn5dBzW8N0b/n1SRR1QpgfcJe67 HZLw== X-Gm-Message-State: AOAM531X51iq4X41mGz5GIE+QM3ejzTmJsEYv+e1VFgCcNI0a80tLehR NeYyvP9hQ1Rd6wR5jQ+9zc6AGq/bpzS42AiJ/2kwcQ== X-Google-Smtp-Source: ABdhPJw3kAw6w2N1NCbGWxO+aTK6zp6EbB7I/d5Avwjp+/KBiNT6y/utjJk8NryZ4VkzD8cMkQqjJasW5zf5MpMUYiA= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210306_000420_248434_91C261DD X-CRM114-Status: GOOD ( 15.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel