From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 29 08:39:31 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 93D7216A4CE for ; Tue, 29 Mar 2005 08:39:31 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 396A543D39 for ; Tue, 29 Mar 2005 08:39:31 +0000 (GMT) (envelope-from astrodog@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so456105wra for ; Tue, 29 Mar 2005 00:39:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=e263LOUs+yS1X4gfAbrI6SaBcH4+3tJt/3j1D5MVZ3Z8LffETG1vBFs+NzOe4mJK/k4iMXTqkwSTFkLMXGXeNIKiQ2IuvXoCrUcZBaci5d2pEIVgYw5TWYqnE+soY8LVjJfANIsIDTJZ7wOJWqJeKD+lXBLwq5Op7Z1g3JoqyIc= Received: by 10.54.79.8 with SMTP id c8mr618282wrb; Tue, 29 Mar 2005 00:39:29 -0800 (PST) Received: by 10.54.40.69 with HTTP; Tue, 29 Mar 2005 00:39:29 -0800 (PST) Message-ID: <2fd864e05032900397d7733e8@mail.gmail.com> Date: Tue, 29 Mar 2005 00:39:29 -0800 From: Astrodog To: freebsd-amd64@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: NVidia i386 Driver on FreeBSD AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Astrodog List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:39:31 -0000 Through about an hour of tinkering, I've gotten NVidia's i386 driver to compile, sans final linking, for AMD64. In as far as I can tell, the code appears to be AMD64 safe, and there doesn't seem to be a difference between what calls the i386 version makes, as compared to the ones the AMD64 version would make. The i386 version is already compiled with support for 64-bit pointers and ints, so it appears to potentially be possible to use the i386 nv-kernel.o, with the AMD64 kernel, if there's a way to get that to link with the rest of the AMD64 compiled object files. The error I get is: ld: Relocatable linking with relocations from format elf32-i386-freebsd (nv-kernel.o) to format elf64-x86-64 (nvidia.ko) is not supported. I tried with, and without the -r option. Without -r, it has a bunch of unresolved references. If anyone has a thought on how to get around the above error, or to resolve the reference problem that comes up... that'd be great. I'm just incredibly fed up with not having AMD64 NVidia drivers. --- Harrison Grundy