From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104070 invoked by alias); 12 Dec 2018 16:39:56 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 104051 invoked by uid 89); 12 Dec 2018 16:39:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_NUMSUBJECT,SPF_PASS autolearn=no version=3.3.2 spammy=UD:eu, HX-Get-Message-Sender-Via:sk:authent X-HELO: server28.superhosting.bg Received: from server28.superhosting.bg (HELO server28.superhosting.bg) (217.174.156.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 12 Dec 2018 16:39:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=nap8j1FhjXNunWcgjl+S+Hx9K0agwkOoaomkr71R2Zg=; b=GGiM3PcQfT3nvUF7Y6xQbwFrS2 wi5GhI3WOI0qxf5ZJGP2iPKmMjjJ+7PhSgXwEekiSGT/doPGRVD7tlx64gWZx/GRYw83ZcLoMygtD beJ710Xw360mndTPPVOlL4Oa2BBP9pxnnJ1E3omCgozC0h1GVZB4CRwPTVNAUsTRM6xFX86xCkxyB 4hx8tdDlARZJNh8k/+4cjXrtw80DE6WHhORthTgeKWZ2AVdXGKK2HH+jw9/Gs4ZFT19w2NrrgUmCV CcwmBCMSZKJA7bfC2QZjAfl/WMsv9PXdPH3MZ/cFX9ndb5zyvJbP5Wsk+4DVSzOM4DFkytBjSqlLE VMVeCcFA==; Received: from [95.87.234.74] (port=49466 helo=tpdeb.localnet) by server28.superhosting.bg with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gX7Y6-000CMn-HB; Wed, 12 Dec 2018 18:39:52 +0200 From: Dimitar Dimitrov To: Christophe Lyon Cc: gcc Patches , Richard Sandiford , Thomas Preud'homme Subject: Re: [PATCH] [RFC] PR target/52813 and target/11807 Date: Wed, 12 Dec 2018 16:39:00 -0000 Message-ID: <3448205.30GXair2k3@tpdeb> User-Agent: KMail/5.2.3 (Linux/4.9.0-8-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: References: <20181209100856.14051-1-dimitar@dinux.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-OutGoing-Spam-Status: No, score=-0.5 X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00839.txt.bz2 On Wed, 12 Dec 2018 at 11:03:24 EET Christophe Lyon wrote: > And just noticed it causes a failure to build GDB for x86_64: > gdb-8.1-release/gdb/nat/linux-ptrace.c: In function 'void > linux_ptrace_init_warnings()': > gdb-8.1-release/gdb/nat/linux-ptrace.c:149:23: error: Stack Pointer > register clobbered by '%rsp' in 'asm' > 149 | : "%rsp", "memory"); > > | ^ > > Makefile:1640: recipe for target 'linux-ptrace.o' failed > > I didn't check if the GDB code is legitimate though.... Sorry about this. I had checked the Linux x86 kernel for SP clobbers, but forgot that GDB could also use such magic. I'll try to fix it and send a patch to GDB. It will likely take me a few days, so I hope that this breakage is not considered a P0 bug. Regards, Dimitar