Attempted install of an Obj-C Foundation library

David O'Brien obrien at freebsd.org
Thu Apr 28 12:20:30 PDT 2005


On Thu, Apr 28, 2005 at 09:34:50AM -0700, Kris Kennaway wrote:
> On Thu, Apr 28, 2005 at 08:21:40AM -0700, David O'Brien wrote:
> > On Tue, Apr 26, 2005 at 07:58:09PM +0200, Miguel Mendez wrote:
> > > On Tue, 26 Apr 2005 10:01:15 -0700
> > > "David O'Brien" <obrien at freebsd.org> wrote:
> > > 
> > > > > I am trying to get a working Objective-C Foundation library on FreeBSD amd64
> > > > > (5.3-RELEASE-p10 with ports cvsup'd today) so that I can port some
> > > > > Objective-C code from Mac OS X - and not having any success.
> > > > ...
> > > > > ===>  gcc-objc-3.3.6_20050330 is marked as broken: Bus errors in stage2;
> > > > > system compiler may be broken..
> > > > > *** Error code 1
> > > > 
> > > > I must be missing something -- why cant you use the base ObjC compiler?
> > > 
> > > Seems gnustep-base needs "libgcc_s.so.1" which isn't anywhere in /usr/lib
> > 
> > That is the shared version of libgcc.a.  Why can't you use the static
> > version?
> 
> Presumably because it wants to link it to relocatable object files.
> In general amd64 (and ia64 and sparc64) needs a PIC version of every
> system library, which FreeBSD doesn't currently do.

Though we do have /usr/lib/libgcc_pic.a just for this case.

-- 
-- David  (obrien at FreeBSD.org)


More information about the freebsd-ports mailing list