From fn@hungry.com  Tue Jul 29 06:05:28 2003
Return-Path: <fn@hungry.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9EC4637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Jul 2003 06:05:28 -0700 (PDT)
Received: from terror.hungry.com (terror.hungry.com [199.181.107.40])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2B64C43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Jul 2003 06:05:28 -0700 (PDT)
	(envelope-from fn@hungry.com)
Received: from localhost (localhost [127.0.0.1])
  (uid 507)
  by terror.hungry.com with local; Tue, 29 Jul 2003 06:05:27 -0700
Message-Id: <courier.3F267117.0000456C@terror.hungry.com>
Date: Tue, 29 Jul 2003 06:05:27 -0700
From: Faried Nawaz <fn@hungry.com>
Reply-To: Faried Nawaz <fn@hungry.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gnustep-make shouldn't need gcc 3.2.3 on -current.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55013
>Category:       ports
>Synopsis:       gnustep-make shouldn't need gcc 3.2.3 on -current.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 29 06:10:11 PDT 2003
>Closed-Date:    Sun Oct 19 14:13:10 CEST 2003
>Last-Modified:  Sun Oct 19 14:13:10 CEST 2003
>Originator:     Faried Nawaz
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Hindenburg.  Titanic.  Edsel.  X windows.
>Environment:
System: FreeBSD pbox.cressoft.com.pk 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Jul 28 20:38:38 PKT 2003 fn@pbox.cressoft.com.pk:/usr/obj/usr/src/sys/pbox i386

>Description:

devel/gnustep-make depends on lang/gnustep-objc, which in turn needs
lang/gcc32.  This seems unnecessary on -current, now that the
system ships with 3.3.1.

/usr/src/gnu/lib/libobjc/Makefile has

NOPIC=  works but method lookup slowdown is significant

How much slower is it?  Probably the biggest objc framework
out there is GNUstep; if it and its apps use a shared libobjc,
either they run a lot slower than they should, or it's not a
large enough speed hit to be an issue.

>How-To-Repeat:

Read devel/gnustep-make/Makefile, devel/gnustep/bsd.gnustep.mk,
/usr/src/gnu/lib/libobjc/Makefile.  Try building gnustep.

>Fix:

ifdef out the CC/CXX defines in devel/gnustep/bsd.gnustep.mk for
-current, and create an objc shlib.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->	 dinoex  
Responsible-Changed-By: krion 
Responsible-Changed-When: Tue Jul 29 06:23:54 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55013 
State-Changed-From-To: open->analyzed 
State-Changed-By: dinoex 
State-Changed-When: Tue Jul 29 20:42:53 CEST 2003 
State-Changed-Why:  

Sorry the base compiler is not sufficent to run GNUstep. 
We need a fully shared lib and thread support. 

/usr/lib/libobjc.a does not work. 
see the PR#'s in base for this issue. 

# locate libobjc.so 
/usr/local/lib/gcc-lib/i386-portbld-freebsd5.1/3.2.3/libobjc.so 
/usr/local/lib/gcc-lib/i386-portbld-freebsd5.1/3.2.3/libobjc.so.1 


http://www.freebsd.org/cgi/query-pr.cgi?pr=55013 

From: Faried Nawaz <fn@hungry.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: dinoex@FreeBSD.org
Subject: Re: ports/55013: gnustep-make shouldn't need gcc3.2.3 on -current.
Date: Wed, 30 Jul 2003 10:27:22 +0500

 Can you point me to the pr(s) dealing with libobjc?  I've searched the pr
 database and the closest thing I could find was
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu/13438
 
 I was able to compile the code in the pr with a gcc 3.3.1 libobjc.so using
 
 cc -pthread *.m -lobjc
 
 I know gnustep needs a shared libobjc, but it appears that the system
 libobjc can do all that GNUstep needs if compiled as a shlib.  For what it's
 worth, I've been able to run
 
 make -DWITH_GNUSTEP_DEVEL test
 
 for lang/gnustep-base, and compile all apps other than
 Testing/gstcp-{server,client}.m.  When I run them, I get this:
 
 basic:        works for a while, then throws NSUnknownKeyException
 nsbundle:     works (have to copy Testing/LoadMe.bundle to lang/gnustep-base)
 nsconnection: works (just prints 42)
 nsdata:       works for a while, then throws NSRangeExceptions
 nsinvocation: core dumps after calling proxy
 nstimezone:   works
 string:       throws NSInvalidArgumentException
 
 These tests work without any (obvious) problems:
 
 awake, benchmark, call, containers, diningPhilosophers, fref, nsarchiver,
 nsarray, nsattributedstring, nscharacterset, nsconnection_client,
 nsconnection_serve, nsdate, nsdictionary, nsfilehandle, nsfilemanager,
 nshashtable, nshost, nsmaptable, nsnotification, nsprocessinfo, nsscanner,
 nsset, nstask, nstimer, release, thread, thread-except, values.
 
 A few apps think my timezone is UTC --
 
 2003-07-30 05:10:23.246 values[82458] No local time zone specified.
 2003-07-30 05:10:23.248 values[82458] Using time zone with absolute offset 0.
 
 Since the system objc doesn't have anything to do with that, I'm guessing
 that's a GNUstep issue.
 
 
 Faried.

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: freebsd-gnats-submit@FreeBSD.org, fn@hungry.com (Faried Nawaz)
Cc:  
Subject: Re: ports/55013: gnustep-make shouldn't need gcc3.2.3
	on -current.
Date: Sat, 02 Aug 2003 06:17:31 +0200

 Faried Nawaz schrieb:,
  
 > Can you point me to the pr(s) dealing with libobjc?  I've searched the pr
 > database and the closest thing I could find was
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu/13438
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/49081
 
 > I know gnustep needs a shared libobjc, but it appears that the system
 > libobjc can do all that GNUstep needs if compiled as a shlib.
 
 Yes any libobjc.so > 3.1 should be working.
 
 > Since the system objc doesn't have anything to do with that, I'm guessing
 > that's a GNUstep issue.
 
 Yes ...
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]
 - Tel. +49-5606-6512
 - Tel. +49-178-5678703
 - Fax  +49-5606-55023
State-Changed-From-To: analyzed->closed 
State-Changed-By: dinoex 
State-Changed-When: Sun Oct 19 14:12:13 CEST 2003 
State-Changed-Why:  
- New option GNUSTEP_WITH_BASE_GCC 

works only on i386, linking failes on alpha. 
So this is not default. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=55013 
>Unformatted:
