Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2005 00:39:29 -0800
From:      Astrodog <astrodog@gmail.com>
To:        freebsd-amd64@freebsd.org
Subject:   NVidia i386 Driver on FreeBSD AMD64
Message-ID:  <2fd864e05032900397d7733e8@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2fd864e05032900397d7733e8>