From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8189 invoked by alias); 1 Oct 2002 06:46:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 8175 invoked by uid 71); 1 Oct 2002 06:46:01 -0000 Date: Mon, 30 Sep 2002 23:46:00 -0000 Message-ID: <20021001064601.8174.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Tim Prince Subject: Re: target/7940: Test gcc.dg/nest.c fails on cygwin Reply-To: Tim Prince X-SW-Source: 2002-09/txt/msg00898.txt.bz2 List-Id: The following reply was made to PR target/7940; it has been noted by GNATS. From: Tim Prince To: David.Billinghurst@riotinto.com, gcc-gnats@gcc.gnu.org Cc: Subject: Re: target/7940: Test gcc.dg/nest.c fails on cygwin Date: Mon, 30 Sep 2002 23:32:02 -0700 On Monday 16 September 2002 16:45, David.Billinghurst@riotinto.com wrote: > >Number: 7940 > >Category: target > >Synopsis: Test gcc.dg/nest.c fails on cygwin > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: unassigned > >State: open > >Class: sw-bug > >Submitter-Id: net > >Arrival-Date: Mon Sep 16 16:46:00 PDT 2002 > >Closed-Date: > >Last-Modified: > >Originator: David Billinghurst > >Release: gcc-3.3 20020916 > >Organization: > >Environment: > > i686-pc-cygwin > > >Description: > > Test gcc.dg/nest.c fails on cygwin, due to linking problems. > I will investigate further, but not today. > > Output is: > > /usr/local/obj/gcc/gcc/xgcc -B/usr/local/obj/gcc/gcc/ > /usr/local/src/gcc/gcc/testsuite/gcc.dg/nest.c -O2 -pg -o ./nest.exe > /usr/lib/mingw/libgmon.a(profil.o)(.text+0x19):profil.c: undefined > reference to `__errno' > /usr/lib/mingw/libgmon.a(profil.o)(.text+0xf4):profil.c: undefined > reference to `__errno' > /usr/lib/mingw/libgmon.a(profil.o)(.text+0x148):profil.c: undefined > reference to `__errno' > > >How-To-Repeat: > > > >Fix: > > > >Release-Note: > >Audit-Trail: > >Unformatted: This happens when the mingw runtime is installed. It takes precedence over the proper libgmon.a which should be invoked by -pg. -- Tim Prince