NetBSD Problem Report #37966

From dave@turbocat.de  Tue Feb  5 22:23:59 2008
Return-Path: <dave@turbocat.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7A4AD63B853
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  5 Feb 2008 22:23:59 +0000 (UTC)
Message-Id: <20080205222352.6F7701EAE38C@alice.turbocat.de>
Date: Tue,  5 Feb 2008 23:23:52 +0100 (CET)
From: dave@turbocat.de
Reply-To: dave@turbocat.de
To: gnats-bugs@gnats.NetBSD.org
Subject: libobjc on NetBSD 4.0 only single threaded
X-Send-Pr-Version: 3.95

>Number:         37966
>Category:       toolchain
>Synopsis:       libobjc on NetBSD 4.0 only single threaded
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    mrg
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 05 22:25:00 +0000 2008
>Closed-Date:    Tue Nov 18 02:08:07 +0000 2008
>Last-Modified:  Tue Nov 18 02:08:07 +0000 2008
>Originator:     David Wetzel
>Release:        NetBSD 4.0
>Organization:

>Environment:


System: NetBSD netra.turbocat.de 4.0 NetBSD 4.0
Architecture: sparc64
Machine: sparc64
>Description:
        libobjc on NetBSD 4.0 only single threaded
        This stops any Objective-C program to work with multiple threads if the runtime is used.
>How-To-Repeat:
Makefile: -------------------------------------------
all: threadtest

threadtest: main.m
        gcc -ggdb -o threadtest main.m -lobjc -pthread

clean:
        rm -f threadtest *~
-------------------------------------------
main.m:
#include <stdio.h>
#include <unistd.h>

#include <objc/objc.h>
#include <objc/objc-api.h>
#include <objc/Object.h>

@interface MyClass : Object
{
  char *myName;
}
-(void)setMyName:(char *)n;
-(char *)myName;
@end

@implementation MyClass
-(void)setMyName:(char *)n
{
  size_t len;
  if (myName) {
    if (strcmp(myName,n)) return;
    objc_free(myName);
  }
  len = strlen(n)+1;
  myName = objc_malloc(len);
  strcpy(myName,n);
}
-(char *)myName
{
  return myName;
}
-(void)start
{
  printf("detached thread started!\n");
}
@end

static void
becomeMultiThreaded(void)
{
  printf("becomming multihreaded!\n");
}

int
main(int argc, char *argv[])
{
  id o = [MyClass new];
  char *c;
  objc_thread_callback cb;
  objc_thread_t rv;

  [o setMyName:"thread"];
  c = [o myName];

  printf("Testing: %s\n",c);

  cb = objc_set_thread_callback(becomeMultiThreaded);
  printf("Old Callback: %p\n",cb);

  rv = objc_thread_detach(@selector(start), o, nil);
  printf("detach value: %p\n",rv);

  sleep(1);

  return 0;
}
-------------------------------------

make and run the program.

Fail looks like:

dave@netra>./threadtest 
Testing: thread
Old Callback: 0x0
detach value: 0x0

dave@netra>uname -rms
NetBSD 4.0 sparc64

Success looks like:

dave@alice>./threadtest 
Testing: thread
Old Callback: 0x0
detach value: 0xbb000000
becomming multihreaded!
detached thread started!

dave@alice>uname -rms
NetBSD 3.1 i386

>Fix:

The fix for i386 is appended. The fix for the other platforms is similar
Index: defs.mk
===================================================================
RCS file: /cvsroot/src/gnu/lib/libobjc4/defs.mk,v
retrieving revision 1.4
diff -u -u -r1.4 defs.mk
--- defs.mk	18 May 2006 18:43:37 -0000	1.4
+++ defs.mk	6 Feb 2008 03:53:56 -0000
@@ -2,7 +2,7 @@
 # Generated from: 	NetBSD: mknative-gcc,v 1.17 2006/05/15 22:03:03 mrg Exp 
 # and from: NetBSD: mknative.common,v 1.7 2006/05/17 03:27:19 mrg Exp 
 #
