rebranding a i386 binary to be a amd64 binary

Bruce Cran bruce at cran.org.uk
Wed Oct 10 23:50:29 PDT 2007


Aryeh Friedman wrote:
> On 10/11/07, Kris Kennaway <kris at freebsd.org> wrote:
>> Aryeh Friedman wrote:
>>> Even though I know this is asking for it I want to test the new nVidia
>>> driver on amd64 and the only issue with a hand compile (from nVidia's
>>> tar not the ports one) is src/nv-kernel.o is branded elf-i386-32 and
>>> amd64 wants it branded elf-amd64-64.  This file comes from them as a
>>> precompiled object so rebranding seems to be my only option.
>>> _______________________________________________
>>> freebsd-questions at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>>>
>>>
>> Uh it really is an i386 binary, "rebranding" won't magically change all
>> the code.
> 
> All I want to do is make it compile so I can test it (like I said I
> know it is inherently dangerous)

There are several kernel features that need to be implemented before an 
amd64 nVidia driver will work - see 
http://wiki.freebsd.org/NvidiaFeatureRequests for more info.   nVidia do 
want to create an amd64 driver, but they need the kernel work to be done 
first.

--
Bruce


More information about the freebsd-questions mailing list