Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2005 12:24:16 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        David O'Brien <obrien@freebsd.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Attempted install of an Obj-C Foundation library
Message-ID:  <20050428192416.GA29332@xor.obsecurity.org>
In-Reply-To: <20050428192005.GA87545@dragon.NUXI.org>
References:  <BE92F389.38D8E%michael.hopkins@hopkins-research.com> <20050426170115.GB45067@dragon.NUXI.org> <20050426195809.1fb28305.flynn@energyhq.es.eu.org> <20050428152140.GB53068@dragon.NUXI.org> <20050428163450.GA79570@xor.obsecurity.org> <20050428192005.GA87545@dragon.NUXI.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCcThfWry0BWjoQKURAqm1AKDXkIO+VW+6YDc5kZFTLCnXirUKZQCfcAeS
8sxRh4sUeu2SB6FdPGH6PMw=
=P1bv
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050428192416.GA29332>