[Committed] Fix libobjc again (this time for darwin)

Dominique Dhumieres dominiq@lps.ens.fr
Sat Jun 2 22:42:00 GMT 2007


> > Does this explain why I have now libobjc.2.dylib and not libobjc-gnu.2.dylib?

> Yes, this explains that part.

Does it also explain the following failures of the testsuite:

FAIL: objc.dg/bitfield-1.m (test for excess errors)
FAIL: objc.dg/call-super-1.m (test for excess errors)
FAIL: objc.dg/call-super-3.m (test for excess errors)
FAIL: objc.dg/category-1.m (test for excess errors)
FAIL: objc.dg/const-str-3.m (test for excess errors)
FAIL: objc.dg/const-str-7.m (test for excess errors)
FAIL: objc.dg/const-str-8.m (test for excess errors)
FAIL: objc.dg/defs.m (test for excess errors)
FAIL: objc.dg/desig-init-1.m (test for excess errors)
FAIL: objc.dg/encode-2.m (test for excess errors)
FAIL: objc.dg/encode-3.m (test for excess errors)
FAIL: objc.dg/encode-4.m (test for excess errors)
FAIL: objc.dg/fix-and-continue-1.m (test for excess errors)
FAIL: objc.dg/func-ptr-1.m (test for excess errors)
FAIL: objc.dg/func-ptr-2.m (test for excess errors)
FAIL: objc.dg/lookup-1.m (test for excess errors)
FAIL: objc.dg/method-10.m (test for excess errors)
FAIL: objc.dg/method-13.m (test for excess errors)
FAIL: objc.dg/method-3.m (test for excess errors)
FAIL: objc.dg/proto-lossage-3.m (test for excess errors)
FAIL: objc.dg/proto-qual-1.m (test for excess errors)
FAIL: objc.dg/sizeof-1.m (test for excess errors)
FAIL: objc.dg/stret-1.m (test for excess errors)
FAIL: objc.dg/super-class-3.m (test for excess errors)
FAIL: objc.dg/type-size-2.m (test for excess errors)
FAIL: objc.dg/va-meth-1.m (test for excess errors)
FAIL: objc.dg/zero-link-3.m (test for excess errors)
FAIL: objc.dg/special/unclaimed-category-1.m unclaimed-category-1a.o (test for excess errors)

		=== objc Summary ===

# of expected passes            1754
# of unexpected failures        28
# of unsupported tests          1
/sw/lib/gcc4/bin/gcc  version 4.3.0 20070601 (experimental)

The failures seem due to missing symbols (note that I have a symbolic link:
/sw/lib/gcc4/lib/libobjc-gnu.dylib -> libobjc.2.dylib)

FAIL: objc.dg/bitfield-1.m (test for excess errors)
FAIL: objc.dg/va-meth-1.m (test for excess errors)
FAIL: objc.dg/func-ptr-2.m (test for excess errors)
FAIL: objc.dg/method-10.m (test for excess errors)
FAIL: objc.dg/method-3.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
.objc_class_name_Object
_objc_msgSend

FAIL: objc.dg/call-super-1.m (test for excess errors)
FAIL: objc.dg/call-super-3.m (test for excess errors)
FAIL: objc.dg/category-1.m (test for excess errors)
FAIL: objc.dg/defs.m (test for excess errors)
FAIL: objc.dg/desig-init-1.m (test for excess errors)
FAIL: objc.dg/fix-and-continue-1.m (test for excess errors)
FAIL: objc.dg/func-ptr-1.m (test for excess errors)
FAIL: objc.dg/super-class-3.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
.objc_class_name_Object
_objc_msgSend
_objc_msgSendSuper

FAIL: objc.dg/const-str-3.m (test for excess errors)
FAIL: objc.dg/zero-link-3.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
.objc_class_name_Object
_objc_getClass
_objc_msgSend

FAIL: objc.dg/const-str-7.m (test for excess errors)
FAIL: objc.dg/const-str-8.m (test for excess errors)
FAIL: objc.dg/sizeof-1.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
.objc_class_name_Object

FAIL: objc.dg/encode-2.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
.objc_class_name_Object
_class_getInstanceMethod
_objc_getClass
_objc_msgSend

FAIL: objc.dg/encode-3.m (test for excess errors)
FAIL: objc.dg/proto-lossage-3.m (test for excess errors)
FAIL: objc.dg/proto-qual-1.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
.objc_class_name_Protocol
_objc_msgSend

FAIL: objc.dg/encode-4.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
.objc_class_name_Object
_objc_getClass

FAIL: objc.dg/lookup-1.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
.objc_class_name_Object
.objc_class_name_Protocol
_objc_msgSend

FAIL: objc.dg/method-13.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
_objc_getClass
_objc_msgSend

FAIL: objc.dg/stret-1.m (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
.objc_class_name_Object
_objc_msgSend
_objc_msgSendSuper_stret
_objc_msgSend_stret

FAIL: objc.dg/type-size-2.m (test for excess errors)Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
_class_getInstanceMethod
_objc_getClass

FAIL: objc.dg/special/unclaimed-category-1.m unclaimed-category-1a.o (test for excess errors)
Excess errors:
/sw/lib/odcctools/bin/ld: Undefined symbols:
_class_createInstance
_objc_getClass
_objc_msgSend

and is it known or should I fill a PR?

Thanks for the answer.

Dominique



More information about the Gcc-patches mailing list