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]
Other format: [Raw text]

Re: 3.4/3.5 PATCH: Fix objc.dg/stret-1.m test failure on Solaris 2



On 26 Jan, 2004, at 14.01, Rainer Orth wrote:


The Objective-C testcase objc.dg/stret-1.m used to fail on Solaris 2 (both
SPARC and x86):


FAIL: objc.dg/stret-1.m (test for excess errors)
Excess errors:
ld: warning: symbol `glob' has differing types:
(file /var/tmp//ccgPFE5F.o type=OBJT; file /usr/lib/libc.so type=FUNC);
/var/tmp//ccgPFE5F.o definition taken
ld: warning: symbol `glob' has differing types:
(file /var/tmp//ccgPFE5F.o type=OBJT; file /usr/lib/libc.so type=FUNC);


The following trivial patch avoids this conflict with glob(3C) and lets the
testcase pass on both architectures, both mainline and 3.4 branch?


Ok to install?

Yes, please go ahead.


--Zem
--------------------------------------------------------------
Ziemowit Laski                 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group        Cupertino, CA USA  95014-2083
Apple Computer, Inc.           +1.408.974.6229  Fax .5477


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