delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/13/17:43:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Re: Is profiling broken?
From: "Timothy C Prince" <tprince AT myrealbox DOT com>
To: marklist AT fangorn DOT ca
CC: cygwin AT cygwin DOT com
Date: Wed, 13 Aug 2003 21:42:38 +0000
X-Sender: tprince
MIME-Version: 1.0
Message-ID: <1060810958.8edd2f00tprince@myrealbox.com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h7DLhBK05429


-----Original Message-----
From: Mark Blackburn <marklist AT fangorn DOT ca>
To: cygwin AT cygwin DOT com
Date: Wed, 13 Aug 2003 17:08:04 -0400
Subject: Is profiling broken?

Whenever I try to compile with gcc -p I get "undefined reference to 
`mcount'".


AFAIK, only -pg profiling is supported in cygwin, and it links correctly only when mingw is not installed.  It looks like you are not searching the correct library, which will be found if you link with -pg, but avoid linking against mingw runtime.
2 of the build failures reported by most gcc testsuite runs are provoked by this issue.
It's not severely broken, but it might be nice if it would work "out of the box," for gcc, if not for g77.


Tim Prince

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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