This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Tru64 UNIX V5.1] gcc testsuite fixes
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Subject: Re: [Tru64 UNIX V5.1] gcc testsuite fixes
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Fri, 2 Mar 2001 16:42:12 +1100
- Cc: gcc-patches at gcc dot gnu dot org
- References: <15005.24735.909857.224750@xayide.TechFak.Uni-Bielefeld.DE> <20010301150654.A23020@hg.cs.mu.oz.au> <15006.42904.365328.734532@xayide.TechFak.Uni-Bielefeld.DE>
On 01-Mar-2001, Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> wrote:
>
> > On 28-Feb-2001, Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> wrote:
> > > In gcc.log, I find that compilation fails with a linker error:
> > >
> > > /usr/bin/ld:
> > > Warning: nan defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
> >
> > That's only a warning. Does the link really fail?
>
> No, but as Richard said, the warning causes dejagnu to consider the
> compilation to have FAILed.
Ah, I see.
The implementation is doing the right thing here. The warning is reasonable.
Dejagnu failing is also reasonable, I guess. After all if the linker is
issuing spurious warning messages, we'd like to know about it.
So I think modifying the test case to eliminate the warning is probably the
right to do after all.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.