NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/37966: libobjc on NetBSD 4.0 only single threaded



On Tuesday 05 February 2008 22:25:00 dave%turbocat.de@localhost 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
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


Home | Main Index | Thread Index | Old Index