-G_ALL_CFLAGS=-I. -I${GNUHOSTDIST}/libobjc   -O2   -W -Wall -Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing -fexceptions
+G_ALL_CFLAGS=-I. -I${GNUHOSTDIST}/libobjc   -O2   -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing -fexceptions
 G_INCLUDES=-I${GNUHOSTDIST}/libobjc/objc  -I${GNUHOSTDIST}/libobjc/../gcc -I${GNUHOSTDIST}/libobjc/../gcc/config -I../.././gcc -I${GNUHOSTDIST}/libobjc/../include
 G_OBJS=archive.lo class.lo encoding.lo gc.lo hash.lo init.lo linking.lo misc.lo nil_method.lo NXConstStr.lo Object.lo objects.lo Protocol.lo sarray.lo selector.lo sendmsg.lo thr.lo thr-objc.lo exception.lo hash_compat.lo
 G_OBJC_H=hash.h objc-list.h sarray.h objc.h objc-api.h NXConstStr.h Object.h Protocol.h encoding.h typedstream.h thr.h objc-decls.h
Index: arch/i386/defs.mk
===================================================================
RCS file: /cvsroot/src/gnu/lib/libobjc4/arch/i386/defs.mk,v
retrieving revision 1.2
diff -u -u -r1.2 defs.mk
--- arch/i386/defs.mk	2 Jul 2006 01:26:32 -0000	1.2
+++ arch/i386/defs.mk	6 Feb 2008 03:53:56 -0000
@@ -3,7 +3,7 @@
 # Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp 
 #
 G_ALL_OPT_FILES=${GNUHOSTDIST}/gcc/c.opt ${GNUHOSTDIST}/gcc/common.opt ${GNUHOSTDIST}/gcc/config/i386/i386.opt
-G_ALL_CFLAGS=-I. -I${GNUHOSTDIST}/libobjc   -O2   -W -Wall -Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing -fexceptions
+G_ALL_CFLAGS=-I. -I${GNUHOSTDIST}/libobjc   -O2   -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing -fexceptions
 G_INCLUDES=-I${GNUHOSTDIST}/libobjc/objc  -I${GNUHOSTDIST}/libobjc/../gcc -I${GNUHOSTDIST}/libobjc/../gcc/config -I../.././gcc -I${GNUHOSTDIST}/libobjc/../include
 G_OBJS=archive.lo class.lo encoding.lo gc.lo hash.lo init.lo linking.lo misc.lo nil_method.lo NXConstStr.lo Object.lo objects.lo Protocol.lo sarray.lo selector.lo sendmsg.lo thr.lo thr-objc.lo exception.lo hash_compat.lo
 G_OBJC_H=hash.h objc-list.h sarray.h objc.h objc-api.h NXConstStr.h Object.h Protocol.h encoding.h typedstream.h thr.h objc-decls.h


>Release-Note:

>Audit-Trail:
Responsible-Changed-From-To: toolchain-manager->mrg
Responsible-Changed-By: christos@narn.netbsd.org
Responsible-Changed-When: Tue, 05 Feb 2008 22:56:36 -0500
Responsible-Changed-Why:
mrg is mr mknative


State-Changed-From-To: open->analyzed
State-Changed-By: christos@narn.netbsd.org
State-Changed-When: Tue, 05 Feb 2008 22:56:36 -0500
State-Changed-Why:
we know what's wrong


