X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:subject:from:to:date:in-reply-to
	:references:content-type:mime-version:content-transfer-encoding;
	 q=dns; s=default; b=ReuTnCO9718PiSj1KpahVFznSbFq9ZvDgIkGYVr1h3n
	D8RX8YtxQpplHRi6uBgpnIT9D5NpovCNxOehYC/BSzOFY+bw+7mgUCzL+kkxMTDD
	N0SJFC8GuMy5ngDbjici49kLt9bBFe3sKl5xKH+Nrmg+8D0g5CB/nnPNrJKM5hdI
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:subject:from:to:date:in-reply-to
	:references:content-type:mime-version:content-transfer-encoding;
	 s=default; bh=oEroieFyXUMXXoSvbIngD9uGfAI=; b=CuSI0E9w0X+0majz5
	RMxZuyVs6Gi5ecpnzYYQeSKQXKFXJTULaX3bZfF3kZVpW8eu5uBsQkLt7+d8zfoT
	mvXhT73szY+evJTxiXUI5NhaNCrVDfvG3qwpWzu+E8iXa6a6t85pa1uVB3/3blRy
	0G4G0wjRN3RV0OKY+tU9v7b5sM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2
X-HELO: mx1.redhat.com
Message-ID: <1425017849.11676.28.camel@cygwin.com>
Subject: Re: mingw-runtime 4.01: empty libgmon.a
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin@cygwin.com
Date: Fri, 27 Feb 2015 00:17:29 -0600
In-Reply-To: <54ECEE37.80603@quicknet.nl>
References: <54ECEE37.80603@quicknet.nl>
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On Tue, 2015-02-24 at 22:33 +0100, Teun Burgers wrote:
> the libgmon.a is an empty archive. These are the contents of
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libgmon.a
> 
> This becomes a problem when attempting to prepare an executable for profiling with gprof
> 
> /bin/i686-pc-mingw32-gcc.exe -pg -o hello hello.c
> 
> I replaced libgmon.a with this one:
> 
> https://github.com/jonasstrandstedt/MinGW/blob/master/MinGW/lib/libgmon.a
> 
> and then the profiling for i686-pc-mingw32 works fine.
> 
> Maybe a next release of mingw-runtime can include a functional libgmon.a ?

There probably won't be another release of mingw-runtime, or the rest of
the mingw.org toolchain, as the previous maintainer has gone missing.  I
suggest you use the {i686,x86_64}-w64-mingw32 targets instead from the
mingw64-* toolchains.

--
Yaakov



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

