NVidia i386 Driver on FreeBSD AMD64

Astrodog astrodog at gmail.com
Wed Mar 30 14:08:01 PST 2005


On Wed, 30 Mar 2005 14:27:44 -0700, Scott Long <scottl at samsco.org> wrote:
> Astrodog wrote:
> > On Wed, 30 Mar 2005 20:45:34 +0200, Ulrik Guenther <ulrik at 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.


More information about the freebsd-amd64 mailing list