delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/12/07/10:11:10

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 <cygwin AT cygwin DOT com>
Subject: Re: gcc -pg broken after cygwin update?
Message-ID: <Y5CswuzdEwENyRBm@calimero.vinschen.de>
Mail-Followup-To: Daniel Abrahamsson via Cygwin <cygwin AT cygwin DOT com>
References: <AS8PR08MB6936BAD1D7274720E4449505E91A9 AT AS8PR08MB6936 DOT eurprd08 DOT prod DOT outlook DOT com>
<Y5B+DvKl+fzjtZTk AT calimero DOT vinschen DOT de>
<Y5CJ2puxN+/Reahf AT calimero DOT vinschen DOT de>
<AS8PR08MB6936034B363027E094E4F102E91A9 AT AS8PR08MB6936 DOT eurprd08 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
In-Reply-To: <AS8PR08MB6936034B363027E094E4F102E91A9@AS8PR08MB6936.eurprd08.prod.outlook.com>
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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/<somefile>.o <somefile>.c
> > > > > gcc -o ../bin/<mybin> ../obj/<somefile>.o -pg
> > > > > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: ../obj/<somefile>.o: in function `exit_eval_failure':
> > > > /home/daab/dev/someproj/src/<somefile>.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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019