From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 12 03:50:05 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0439716A468 for ; Thu, 12 Jul 2007 03:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id C211313C487 for ; Thu, 12 Jul 2007 03:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l6C3o4a6069599 for ; Thu, 12 Jul 2007 03:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l6C3o49j069596; Thu, 12 Jul 2007 03:50:04 GMT (envelope-from gnats) Resent-Date: Thu, 12 Jul 2007 03:50:04 GMT Resent-Message-Id: <200707120350.l6C3o49j069596@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Landon Fuller Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFD6016A469 for ; Thu, 12 Jul 2007 03:45:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id D13BD13C457 for ; Thu, 12 Jul 2007 03:45:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l6C3jQ2o047827 for ; Thu, 12 Jul 2007 03:45:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l6C3jQAA047825; Thu, 12 Jul 2007 03:45:26 GMT (envelope-from nobody) Message-Id: <200707120345.l6C3jQAA047825@www.freebsd.org> Date: Thu, 12 Jul 2007 03:45:26 GMT From: Landon Fuller To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: gnu/114517: Missing objc/objc-decls.h header X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 03:50:05 -0000 >Number: 114517 >Category: gnu >Synopsis: Missing objc/objc-decls.h header >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 12 03:50:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Landon Fuller >Release: FreeBSD 7.0-CURRENT i386 >Organization: Three Rings Design, Inc. >Environment: System: FreeBSD lfreebsd7.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jul 11 13:06:03 PDT 2007 root@lfreebsd7.localdomain:/usr/obj/usr/src/sys/GENERIC i386 >Description: GCC 4.2 includes a new Objective-C header, "objc-decls.h", that is not installed on 7.0-CURRENT. >How-To-Repeat: landonf@lfreebsd7:~> cat objc.m #include #include int main (int argc, const char *argv[]) { id class = objc_lookup_class("Object"); return 0; } landonf@lfreebsd7:~> gcc objc.m -o test -lobjc In file included from objc.m:2: /usr/include/objc/objc-api.h:33:24: error: objc-decls.h: No such file or directory >Fix: --- gnu/lib/libobjc/Makefile.orig 2007-07-11 20:36:28.000000000 -0700 +++ gnu/lib/libobjc/Makefile 2007-07-11 20:37:07.000000000 -0700 @@ -13,7 +13,7 @@ nil_method.c NXConstStr.m Object.m objects.c Protocol.m sarray.c \ selector.c sendmsg.c thr.c thr-objc.c exception.c -INCS= encoding.h hash.h objc-api.h objc-list.h objc.h runtime.h \ +INCS= encoding.h hash.h objc-api.h objc-decls.h objc-list.h objc.h runtime.h \ sarray.h thr.h typedstream.h NXConstStr.h Object.h Protocol.h INCSDIR=${INCLUDEDIR}/objc >Release-Note: >Audit-Trail: >Unformatted: