From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 30 22:08:01 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 A814116A4CE for ; Wed, 30 Mar 2005 22:08:01 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 389FA43D39 for ; Wed, 30 Mar 2005 22:08:01 +0000 (GMT) (envelope-from astrodog@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so338108wra for ; Wed, 30 Mar 2005 14:08:00 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=P9xRhhupI9trZnPfxFzMplRBDX9G4TOAfof8lFCx6noev9xf862g8o9obGld6x6ZKcXJErwxsd8splQFoCiNjmhylq5UkelAFExMDdTDjvABj0TdPmGpywgqBV7Qib8yVde78ofhQTGa08IRLHxZ+br7psDowtqRYKSXuftN15o= Received: by 10.54.7.4 with SMTP id 4mr917753wrg; Wed, 30 Mar 2005 14:08:00 -0800 (PST) Received: by 10.54.40.69 with HTTP; Wed, 30 Mar 2005 14:08:00 -0800 (PST) Message-ID: <2fd864e05033014084d5a0ef9@mail.gmail.com> Date: Wed, 30 Mar 2005 14:08:00 -0800 From: Astrodog To: freebsd-amd64@freebsd.org In-Reply-To: <424B19D0.6010905@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <2fd864e05032900397d7733e8@mail.gmail.com> <20050329211942.P59551@carver.gumbysoft.com> <424AF3CE.4080209@00t.org> <2fd864e05033013208e43bf9@mail.gmail.com> <424B19D0.6010905@samsco.org> Subject: Re: 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: Wed, 30 Mar 2005 22:08:01 -0000 On Wed, 30 Mar 2005 14:27:44 -0700, Scott Long wrote: > 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 > Ah, damn. I guess I'll move on to my second idea, which is a 64-bit "Wrapper" for the 32-bit module, so that the module is never actually part of the kernel. I suspect thats going to be harder than I'm actually anticipating, but, oughta keep me busy for awhile atleast.