From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 30 21:29:53 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 AF48216A4CE for ; Wed, 30 Mar 2005 21:29:53 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4779F43D5A for ; Wed, 30 Mar 2005 21:29:52 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.21] (rat.samsco.home [192.168.254.21]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j2ULXcbb012470; Wed, 30 Mar 2005 14:33:39 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <424B19D0.6010905@samsco.org> Date: Wed, 30 Mar 2005 14:27:44 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050321 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Astrodog References: <2fd864e05032900397d7733e8@mail.gmail.com> <20050329211942.P59551@carver.gumbysoft.com> <424AF3CE.4080209@00t.org> <2fd864e05033013208e43bf9@mail.gmail.com> In-Reply-To: <2fd864e05033013208e43bf9@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: freebsd-amd64@freebsd.org Subject: Re: NVidia i386 Driver on FreeBSD 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: Wed, 30 Mar 2005 21:29:53 -0000 Astrodog wrote: > On Wed, 30 Mar 2005 20:45:34 +0200, Ulrik Guenther wrote: > >>-----BEGIN PGP SIGNED MESSAGE----- >>Hash: SHA1 >> >>Hello everyone, >> >>NVidia currently seems not wanting to make binary drivers for >>FreeBSD/AMD64. Some time ago somebody at nvnews.net started a thread in >>their forum with the plea for drivers for AMD64, the URL is >> >>http://www.nvnews.net/vbulletin/showthread.php?t=41545 >> >>Maybe it helps if many people post there and tell the guys at NVidia >>that there really is need for these certain drivers. >> >>Thanks for listening, >> >>Ulrik >> >>Doug White wrote: >>| On Tue, 29 Mar 2005, Astrodog wrote: >>| >>| >>|>Through about an hour of tinkering, I've gotten NVidia's i386 driver >>|>to compile, sans final linking, for AMD64. >>| >>| >>| [...] >>| >>| >>|>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. >>| >>| >>| This message doesn't lie -- we don't support mixed-mode objects. Solaris >>| doesn't either and I doubt we have plans to grow this support. You'll >>| need all amd64-compiled object files; without them, you're sunk. >>| >> > > > Perhaps it would be possible to statically link things to the kernel > itself? ld doesn't seem to complain unless you try to make a > relocatable object. In case Doug's message wasn't clear enough: We do not support mixed-mode objects. You cannot run i386 object code in an amd64 kernel. It doesn't matter whether or not ld stops you, it's just a simple fact of life. Scott