X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53A513833A09 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1670425550; bh=qJ4OQ1aZ34mUD5hB4InpS6aGifqdyinzcoUygEyyFpc=; h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=X6sV4vSXza2SaLnp7itdhXADbX+BtedEbCzl1xkYcrv22vfckywGVf52sd0BWOnZp m9rd7BxXtSHY5n/3t5/T12mg+LgzhuIReY5Dz3X4Ta8gUb+ngC4J0XB6gC99T7or+H /S86nHnJmqcvpUg5d50zloE0OH8OboUPn+pHBKYg= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 94DA73834C0A ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GVhkbrpcYc/xcIahdplMOmBuPHDrNeLxu2fXLDtAGxkJGGN6btYJz0PpP91VVc0DbmcVV/kH+V07Ndq6eXGQ0FWnRg6InC8qLiTE+XDDeDezpfAzSDFVWVLaGJs4n2Ed/LRKK/MsrcR22gihssHX8byG3AfEnwsYv9DlNgnG2nXmzvzCYM3hS3pjUw5Ofrim7FV1l54tIOwrI/X1D3HfuXhhWpsfA+JCzU2oXtJI/NgPvHDxT5+GmQQcG+SpeaKV/E0K00vBekaKKNLssNAov68UAA70JRbykk+waTY9//LvDN46ts1B7+CYcobM4hhsHG57K1PSktLYXkgNfA6cFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C0zk8WWv3oxNrtDar1JZX22HRcqd5/E9RQjMiMSIR9Q=; b=Z5KsVtjS6qt1dAnae3MjC0FsHPXzADYTX2vQnX91wTTFSwFWMF5P0YokM3nVuCgXPz1KU33YlZRWY9hoM1LelIDQvN7R+/eCIsraPEN2M+4UHu/RBwpWzxRdNBc59xDs1MYYhEOje+cMJdinhC5mdrWzFg0urpP0UTSbt4PfN2rOpBzX+0/l81zFWjdmqvSfyfd9p9vJRtNKTDIxmrTamBEn8PJrQAJbAjabZVyqpqK4NA9YZHML/U8m3L9cu/Dz6lYJ8biR/JklRNRCTHd2ffI4jPqzTyjU3UVpvd8vylricBuCEho0aMvVJ24MPjEDa7skmgY+xK9NoxO9FbvRgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=prover.com; dmarc=pass action=none header.from=prover.com; dkim=pass header.d=prover.com; arc=none To: "cygwin AT cygwin DOT com" Subject: RE: gcc -pg broken after cygwin update? Thread-Topic: gcc -pg broken after cygwin update? Thread-Index: AdkKF5h5z4CMSmVXSTihMSRdgfhtQwAGocwAAAHCBAAABPPnwA== Date: Wed, 7 Dec 2022 15:05:04 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS8PR08MB6936:EE_|PR3PR08MB5867:EE_ x-ms-office365-filtering-correlation-id: 63e67617-e0f9-459f-0450-08dad8646c06 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pqIr+VEz5gxX7VYQv4AIm3khJdIXaxJ+WLspUBKKGFeUsVIQL6DMoOktwvS0m9HpJAM0I/usM3Xt6NZuMB/IcrLDFoSbLUbMvWiMuKrh61auAmtO/37wp37TYe9KMR6lZYsXhth+iqpJa2QGBrn3SpvSkGfMvZMVQhDDWnkyO3EjJ0GgdiZ0UibtcTfRf4jgzz1npMGX3icLWsD3Z7oddfkozfcxbf/ttnP0Odll3Uimo+f3SK7pWOia4PpXE0OxzNxSaWHLYFVfirDFM6D9eNr9/gOw3BqJJS7iIKU2SPJyDwVJ+W5lOfwYoNgvIJDEFA3YIO1k68DXDSo4wx0A0EacYUIWd7oZGtR+Q4P1ac2OVBW+eM8SUyubuP4roRB2jVyepV3J71wHf8FGMSezs5Xhrmgr38en9rm6H47uf3EbLmoSBuBKT8TvGUZHepL6NnwrNiByh4wTN+k4zMkJM7xztbitYkJxH4HRADybTHh/c6jsFBAuMdtx0mSGMAOr5ElGmkRSjEISLbVWWrzwD67cj4fTO1ypzKH8bg/aRXzE0ccJMDYAPQEIfYThwz+9FJejkGMJsj22WPaLJdNXMh2VwEtA5272qOEtZENsHyiRWWl7I+ca2Y+GCBIUcNgsJja7iRw2rlH+gvWHgUjHFfWEqxFzOTM5XNrsahp6vsIZ03DbCeM/zysarOg698jB149jlgPFyeUQT6fWicg8no3PaLTqYrzWZkAXGho9/3k= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB6936.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(376002)(366004)(39840400004)(136003)(346002)(451199015)(6506007)(83380400001)(38100700002)(64756008)(122000001)(66446008)(66476007)(8676002)(76116006)(66946007)(66556008)(86362001)(316002)(186003)(55016003)(52536014)(6916009)(5660300002)(15650500001)(2906002)(9686003)(33656002)(45080400002)(26005)(38070700005)(44832011)(71200400001)(478600001)(41300700001)(7696005)(8936002)(460985005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OU5xYlFqUkp6VlRYS0tyYno3b2RWU29ROUlLWDRNVDUrTEkwSWpSOTZ6TDNL?= =?utf-8?B?Y2xkUTM0T1BSaDdOWExTNTBmRmtQYWlnQ2N5S2FSV0V2Tlk2Q3Q1M1M3YjVm?= =?utf-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hZVTM2ano3dWJTYkFmQTFRVGJC?= =?utf-8?B?U252YWZHWTlpczJjUE1LUEdaeGszcTYvaFdaNnZwTHZURXhnSnZjYnh6UGQw?= =?utf-8?B?TGszMnJuenA2RG15dEZGakMyNkdqK3U4Vm5ZNHNhWUxLYVViRkdMZ0dJVE53?= =?utf-8?B?M04wbjhvdXJtQUR3eXNPVlBvazIwUFFZbHBCTXAzbG5zS2M1bXozR0dnM3J3?= =?utf-8?B?ckQyd0phU2Rlb3BhNUJKRUtkOWNacUNZTVNpbElHQWFKTk5uTjJhT1EwbCs4?= =?utf-8?B?eGc9PQ==?= MIME-Version: 1.0 X-OriginatorOrg: prover.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR08MB6936.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63e67617-e0f9-459f-0450-08dad8646c06 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2022 15:05:04.6853 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 496a88d8-7c6f-423f-95bd-eee3dc9aacfc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: taxLLZY/+87dMHjl/dmGunURtRAFmWc/F9iQTGJfbfxYkQ7FFx9asT1LstWYCU9J+CkDbY+fByZGm/ITgDSXZBT/Go/MqafeGIY4kxbkgNA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5867 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP 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: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Daniel Abrahamsson via Cygwin Reply-To: Daniel Abrahamsson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" > On Dec 7 12:50, Corinna Vinschen via Cygwin wrote: > > On Dec 7 08:58, Daniel Abrahamsson via Cygwin wrote: > > > Hi, > > > > > > This morning I updated cygwin, and after that gcc started producing errors like this: > > > > > > > gcc -Wall -Wextra -Werror -pedantic -Wno-unused-parameter -g -pg -DVERBOSE -c -o ../obj/.o .c > > > > gcc -o ../bin/ ../obj/.o -pg > > > > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: ../obj/.o: in function `exit_eval_failure': > > > /home/daab/dev/someproj/src/.c:17: undefined reference to `__fentry__' > > > > > > If I drop the "pg" flags from the compilation and linking stages, everything works. > > > > > > I typically update cygwin packages once per week, but now it has been > > > maybe a month since I last updated. As far as I can tell from the > > > cygwin-announce archives, there has not been any gcc updates in that > > > period, but I do note that cygwin itself has been updated. Could that > > > be related? > > > Thanks for the report. > > > > This is a dumb bug I introduced into the build system in 3.4.0. I fixed > > that in the git repo, but the automated build of the matching test > > release cygwin-3.5.0-0.17.g95f5b0a62036 is currently not building due to > > some hiccup on cygwin.com. I'll send a new mail as soon as this is > > fixed and you can test it (provided you run at least Windows 8.1). > > Automated builds have been picked up again and the Cygwin test package > 3.5.0-0.17.g95f5b0a62036 should be available later today. You can > install it using setup.exe, just like any other test release. > > Don't forget to install the matching cygwin-devel package, too, that's > the one containing the library libgmon.a, which is what gets linked in > with `gcc -pg'. I can confirm 3.5.0-0.17.g95f5b0a62036 solves the issue with the "-pg" flag. Thank you! Regards, Daniel -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple