From owner-freebsd-amd64@FreeBSD.ORG Tue Apr 26 12:08:54 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B78A516A4CE for ; Tue, 26 Apr 2005 12:08:54 +0000 (GMT) Received: from neon.webfusion.co.uk (neon.webfusion.co.uk [212.67.202.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B4A43D2D for ; Tue, 26 Apr 2005 12:08:54 +0000 (GMT) (envelope-from michael.hopkins@hopkins-research.com) Received: from 83-216-132-201.markch725.adsl.metronet.co.uk ([83.216.132.201] helo=[192.168.0.5]) by neon.webfusion.co.uk with asmtp (Exim 3.36 #1) id 1DQOQM-0002os-00 for freebsd-amd64@freebsd.org; Tue, 26 Apr 2005 12:40:18 +0100 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Tue, 26 Apr 2005 12:40:15 +0100 From: Michael Hopkins To: "freebsd-amd64@freebsd.org" Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: gnustep-base linker error on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 12:08:54 -0000 Hi all The gnustep-base build will not complete because of this error: --------------------------------------- /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 --------------------------------------- I believe it is something to do with shared libraries on amd64 but I'm not sure what I can do about it. Does adding -fPIC somewhere (i.e. in /etc/make.conf or the makefile) produce a solution? I don't want to experiment before someone who knows more has given me some guidance here. TIA Michael _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ _/_/_/ Hopkins Research Ltd _/ _/ _/ _/ _/_/_/_/ _/_/_/ http://www.hopkins-research.com/ _/ _/ _/ _/ _/ _/ _/ _/ 'touch the future' _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/