This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4/3.5 PATCH: Fix objc.dg/stret-1.m test failure on Solaris 2
- From: Ziemowit Laski <zlaski at apple dot com>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Jan 2004 14:09:37 -0800
- Subject: Re: 3.4/3.5 PATCH: Fix objc.dg/stret-1.m test failure on Solaris 2
- References: <16405.36390.368805.155590@xayide.TechFak.Uni-Bielefeld.DE>
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