From owner-freebsd-amd64@FreeBSD.ORG Tue Apr 11 19:43:50 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org 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 AB82016A436 for ; Tue, 11 Apr 2006 19:43:50 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.FreeBSD.org (Postfix) with SMTP id B8C3F43D49 for ; Tue, 11 Apr 2006 19:43:47 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 75358 invoked from network); 11 Apr 2006 19:43:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=vI8DFpd+CAJNP2qWENG8TzszBwnKgpsyxfwmvHL27NTbnnoLdZidZOpNejDGSVRFMZoPWZJn6wddP3x3R87xfmhNS8FL5WzoUkNvSYrGa6KflvHkIEmyHT31SuBVjB8Gc/8AyCBznd/F+jXtmdrjU8coxZ+I4Bh6182kdW4gn/w= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 11 Apr 2006 19:43:46 -0000 Message-ID: <443C071E.8010809@rogers.com> Date: Tue, 11 Apr 2006 15:44:30 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Marc G. Fournier" References: <20060410235910.F1096@ganymede.hub.org> <20060411002924.E1096@ganymede.hub.org> In-Reply-To: <20060411002924.E1096@ganymede.hub.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: relocation R_X86_64_32 can not be used (Was: Re: (no subject)) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 11 Apr 2006 19:43:50 -0000 Marc G. Fournier wrote: >> ===> Building for resin-2.1.17_1 >> (cd src/c/plugin; make) >> for dir in common apache2; do (cd $dir; make); done >> cc -c -I/usr/include -O2 -fno-strict-aliasing -pipe -DNO_IDEA stream.c >> stream.c: In function `select_host': >> stream.c:1103: warning: cast from pointer to integer of different size >> cc -c -I/usr/include -O2 -fno-strict-aliasing -pipe -DNO_IDEA >> registry.c >> cc -c -I/usr/include -O2 -fno-strict-aliasing -pipe -DNO_IDEA config.c >> cc -c -I/usr/include -O2 -fno-strict-aliasing -pipe -DNO_IDEA memory.c >> cc -shared -o common.o stream.o registry.o config.o memory.o >> /usr/bin/ld: stream.o: relocation R_X86_64_32 can not be used when >> making a shared object; recompile with -fPIC Has everyone gone blind? :P ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> stream.o: could not read symbols: Bad value >> *** Error code 1 >> >> I get the same issue with Resin3 (would rather 3, just figured I'd >> see if 2 made a difference) ... Recompile with -fPIC on amd64.