From owner-freebsd-amd64@FreeBSD.ORG Tue Apr 11 03:30:09 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 3A14316A403; Tue, 11 Apr 2006 03:30:09 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FB3D43D48; Tue, 11 Apr 2006 03:30:08 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 9ACE362CA79; Tue, 11 Apr 2006 00:30:07 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id KZy+ClNhrN0c; Tue, 11 Apr 2006 00:30:06 -0300 (ADT) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id 5971362CA4D; Tue, 11 Apr 2006 00:30:06 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 9D69B3C30A; Tue, 11 Apr 2006 00:30:02 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 97E083B98E; Tue, 11 Apr 2006 00:30:02 -0300 (ADT) Date: Tue, 11 Apr 2006 00:30:02 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-amd64@freebsd.org In-Reply-To: <20060410235910.F1096@ganymede.hub.org> Message-ID: <20060411002924.E1096@ganymede.hub.org> References: <20060410235910.F1096@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ports@freebsd.org Subject: 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 03:30:09 -0000 Sorry for repost, but figured something a bit more descriptive then 'no subject' might help ... On Tue, 11 Apr 2006, Marc G. Fournier wrote: > > 'k, I'm finding alot of stuff on Google concerning Linux, that doesn't help > me in the least for this ... checked freebsd list archives too, and am not > finding anything related to resin, and what I am finding generally seems to > point the finger at other ports not being built wrong, vs an obj file within > the same port ... > > ===> 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 > 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) ... > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664