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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 07FCEC433DB for ; Sat, 9 Jan 2021 15:38:46 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 BD17023372 for ; Sat, 9 Jan 2021 15:38:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD17023372 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=PtHLMW1IUBCymOHNBaWKU9Bqgy7SOV7PBRJmm028XbA=; b=IFvDjYnVAibL2KsSDUkGp4y05 5uTe2YY30VhzVIbeu903quRLm3MgbUj5T1PBrBYSQ64qHe1czmiQtmxyQ6+kH2FZ3noOzUy+Hlqvk 9KPgkUrP/y60HcDcFtL7NYSe3XabEitjyPc2pJecNBQthSoPSauOiKBBCPSM2IlZ7BLa692oBnJeJ Pr63rjNiRPUHKxQJh8wfX7PBDUV3x28l9Xni6NSrhC0Vs/ducFAOD9ltSo0ZIK0GJgqkSuDKhnurQ Rpd1eAEoZ6B9fle4FAWxFZGc6knmgH177MF9HvEMJEt3cY2945b0bOdJ7W9GoQwsce9hyiVkhjVsS l2LI/cfRQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kyGIW-0000BN-Dv; Sat, 09 Jan 2021 15:37:00 +0000 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kyGIT-0000Aj-Fe for linux-arm-kernel@lists.infradead.org; Sat, 09 Jan 2021 15:36:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610206615; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=a2MU/nqWLE/JGSkdP0kIS5IkD9QMgYVvccKJFswQ5ZI=; b=cf8iiC7DD1SRg/mYZZqsJMxocvLOIou928RozrBg3zQwE6xQjWxUdEB/J04gf07hv9FCGx TM6yTvgISKX2Ras9JRd3mivzNUyAqpyGbbp9lgFRwC/EoTGMANlxaT6T4axqRwVnretX5f i4OjN1qvh16lyXtxgBUqlkzvPVRnf/M= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-426-VeFGfpw6MSCN1ixeCjF0BQ-1; Sat, 09 Jan 2021 10:36:53 -0500 X-MC-Unique: VeFGfpw6MSCN1ixeCjF0BQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 771588015C3; Sat, 9 Jan 2021 15:36:50 +0000 (UTC) Received: from treble (ovpn-120-156.rdu2.redhat.com [10.10.120.156]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 379F75D9C2; Sat, 9 Jan 2021 15:36:48 +0000 (UTC) Date: Sat, 9 Jan 2021 09:36:46 -0600 From: Josh Poimboeuf To: Sedat Dilek Subject: Re: [PATCH v9 00/16] Add support for Clang LTO Message-ID: <20210109153646.zrmglpvr27f5zd7m@treble> References: <20201211184633.3213045-1-samitolvanen@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210109_103657_569833_1BA90DA5 X-CRM114-Status: GOOD ( 16.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Kees Cook , "Paul E. McKenney" , kernel-hardening@lists.openwall.com, Peter Zijlstra , Greg Kroah-Hartman , Masahiro Yamada , linux-kbuild@vger.kernel.org, Nick Desaulniers , linux-kernel@vger.kernel.org, Steven Rostedt , Clang-Built-Linux ML , Sami Tolvanen , linux-pci@vger.kernel.org, Will Deacon , linux-arm-kernel@lists.infradead.org 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 Sat, Jan 09, 2021 at 03:54:20PM +0100, Sedat Dilek wrote: > I am interested in having Clang LTO (Clang-CFI) for x86-64 working and > help with testing. > > I tried the Git tree mentioned in [3] > (together with changes from ). > > I only see in my build-log... > > drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning: objtool: > eb_relocate_parse_slow()+0x3d0: stack state mismatch: cfa1=7+120 > cfa2=-1+0 > drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning: objtool: > eb_copy_relocations()+0x229: stack state mismatch: cfa1=7+120 > cfa2=-1+0 > > ...which was reported and worked on in [1]. > > This is with Clang-IAS version 11.0.1. > > Unfortunately, the recent changes in > do not cleanly apply with Josh stuff. > My intention/wish was to report this combination of patchsets "heals" > a lot of objtool-warnings for vmlinux.o I observed with Clang-CFI. > > Is it possible to have a Git branch where Josh's objtool-vmlinux is > working together with Clang-LTO? > For testing purposes. I updated my branch with my most recent work from before the holidays, can you try it now? It still doesn't fix any of the crypto warnings, but I'll do that in a separate set after posting these next week. -- Josh _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel