This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: target/7940: Test gcc.dg/nest.c fails on cygwin
- From: Tim Prince <tprince at computer dot org>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 1 Oct 2002 06:46:01 -0000
- Subject: Re: target/7940: Test gcc.dg/nest.c fails on cygwin
- Reply-to: Tim Prince <tprince at computer dot org>
The following reply was made to PR target/7940; it has been noted by GNATS.
From: Tim Prince <tprince@computer.org>
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