Running /test/gnu/gcc-3.3/gcc/gcc/testsuite/objc.dg/dg.exp ... FAIL: objc.dg/bitfield-1.m (test for excess errors) FAIL: objc.dg/bitfield-1.m execution test FAIL: objc.dg/bitfield-3.m (test for excess errors) FAIL: objc.dg/bitfield-3.m execution test FAIL: objc.dg/bitfield-5.m (test for excess errors) FAIL: objc.dg/bitfield-5.m execution test FAIL: objc.dg/call-super-1.m (test for excess errors) FAIL: objc.dg/call-super-1.m execution test FAIL: objc.dg/call-super-3.m (test for excess errors) FAIL: objc.dg/call-super-3.m execution test FAIL: objc.dg/category-1.m (test for excess errors) FAIL: objc.dg/category-1.m execution test FAIL: objc.dg/defs.m (test for excess errors) FAIL: objc.dg/defs.m execution test FAIL: objc.dg/desig-init-1.m (test for excess errors) FAIL: objc.dg/desig-init-1.m execution test FAIL: objc.dg/encode-1.m (test for excess errors) FAIL: objc.dg/encode-1.m execution test FAIL: objc.dg/encode-2.m (test for excess errors) FAIL: objc.dg/encode-2.m execution test FAIL: objc.dg/encode-3.m (test for excess errors) FAIL: objc.dg/encode-3.m execution test FAIL: objc.dg/encode-4.m (test for excess errors) FAIL: objc.dg/encode-4.m execution test FAIL: objc.dg/func-ptr-1.m (test for excess errors) FAIL: objc.dg/func-ptr-1.m execution test FAIL: objc.dg/func-ptr-2.m (test for excess errors) FAIL: objc.dg/func-ptr-2.m execution test FAIL: objc.dg/method-10.m (test for excess errors) FAIL: objc.dg/method-10.m execution test FAIL: objc.dg/method-13.m (test for excess errors) FAIL: objc.dg/method-13.m execution test FAIL: objc.dg/method-3.m (test for excess errors) FAIL: objc.dg/method-3.m execution test FAIL: objc.dg/proto-lossage-3.m (test for excess errors) FAIL: objc.dg/proto-lossage-3.m execution test FAIL: objc.dg/proto-qual-1.m (test for excess errors) FAIL: objc.dg/proto-qual-1.m execution test FAIL: objc.dg/sizeof-1.m (test for excess errors) FAIL: objc.dg/sizeof-1.m execution test FAIL: objc.dg/stret-1.m (test for excess errors) FAIL: objc.dg/stret-1.m execution test FAIL: objc.dg/super-class-3.m (test for excess errors) FAIL: objc.dg/super-class-3.m execution test FAIL: objc.dg/type-size-2.m (test for excess errors) FAIL: objc.dg/type-size-2.m execution test FAIL: objc.dg/type-stream-1.m (test for excess errors) FAIL: objc.dg/type-stream-1.m execution test FAIL: objc.dg/va-meth-1.m (test for excess errors) FAIL: objc.dg/va-meth-1.m execution test Running /test/gnu/gcc-3.3/gcc/gcc/testsuite/objc.dg/special/special.exp ... FAIL: objc.dg/special/unclaimed-category-1.m unclaimed-category-1a.o (test for e xcess errors) FAIL: objc.dg/special/unclaimed-category-1.m unclaimed-category-1a.o execution t est
Executing on host: /test/gnu/gcc-3.3/objdir/gcc/xgcc -B/test/gnu/gcc-3.3/objdir/ gcc/ /test/gnu/gcc-3.3/gcc/gcc/testsuite/objc.dg/bitfield-1.m -I/test/gnu/gcc -3.3/gcc/gcc/testsuite/../../libobjc -L/test/gnu/gcc-3.3/objdir/hppa64-hp-hpux11 .11/./libobjc/.libs -lobjc -lm -o ./bitfield-1.exe (timeout = 300) ld: (Warning) Unsatisfied symbol "pthread_create" in file /test/gnu/gcc-3.3/objd ir/hppa64-hp-hpux11.11/./libobjc/.libs/libobjc.sl ld: (Warning) Unsatisfied symbol "pthread_attr_init" in file /test/gnu/gcc-3.3/o bjdir/hppa64-hp-hpux11.11/./libobjc/.libs/libobjc.sl 2 warnings. Symbols from /test/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/./libobjc/.libs/libobj c.sl.1: [Index] Value Size Type Bind O Shndx Name ... [742] | 0| 0|FUNC |GLOB |0| UNDEF|pthread_attr_in ... [593] | 0| 0|FUNC |GLOB |0| UNDEF|pthread_create We have in sys/pthread.h: #ifdef __lint extern int pthread_attr_init(pthread_attr_t *); #else /* ! __lint */ extern int __pthread_attr_init_system(pthread_attr_t *attr); #ifdef __cplusplus inline int pthread_attr_init( #else /* !__cplusplus */ static int pthread_attr_init( #endif /* !__cplusplus */ pthread_attr_t *attr) { return(__pthread_attr_init_system(attr)); } #endif /* ! __lint */ and #ifdef __lint extern int pthread_create(pthread_t *tid, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg); #else /* ! __lint */ extern int __pthread_create_system(pthread_t *tid, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg); #ifdef __cplusplus inline int pthread_create( #else /* !__cplusplus */ static int pthread_create( #endif /* !__cplusplus */ pthread_t *tid, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) { return(__pthread_create_system(tid, attr, start_routine, arg)); } #endif /* ! __lint */ Thus, these routines should never be needed if the sys/pthread.h is included. -- Summary: libobjc testsuite failures Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libobjc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa64-hp-hpux11.11 GCC host triplet: hppa64-hp-hpux11.11 GCC target triplet: hppa64-hp-hpux11.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24829