NVidia i386 Driver on FreeBSD AMD64

Astrodog astrodog at gmail.com
Tue Mar 29 00:39:31 PST 2005


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


More information about the freebsd-amd64 mailing list