From: Nick Hudson <nick.hudson@dsl.pipex.com>
To: gnats-bugs@netbsd.org
Cc: toolchain-manager@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, Christos Zoulas <christos@astron.com>
Subject: Re: toolchain/37966: libobjc on NetBSD 4.0 only single threaded
Date: Fri, 8 Feb 2008 11:25:52 +0000

 --Boundary-00=_BxDrHXCtU2EKwmI
 Content-Type: text/plain;
   charset="iso-8859-6"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline

 On Tuesday 05 February 2008 22:25:00 dave@turbocat.de wrote:
 > >Number:         37966
 > >Category:       toolchain
 > >Synopsis:       libobjc on NetBSD 4.0 only single threaded

 Hi,

 It appears that the reachover Makefiles and mknative aren't picking the right 
 config.h.

 Here are my the fixes for i386. Can you confirm they work for you, please?

 Thanks,
 Nick

 --Boundary-00=_BxDrHXCtU2EKwmI
 Content-Type: text/x-diff;
   charset="iso-8859-6";
   name="libobjc.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="libobjc.diff"

 Index: gnu/lib/libobjc4/Makefile
 ===================================================================
 RCS file: /cvsroot/src/gnu/lib/libobjc4/Makefile,v
 retrieving revision 1.9
 diff -u -p -u -r1.9 Makefile
 --- gnu/lib/libobjc4/Makefile	9 Nov 2006 20:07:15 -0000	1.9
 +++ gnu/lib/libobjc4/Makefile	8 Feb 2008 11:19:24 -0000
 @@ -34,7 +34,8 @@ GCCLIBXX=	${NETBSDSRCDIR}/gnu/lib/libstd
  SRCS=		${G_OBJS:N[A-Z]*:Nlinking.lo:.lo=.c} ${G_OBJS:M[A-Z]*:.lo=.m} linking.m

  GCPPFLAGS=	${G_ALL_CFLAGS} ${G_INCLUDES}
 -CPPFLAGS+=	-I. -I${GCCARCH} ${GCPPFLAGS:M-D*} ${GCPPFLAGS:M-I*:N-I.*}
 +CPPFLAGS+=	-I. -I${.CURDIR}/arch/${MACHINE_ARCH}
 +CPPFLAGS+=	-I${GCCARCH} ${GCPPFLAGS:M-D*} ${GCPPFLAGS:M-I*:N-I.*}
  CPPFLAGS+=	-I${GCCLIBXX}

  BUILDSYMLINKS=	${.CURDIR}/../libstdc++-v3_4/arch/${MACHINE_ARCH} bits
 Index: gnu/lib/libobjc4/arch/i386/config.h
 ===================================================================
 RCS file: gnu/lib/libobjc4/arch/i386/config.h
 diff -N gnu/lib/libobjc4/arch/i386/config.h
 --- /dev/null	1 Jan 1970 00:00:00 -0000
 +++ gnu/lib/libobjc4/arch/i386/config.h	8 Feb 2008 11:19:24 -0000
 @@ -0,0 +1,63 @@
 +/* This file is automatically generated.  DO NOT EDIT! */
 +/* Generated from: 	NetBSD: mknative-gcc,v 1.22 2006/06/25 03:06:15 mrg Exp  */
 +/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
 +
 +/* config.h.  Generated by configure.  */
 +/* config.h.in.  Generated from configure.ac by autoheader.  */
 +
 +/* Define if the compiler has a thread header that is non single. */
 +#define HAVE_GTHR_DEFAULT 1
 +
 +/* Define to 1 if you have the <inttypes.h> header file. */
 +#define HAVE_INTTYPES_H 1
 +
 +/* Define to 1 if you have the <memory.h> header file. */
 +#define HAVE_MEMORY_H 1
 +
 +/* Define to 1 if you have the <sched.h> header file. */
 +#define HAVE_SCHED_H 1
 +
 +/* Define to 1 if you have the <stdint.h> header file. */
 +#define HAVE_STDINT_H 1
 +
 +/* Define to 1 if you have the <stdlib.h> header file. */
 +#define HAVE_STDLIB_H 1
 +
 +/* Define to 1 if you have the <strings.h> header file. */
 +#define HAVE_STRINGS_H 1
 +
 +/* Define to 1 if you have the <string.h> header file. */
 +#define HAVE_STRING_H 1
 +
 +/* Define to 1 if you have the <sys/stat.h> header file. */
 +#define HAVE_SYS_STAT_H 1
 +
 +/* Define to 1 if you have the <sys/types.h> header file. */
 +#define HAVE_SYS_TYPES_H 1
 +
 +/* Define to 1 if you have the <unistd.h> header file. */
 +#define HAVE_UNISTD_H 1
 +
 +/* Define to 1 if your C compiler doesn't accept -c and -o together. */
 +/* #undef NO_MINUS_C_MINUS_O */
 +
 +/* Define to the address where bug reports for this package should be sent. */
 +#define PACKAGE_BUGREPORT ""
 +
 +/* Define to the full name of this package. */
 +#define PACKAGE_NAME "package-unused"
 +
 +/* Define to the full name and version of this package. */
 +#define PACKAGE_STRING "package-unused version-unused"
 +
 +/* Define to the one symbol short name of this package. */
 +#define PACKAGE_TARNAME "libobjc"
 +
 +/* Define to the version of this package. */
 +#define PACKAGE_VERSION "version-unused"
 +
 +/* Define if the compiler is configured for setjmp/longjmp exceptions. */
 +/* #undef SJLJ_EXCEPTIONS */
 +
 +/* Define to 1 if you have the ANSI C header files. */
 +#define STDC_HEADERS 1

 --Boundary-00=_BxDrHXCtU2EKwmI--

