Message ID | Zbo2H9euv36W0XsA@tucnak |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1834031dyb; Wed, 31 Jan 2024 04:00:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSr9BUKPGaHeTpp1B4sefGEgyDwMmcPkqQ55cN0a9jzXdOUpj7sc6C7T31cB36cx6eCto+ X-Received: by 2002:ac8:5d51:0:b0:42b:769:5d7e with SMTP id g17-20020ac85d51000000b0042b07695d7emr1313566qtx.128.1706702442922; Wed, 31 Jan 2024 04:00:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706702442; cv=pass; d=google.com; s=arc-20160816; b=TZ5Pa4AAgnP9rkA8LXzHtSGpeqrewtYqFy0Vpi3LE9AWQxpCQJt22xmkir8xvRtl9E fRZ6fqjEVjTqUGgGas+DlSa0pNtsDgLYeGFDQxxf3UMQDu8B0usL+cgZmeBbieyRgooh naI7d+mebTwgdv4Si4aDHUSyeXd9WJJXUM48pKF0owxBd/ux/ykuEmVw66dMZEwD4p+2 LGTuv3K+guD18OhS4iSJQfxrnPGPjcx1SmVnGOP1gsFyTYZXRNr/vN2pH/fGFBrHOV7I xoCsNAH/wPqskl9N0I7NWB8ZGU3oVJgQbmJGhpE6c8qBgIFw70uzJQiL/WDDHu8kBXco yl/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition:in-reply-to :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=+XbFVmJZJUPTQSCu3O9Zy/1kPTzFh1Rna2msOk/AD6U=; fh=qfe0G/EFbQTlA2xi29jQDxhzLImxzhw3sN8Sf3pQWqM=; b=jR2LmRDhHVLceSyMm60lPACvJ5D6mkz5No6YiDY5yyc9+1FvxA9Igd30MhLMU7PJ1w Z7+EhA8kWcus6X0ws2sEFIKnwyJTbl9BIH+m0RFoaPKN6iFKZigjslltorxJq91oNVf1 OEkLdCekzAUIIfsJvR7MQ71l7A5Km4B347O4kWwvwgfpfK/h9zl+OIr2fT4i2hyDDvGo Z+cvqH4m6hH+/JjA0HoZ4Y14Bdzfz89g+Z2k8UnYMNPbMtVbxcxRBjsaec/R2QtWrKev 7qs5uxXehpnK5QeCew843+7lBLghkMCXVfY6j7rabBJrEmyxQpvAaFHVrdsPTH56IjbS 4h7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ss1Cs7k6; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=1; AJvYcCWGMEZbj+3HU9MgiuPs8qCEkbHUjTXGqYuGqf2ndLvkBQhmFhcogK2nRqryrNj9DZYjjx4ipmAkwu+qNp80M8mjziPAXg== Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id y11-20020ac85f4b000000b00429c9588f86si12255195qta.753.2024.01.31.04.00.42 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 04:00:42 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ss1Cs7k6; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 59714385772D for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 12:00:28 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id D56783858D20 for <gcc-patches@gcc.gnu.org>; Wed, 31 Jan 2024 11:59:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D56783858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D56783858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706702375; cv=none; b=Db3glM7uLC4iINFeDsEffzPIq+ZRhqffu/ImAmX4mlINS8Xkp/8Vp7EQlnQtkpydC7p/Xj5pj0IdE8iNWiG6G32KyBWXnknDzUAiOrFwbxopfXjlzVCdJnKo3Iq5iY1Ss8rGsqzj9VW6zpuWvCOjGUF/sNvCmNhVC5Z7NXp6ZYs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706702375; c=relaxed/simple; bh=YmGfQsCWJTBAWA1oPnk95O7/u3SP0tA+Jd8s3lHq10U=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=VLD6+mEM1ngzFUwgZrHlyMAwAUkfdauY1iTBMhr8j1w8PwBfirAKOPDe4BjbjbxGWGKAwllzBzboG6WKplFhIOECRA/L2YKBjxckMl2dEANGTc/rpv1ShwJFstdY4oLcD9OqQ6tistfhLDt3lcxV2At8pycEuk2VQRUPNpgYehs= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706702373; h=from:from:reply-to: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=+XbFVmJZJUPTQSCu3O9Zy/1kPTzFh1Rna2msOk/AD6U=; b=Ss1Cs7k6BZJwKZs9L/pE70+fBtFp73fb6wRPCERbgYkS+PG8vT+9n0cG/9nYzElojbmHzL qGbN61d/rGeZZiqGni2x4Rii33/De8XaLviRvgpoSfO9SZtKL7j5YRBgC4gWQ0JQjixrdp b1nnHQFfYv3BV/2WvIW+gZT7NfdcGYE= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-562-W4YsJmIbPPeIfS9n5r82mw-1; Wed, 31 Jan 2024 06:59:32 -0500 X-MC-Unique: W4YsJmIbPPeIfS9n5r82mw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D7289185A782; Wed, 31 Jan 2024 11:59:31 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.70]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9A9CCC0FDF1; Wed, 31 Jan 2024 11:59:31 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 40VBxSQZ286576 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 31 Jan 2024 12:59:29 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 40VBxRRM286575; Wed, 31 Jan 2024 12:59:27 +0100 Date: Wed, 31 Jan 2024 12:59:27 +0100 From: Jakub Jelinek <jakub@redhat.com> To: iain@sandoe.co.uk Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] libgcc: Fix up i386/t-heap-trampoline [PR113403] Message-ID: <Zbo2H9euv36W0XsA@tucnak> References: <20240128140733.94198-1-iain@sandoe.co.uk> <20240128140733.94198-2-iain@sandoe.co.uk> MIME-Version: 1.0 In-Reply-To: <20240128140733.94198-2-iain@sandoe.co.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Reply-To: Jakub Jelinek <jakub@redhat.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789607220555522107 X-GMAIL-MSGID: 1789607220555522107 |
Series |
libgcc: Fix up i386/t-heap-trampoline [PR113403]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Jakub Jelinek
Jan. 31, 2024, 11:59 a.m. UTC
On Sun, Jan 28, 2024 at 02:07:32PM +0000, Iain Sandoe wrote: > --- a/libgcc/config/aarch64/t-heap-trampoline > +++ b/libgcc/config/aarch64/t-heap-trampoline > @@ -16,4 +16,5 @@ > # along with GCC; see the file COPYING3. If not see > # <http://www.gnu.org/licenses/>. > > -LIB2ADD += $(srcdir)/config/aarch64/heap-trampoline.c > +LIB2ADDEH += $(srcdir)/config/aarch64/heap-trampoline.c > +LIB2ADDEHSHARED += $(srcdir)/config/aarch64/heap-trampoline.c > --- a/libgcc/config/i386/t-heap-trampoline > +++ b/libgcc/config/i386/t-heap-trampoline > @@ -16,4 +16,5 @@ > # along with GCC; see the file COPYING3. If not see > # <http://www.gnu.org/licenses/>. > > -LIB2ADD += $(srcdir)/config/i386/heap-trampoline.c > +LIB2ADDEH += $(srcdir)/config/i386/heap-trampoline.c > +LIB2ADDEHSHARED += $(srcdir)/config/aarch64/heap-trampoline.c I'm seeing ../../../libgcc/shared-object.mk:14: warning: overriding recipe for target 'heap-trampoline.o' ../../../libgcc/shared-object.mk:14: warning: ignoring old recipe for target 'heap-trampoline.o' ../../../libgcc/shared-object.mk:17: warning: overriding recipe for target 'heap-trampoline_s.o' ../../../libgcc/shared-object.mk:17: warning: ignoring old recipe for target 'heap-trampoline_s.o' Shouldn't we go with following patch? I can test it on x86_64-linux and i686-linux, but can't test it e.g. on Darwin easily. 2024-01-31 Jakub Jelinek <jakub@redhat.com> * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED i386/heap-trampoline.c rather than aarch64/heap-trampoline.c. Jakub
Comments
On Wed, Jan 31, 2024 at 12:59:27PM +0100, Jakub Jelinek wrote: > On Sun, Jan 28, 2024 at 02:07:32PM +0000, Iain Sandoe wrote: > > --- a/libgcc/config/aarch64/t-heap-trampoline > > +++ b/libgcc/config/aarch64/t-heap-trampoline > > @@ -16,4 +16,5 @@ > > # along with GCC; see the file COPYING3. If not see > > # <http://www.gnu.org/licenses/>. > > > > -LIB2ADD += $(srcdir)/config/aarch64/heap-trampoline.c > > +LIB2ADDEH += $(srcdir)/config/aarch64/heap-trampoline.c > > +LIB2ADDEHSHARED += $(srcdir)/config/aarch64/heap-trampoline.c > > --- a/libgcc/config/i386/t-heap-trampoline > > +++ b/libgcc/config/i386/t-heap-trampoline > > @@ -16,4 +16,5 @@ > > # along with GCC; see the file COPYING3. If not see > > # <http://www.gnu.org/licenses/>. > > > > -LIB2ADD += $(srcdir)/config/i386/heap-trampoline.c > > +LIB2ADDEH += $(srcdir)/config/i386/heap-trampoline.c > > +LIB2ADDEHSHARED += $(srcdir)/config/aarch64/heap-trampoline.c > > I'm seeing > ../../../libgcc/shared-object.mk:14: warning: overriding recipe for target 'heap-trampoline.o' > ../../../libgcc/shared-object.mk:14: warning: ignoring old recipe for target 'heap-trampoline.o' > ../../../libgcc/shared-object.mk:17: warning: overriding recipe for target 'heap-trampoline_s.o' > ../../../libgcc/shared-object.mk:17: warning: ignoring old recipe for target 'heap-trampoline_s.o' > > Shouldn't we go with following patch? > I can test it on x86_64-linux and i686-linux, but can't test it e.g. on > Darwin easily. > > 2024-01-31 Jakub Jelinek <jakub@redhat.com> > > * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED > i386/heap-trampoline.c rather than aarch64/heap-trampoline.c. Bootstrapped/regtested on x86_64-linux and i686-linux successfully. Jakub
> On 1 Feb 2024, at 08:22, Jakub Jelinek <jakub@redhat.com> wrote: > > On Wed, Jan 31, 2024 at 12:59:27PM +0100, Jakub Jelinek wrote: >> On Sun, Jan 28, 2024 at 02:07:32PM +0000, Iain Sandoe wrote: >>> --- a/libgcc/config/aarch64/t-heap-trampoline >>> +++ b/libgcc/config/aarch64/t-heap-trampoline >>> @@ -16,4 +16,5 @@ >>> # along with GCC; see the file COPYING3. If not see >>> # <http://www.gnu.org/licenses/>. >>> >>> -LIB2ADD += $(srcdir)/config/aarch64/heap-trampoline.c >>> +LIB2ADDEH += $(srcdir)/config/aarch64/heap-trampoline.c >>> +LIB2ADDEHSHARED += $(srcdir)/config/aarch64/heap-trampoline.c >>> --- a/libgcc/config/i386/t-heap-trampoline >>> +++ b/libgcc/config/i386/t-heap-trampoline >>> @@ -16,4 +16,5 @@ >>> # along with GCC; see the file COPYING3. If not see >>> # <http://www.gnu.org/licenses/>. >>> >>> -LIB2ADD += $(srcdir)/config/i386/heap-trampoline.c >>> +LIB2ADDEH += $(srcdir)/config/i386/heap-trampoline.c >>> +LIB2ADDEHSHARED += $(srcdir)/config/aarch64/heap-trampoline.c >> >> I'm seeing >> ../../../libgcc/shared-object.mk:14: warning: overriding recipe for target 'heap-trampoline.o' >> ../../../libgcc/shared-object.mk:14: warning: ignoring old recipe for target 'heap-trampoline.o' >> ../../../libgcc/shared-object.mk:17: warning: overriding recipe for target 'heap-trampoline_s.o' >> ../../../libgcc/shared-object.mk:17: warning: ignoring old recipe for target 'heap-trampoline_s.o' >> >> Shouldn't we go with following patch? >> I can test it on x86_64-linux and i686-linux, but can't test it e.g. on >> Darwin easily. >> >> 2024-01-31 Jakub Jelinek <jakub@redhat.com> >> >> * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED >> i386/heap-trampoline.c rather than aarch64/heap-trampoline.c. > > Bootstrapped/regtested on x86_64-linux and i686-linux successfully. Thanks, looks silly pasto that somehow managed to survive default testing options. Tested x86_64-darwin (along with the warning suppression patch) and tested for ftrampoline-impl={heap,stack} and {static,shared}-libgcc. thanks Iain
On Thu, Feb 01, 2024 at 07:58:29PM +0000, Iain Sandoe wrote: > Thanks, looks silly pasto that somehow managed to survive default testing > options. > > Tested x86_64-darwin (along with the warning suppression patch) and > tested for ftrampoline-impl={heap,stack} and {static,shared}-libgcc. Thanks. This pasto looks obvious to me and for the other one Richi said it is obvious, so I'll commit both to trunk now. Jakub
--- libgcc/config/i386/t-heap-trampoline.jj 2024-01-31 10:46:36.491743132 +0100 +++ libgcc/config/i386/t-heap-trampoline 2024-01-31 12:55:59.779101625 +0100 @@ -17,4 +17,4 @@ # <http://www.gnu.org/licenses/>. LIB2ADDEH += $(srcdir)/config/i386/heap-trampoline.c -LIB2ADDEHSHARED += $(srcdir)/config/aarch64/heap-trampoline.c +LIB2ADDEHSHARED += $(srcdir)/config/i386/heap-trampoline.c