Date: Wed, 30 Mar 2005 14:08:00 -0800 From: Astrodog <astrodog@gmail.com> To: freebsd-amd64@freebsd.org Subject: Re: NVidia i386 Driver on FreeBSD AMD64 Message-ID: <2fd864e05033014084d5a0ef9@mail.gmail.com> In-Reply-To: <424B19D0.6010905@samsco.org> References: <2fd864e05032900397d7733e8@mail.gmail.com> <20050329211942.P59551@carver.gumbysoft.com> <424AF3CE.4080209@00t.org> <2fd864e05033013208e43bf9@mail.gmail.com> <424B19D0.6010905@samsco.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Mar 2005 14:27:44 -0700, Scott Long <scottl@samsco.org> wrote: > Astrodog wrote: > > On Wed, 30 Mar 2005 20:45:34 +0200, Ulrik Guenther <ulrik@00t.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2fd864e05033014084d5a0ef9>