From: matthew green <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37966 CVS commit: src/gnu
Date: Sat,  9 Feb 2008 01:03:39 +0000 (UTC)

 Module Name:	src
 Committed By:	mrg
 Date:		Sat Feb  9 01:03:39 UTC 2008

 Modified Files:
 	src/gnu/lib/libobjc4: Makefile
 	src/gnu/usr.bin/gcc4/libiberty: defs.mk
 Added Files:
 	src/gnu/lib/libobjc4/arch/alpha: config.h
 	src/gnu/lib/libobjc4/arch/arm: config.h
 	src/gnu/lib/libobjc4/arch/armeb: config.h
 	src/gnu/lib/libobjc4/arch/hppa: config.h
 	src/gnu/lib/libobjc4/arch/i386: config.h
 	src/gnu/lib/libobjc4/arch/m68000: config.h
 	src/gnu/lib/libobjc4/arch/m68k: config.h
 	src/gnu/lib/libobjc4/arch/mipseb: config.h
 	src/gnu/lib/libobjc4/arch/mipsel: config.h
 	src/gnu/lib/libobjc4/arch/powerpc: config.h
 	src/gnu/lib/libobjc4/arch/powerpc64: config.h
 	src/gnu/lib/libobjc4/arch/sh3eb: config.h
 	src/gnu/lib/libobjc4/arch/sh3el: config.h
 	src/gnu/lib/libobjc4/arch/sparc: config.h
 	src/gnu/lib/libobjc4/arch/sparc64: config.h
 	src/gnu/lib/libobjc4/arch/vax: config.h
 	src/gnu/lib/libobjc4/arch/x86_64: config.h

 Log Message:
 regenerate all mknative-gcc files after skrll@'s fix to grab the
 objc config.h.  use this config.h in libobjc4.

 this should address PR 37966, for -current.


 To generate a diff of this commit:
 cvs rdiff -r1.9 -r1.10 src/gnu/lib/libobjc4/Makefile
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/alpha/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/arm/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/armeb/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/hppa/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/i386/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/m68000/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/m68k/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/mipseb/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/mipsel/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/powerpc/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/powerpc64/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/sh3eb/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/sh3el/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/sparc/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/sparc64/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/vax/config.h
 cvs rdiff -r0 -r1.1 src/gnu/lib/libobjc4/arch/x86_64/config.h
 cvs rdiff -r1.8 -r1.9 src/gnu/usr.bin/gcc4/libiberty/defs.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: analyzed->pending-pullups
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sat, 08 Nov 2008 04:16:57 +0000
State-Changed-Why:
this has been fixed in -current (well before netbsd-5) and pullups have
been submitted for netbsd-4 (finally.)

