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

Ziemowit Laski zlaski@apple.com
Mon Jan 26 22:27:00 GMT 2004


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



More information about the Gcc-patches mailing list