From owner-freebsd-ports@FreeBSD.ORG Fri Nov 17 11:30:45 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0325C16A403 for ; Fri, 17 Nov 2006 11:30:45 +0000 (UTC) (envelope-from jbq@anyware-tech.com) Received: from trinity.anyware-tech.com (10.21.96-84.rev.gaoland.net [84.96.21.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6321143D75 for ; Fri, 17 Nov 2006 11:30:42 +0000 (GMT) (envelope-from jbq@anyware-tech.com) Received: from localhost (localhost [127.0.0.1]) by trinity.anyware-tech.com (Postfix) with ESMTP id F15AF487B59 for ; Fri, 17 Nov 2006 12:30:40 +0100 (CET) Received: from trinity.anyware-tech.com ([127.0.0.1]) by localhost (trinity.anyware-tech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14243-08 for ; Fri, 17 Nov 2006 12:30:27 +0100 (CET) Received: from vision.anyware (vision.anyware [10.0.1.12]) by trinity.anyware-tech.com (Postfix) with ESMTP id 0B452487B56 for ; Fri, 17 Nov 2006 12:30:27 +0100 (CET) Received: by vision.anyware (Postfix, from userid 1021) id 2788D6AD7; Fri, 17 Nov 2006 12:30:28 +0100 (CET) Date: Fri, 17 Nov 2006 12:30:28 +0100 From: Jean-Baptiste Quenot To: freebsd-ports Message-ID: <20061117113027.GA91412@vision.anyware> Mail-Followup-To: freebsd-ports References: <20061117003255.GB71929@xor.obsecurity.org> <20061117003247.GA71929@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20061117003255.GB71929@xor.obsecurity.org> <20061117003247.GA71929@xor.obsecurity.org> User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: Debian amavisd-new at anyware-tech.com Cc: Subject: xxx failed on amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 11:30:45 -0000 * Kris Kennaway: > FYI; can you please investigate and/or report to the developers? > ... > ===> Building for resin-2.1.17_1 > ... > 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 * Kris Kennaway: > FYI; can you please investigate and/or report to the developers? > ... > ===> Building for resin-3.0.21 > ... > cc -shared -L/usr/lib -o libresin_os.so jni_os.o jni_jvmti.o jni_jvmdi.o -pthread > /usr/bin/ld: jni_os.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC > jni_os.o: could not read symbols: Bad value I don't see the point of adding special treatment of amd64 in all my ports that use gcc. Why this is not handled by the ports infrastructure? Is it satisfactory to copy/paste the three needed lines in all ports? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/