i will close this when the pullups have been executed.

thanks!


From: David Wetzel <dave@turbocat.de>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>,
 "mrg@netbsd.org" <mrg@netbsd.org>
Cc: 
Subject: Re: toolchain/37966 (libobjc on NetBSD 4.0 only single threaded)
Date: Sat, 8 Nov 2008 09:32:58 +0100

 Hi

 Does this mean 4.1 does not include the fix?

 Thanks

 David

 Von meinem iPod gesendet

 Am 08.11.2008 um 05:16 schrieb mrg@NetBSD.org:

 > Synopsis: libobjc on NetBSD 4.0 only single threaded
 >
 > State-Changed-From-To: analyzed->pending-pullups
 > State-Changed-By: mrg@NetBSD.org
 > State-Changed-When: Sat, 08 Nov 2008 04:16:57 +0000
 > State-Changed-Why:
 > this has been fixed in -current (well before netbsd-5) and pullups  
 > have
 > been submitted for netbsd-4 (finally.)
 >
 > i will close this when the pullups have been executed.
 >
 > thanks!
 >
 >
 >
 >

From: matthew green <mrg@eterna.com.au>
To: David Wetzel <dave@turbocat.de>
Cc: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
Subject: re: toolchain/37966 (libobjc on NetBSD 4.0 only single threaded) 
Date: Sun, 09 Nov 2008 15:22:35 +1100


    Does this mean 4.1 does not include the fix?


 i do not know the plans for netbsd 4.1, but if the pullups are
 done soon then i expect it will be there.


 .mrg.

From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37966 CVS commit: [netbsd-4] src/gnu/lib/libobjc4
Date: Tue, 18 Nov 2008 01:07:18 +0000 (UTC)

 Module Name:	src
 Committed By:	snj
 Date:		Tue Nov 18 01:07:18 UTC 2008

 Modified Files:
 	src/gnu/lib/libobjc4 [netbsd-4]: Makefile
 Added Files:
 	src/gnu/lib/libobjc4/arch/alpha [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/arm [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/armeb [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/hppa [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/i386 [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/m68000 [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/m68k [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/mipseb [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/mipsel [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/powerpc [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/sh3eb [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/sh3el [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/sparc [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/sparc64 [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/vax [netbsd-4]: config.h
 	src/gnu/lib/libobjc4/arch/x86_64 [netbsd-4]: config.h

 Log Message:
 Pull up following revision(s) (requested by mrg in ticket #1230):
 	gnu/lib/libobjc4/Makefile: revision 1.10 via patch
 	gnu/lib/libobjc4/arch/alpha/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/arm/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/armeb/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/hppa/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/i386/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/m68000/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/m68k/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/mipseb/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/mipsel/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/powerpc/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/sh3eb/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/sh3el/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/sparc/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/sparc64/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/vax/config.h: 1.1 via patch
 	gnu/lib/libobjc4/arch/x86_64/config.h: 1.1 via patch
 regenerate all mknative-gcc files after skrll@'s fix to grab the objc
 config.h.  use this config.h in libobjc4.
 this should address PR 37966.


 To generate a diff of this commit:
 cvs rdiff -r1.9 -r1.9.2.1 src/gnu/lib/libobjc4/Makefile
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/alpha/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/arm/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/armeb/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/hppa/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/i386/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/m68000/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/m68k/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/mipseb/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/mipsel/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/powerpc/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/sh3eb/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/sh3el/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/sparc/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/sparc64/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/vax/config.h
 cvs rdiff -r0 -r1.1.14.2 src/gnu/lib/libobjc4/arch/x86_64/config.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Tue, 18 Nov 2008 02:08:07 +0000
State-Changed-Why:
pulled up to netbsd-4.  thanks.


>Unformatted:

 Basically the mknative script should add -DHAVE_GTHR_DEFAULT to the build
 for all platforms.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.