This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Tru64 UNIX V5.1] gcc testsuite fixes


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]