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=-5.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 2DE20C4724C for ; Thu, 30 Apr 2020 17:39:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 D129720873 for ; Thu, 30 Apr 2020 17:39:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XmUhNyOm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D129720873 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.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=BfjnTZOtNNBJnQEZdiScQE9MAk429UKqz+mL+yiMPck=; b=XmUhNyOm0jCMp+ 9j0+VI/Kwf1sDAHCT/Y2FsQNRR/JsSVuWyOfOdDolBw3ceU6FED26MkRCunZhwv8n89tcR4lSJJoH ORJRhGtXcZwFdGBqrKV+pk/TPyQ0Ie7x1vPNzHpZjfFtcePHE79rmcOME3Sn91ruy2i5Hv0+SgycV uNFHVGLzdSTpsQNpIpBoP/2lTUjQxtqlXvpFVvy78X4q7tkqLUUn5zUEqBBapy3626pS272FMqUNi s/m2PGj+MxtyaxRFa34fPYYTwpFXpP+apc7jEG8e0QkkHscplme4vrE7RKWEhqrBB3YOFprhyQ9rV 6UXJmLkwvNTKMuNfuESw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUD9b-0000WQ-RZ; Thu, 30 Apr 2020 17:39:19 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUD9U-0000VA-OO for linux-arm-kernel@lists.infradead.org; Thu, 30 Apr 2020 17:39:18 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6E68A101E; Thu, 30 Apr 2020 10:39:10 -0700 (PDT) Received: from gaia (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2CBB23F73D; Thu, 30 Apr 2020 10:39:09 -0700 (PDT) Date: Thu, 30 Apr 2020 18:39:06 +0100 From: Catalin Marinas To: Vincenzo Frascino Subject: Re: [PATCH v2] arm64: vdso: Add -fasynchronous-unwind-tables to cflags Message-ID: <20200430173906.GM2717@gaia> References: <20200429151050.31604-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200429151050.31604-1-vincenzo.frascino@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200430_103912_835482_D9BF027F X-CRM114-Status: GOOD ( 12.02 ) 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: tamas.zsoldos@arm.com, Szabolcs Nagy , 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+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 29, 2020 at 04:10:50PM +0100, Vincenzo Frascino wrote: > On arm64 linux gcc uses -fasynchronous-unwind-tables -funwind-tables > by default since gcc-8, so now the de facto platform ABI is to allow > unwinding from async signal handlers. > > However on bare metal targets (aarch64-none-elf), and on old gcc, > async and sync unwind tables are not enabled by default to avoid > runtime memory costs. > > This means if linux is built with a baremetal toolchain the vdso.so > may not have unwind tables which breaks the gcc platform ABI guarantee > in userspace. > > Add -fasynchronous-unwind-tables explicitly to the vgettimeofday.o > cflags to address the ABI change. > > Cc: Will Deacon > Cc: Catalin Marinas > Reported-by: Szabolcs Nagy > Signed-off-by: Vincenzo Frascino Queued for 5.7. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel