Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 14:27:44 -0700
From:      Scott Long <scottl@samsco.org>
To:        Astrodog <astrodog@gmail.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: NVidia i386 Driver on FreeBSD AMD64
Message-ID:  <424B19D0.6010905@samsco.org>
In-Reply-To: <2fd864e05033013208e43bf9@mail.gmail.com>
References:  <2fd864e05032900397d7733e8@mail.gmail.com> <20050329211942.P59551@carver.gumbysoft.com>	 <424AF3CE.4080209@00t.org> <2fd864e05033013208e43bf9@mail.gmail.com>

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



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