Date: Tue, 26 Apr 2005 18:12:12 +0100 From: Michael Hopkins <michael.hopkins@hopkins-research.com> To: <"freebsd-amd64@freebsd.org, freebsd-ports"@freebsd.org> Subject: Re: Attempted install of an Obj-C Foundation library Message-ID: <BE9434FC.38F8E%michael.hopkins@hopkins-research.com> In-Reply-To: <20050426170115.GB45067@dragon.NUXI.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26/4/05 6:01 pm, "David O'Brien" <obrien@freebsd.org> 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. Michael _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ _/_/_/ Hopkins Research Ltd _/ _/ _/ _/ _/_/_/_/ _/_/_/ http://www.hopkins-research.com/ _/ _/ _/ _/ _/ _/ _/ _/ 'touch the future' _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE9434FC.38F8E%michael.hopkins>