From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 62B433858032 for ; Fri, 20 Jan 2023 20:41:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 62B433858032 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.97,233,1669104000"; d="scan'208";a="97829888" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 20 Jan 2023 12:41:32 -0800 IronPort-SDR: AVve0b5TRH8HZyNtz7p+tKMUWYFDOInuNxLWeMIVWM+pI7AxEundY9YhizxT5SfX3kAaqZuzw6 KiuxaEJu05OeE1cg8ACKt8VRniHkIcqVrQJsMboIZxgEJgXGZwxaxFV7kNEeSgSHrYDDUm7fX1 /3NJ8NpEidW88sLxCiLbAd1Jv7w+NVJ00scJJBB9fVr3RE+CBOq8ImHapHSoo/AS/aojIyTLTY 6RwIxqmW6CquriPb3WK3y5ShhZCm5Be62brfCQUwErnBflXk9/5GTCxGDtNF6Q7kZAk4Cp5Zvz FYg= From: Thomas Schwinge To: CC: Tom de Vries Subject: [og12] nvptx: Support global constructors/destructors via 'collect2' In-Reply-To: <87y1rq7wt4.fsf@dem-tschwing-1.ger.mentorg.com> References: <878rjqaku5.fsf@dem-tschwing-1.ger.mentorg.com> <87y1rq7wt4.fsf@dem-tschwing-1.ger.mentorg.com> User-Agent: Notmuch/0.29.1+93~g67ed7df (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Fri, 20 Jan 2023 21:41:26 +0100 Message-ID: <87y1px0wi1.fsf@dem-tschwing-1.ger.mentorg.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi! On 2022-12-02T14:35:35+0100, I wrote: > On 2022-12-01T22:13:38+0100, I wrote: >> I'm working on support for global constructors/destructors with >> GCC/nvptx > > See "nvptx: Support global constructors/destructors via 'collect2'" > attached; OK to push? (... with 'gcc/doc/install.texi' accordingly > updated once > "'nm'" and newlib > > "nvptx: Implement '_exit' instead of 'exit'" have been merged; any > comments to those?) For now pushed to devel/omp/gcc-12 branch in commit fe07b0003bb2092bc34d4bed504be1868b88782d "nvptx: Support global constructors/destructors via 'collect2'", see attached. > Per my quick scanning of 'gcc/config.gcc' history, for more than two > decades, there was a clear trend to remove 'use_collect2=3Dyes' > configurations; now finally a new one is being added -- making sure we're > not slowly dispensing with the need for the early 1990s piece of work > that 'gcc/collect2*' is... ;'-P (I still find that "notable" and "funny" in a certain way.) ;-* Gr=C3=BC=C3=9Fe Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955