Attempted install of an Obj-C Foundation library

Michael Hopkins michael.hopkins at
Tue Apr 26 10:12:16 PDT 2005

On 26/4/05 6:01 pm, "David O'Brien" <obrien at> wrote:

> On Mon, Apr 25, 2005 at 07:20:41PM +0100, Michael Hopkins wrote:
>> Hi all
>> 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?

Hi David

I am not trying to avoid that.  This just happens when you try to build
gnustep-base from ports unless you specify GCC34 explicitly.

I think I have now discovered the problem, though not the solution.  This is
a section of a mail I sent earlier:

It looks like this earlier error might have something to do with the problem
linking to libgnustepbase that causes the builds to die later on.
/usr/bin/ld: /usr/local/lib/libcallback.a(misc.o): relocation R_X86_64_32
can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libcallback.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

Do you know anything about this? I believe it is something to do with shared
libraries on amd64 but I'm not sure what I am able do about it.



        _/    _/   _/_/_/             Hopkins Research Ltd
       _/    _/   _/    _/
      _/_/_/_/   _/_/_/
     _/    _/   _/   _/
    _/    _/   _/     _/               'touch the future'

More information about the freebsd-amd64 mailing list