Attempted install of an Obj-C Foundation library

Kris Kennaway kris at obsecurity.org
Thu Apr 28 12:24:17 PDT 2005


On Thu, Apr 28, 2005 at 12:20:05PM -0700, David O'Brien wrote:
> 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.

OK, that would probably solve this particular case.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20050428/eb4614d5/attachment.bin


More information about the freebsd-amd64 mailing list