X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B62E390CE9B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1670425833; bh=vIavgygkkCuBDo7JjiiTJ/61PLCQZxJc1WdIG43N9e4=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=qnpgeUtBtK8n1p2+GjQ8MwYpAJBmcH5guiozwzkigCOsQgt7Ces8TMXpHO5bHK7zx m+F8fEzBpcXh2Z7Q8Mhnf5SfUmRcTETrLn3hPYR67fMpLy5N6ZNgncTa6iEy3OqUAQ pNSaCdMxvJ0vHcj1g2y1KZiXu87ikg43L7uPe5mQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com Date: Wed, 7 Dec 2022 16:09:54 +0100 To: Daniel Abrahamsson via Cygwin Subject: Re: gcc -pg broken after cygwin update? Message-ID: Mail-Followup-To: Daniel Abrahamsson via Cygwin References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:wq6V7EWPo2aIwl6EJpqT6EDSF9fFMZlqNg2aTH5yUZ4eY7BKO/w tDt99fvSBVdScxbXVigROEnbS4o76aQxIGZ7+kcjWZgCzvZXvB9EC4x+mnz0vhmhxwy/IKA gYIkpTL8h6s6AJwFkk2nF2cqv8hsm8Tl+QaNsJfzup1LUoKcDbad0pQaWt9YJbQ26LawlN0 RISvC13rAI1m9+yU6WOoQ== UI-OutboundReport: notjunk:1;M01:P0:e3JneNbbZss=;3RhCPbQdX5797NW6lES4/CCClzg kGlQqXwKviMN8A+Bp6/7eQcCtSZMizEje6UhmbI2cegX0VXR1xybEKVPzAvIML5MXWyOD3VSu hXKCrBbSSeqhSBPWXXRWD9ECbUob4sGxerZ3QsjTQmwDBtEGVOIyBttRH6bdlrLU/oARgQpLX SVfM5DnPquGth0CKFoIUSZUo3UmqEpufns3zP05Xoazaot2+RVNeZKeBcC5TIALSL/0GsMXZs kFOfBohdpSQbphjecTA0gCGyUlJwR9Co4a0zQ71/8hwsPmWqkne9GaIhdW9+FnIcb+PJPCjNC eZrIf+V3QoNZjFRbSX0s65CKQVsVxTHk1O6nnGimAwNyb/TH6HbyCwJFZXj5tW140ALb0FP12 MdiW2IYvV66ESvN/NjFkJqX2mfYgVgwxTIrkRbKSmtvoTKed0JRucU+FphZpo9IN9r3RZurLc ELHw0M4fyEfJYTLZsRLfKM9U3c0Getf+dkRM0Izrm5Ew4jDYUt6IKOvGOwDUbuDh/xylLViPq WDoFYg5zlumBG/XTa12eONt7qWGF8OlWL5qxvO9VBa2/k6sHzs6jQL6zRQJWGCvTlAVplhs9U XN8YrbSXYgztQqGzs+tptoTbH4NZNxCccaYd/+S6dV/o3YgUOOWzMIE8GX7XF0Mzr+d8hTVny Pggq70lvtoZX45aFcBZKUkTkfageKE9yGtZ+lgzKow== X-Spam-Status: No, score=-95.5 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Dec 7 15:05, Daniel Abrahamsson via Cygwin wrote: > > 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__' > > > > [...] > > > 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 > > > [...] > > 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! Thanks for your feedback! Corinna -- 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