Re: [PATCH 00/13] [RFC] Rust support

From: Mariusz Ceier
Date: Thu Apr 29 2021 - 01:21:14 EST


On 28/04/2021, David Laight <David.Laight@xxxxxxxxxx> wrote:
> From: Mariusz Ceier
>> Sent: 28 April 2021 19:34
> ....
>>
>> I suggest to wait until featureful GPL implementation of rust language
>> is made (assuming GNU Rust is on the way) before merging any rust code
>> in the kernel and when that implementation is done make a requirement
>> that all rust code must be buildable by at least GPL implementation.
>>
>> Maybe it would also be worthwhile to make the requirement that the
>> kernel must be buildable with free software (not just open source
>> software) explicit ?
>
> Or put the version of the compiler that works in the source tree
> with the kernel and then build it as part of the full build.
>
That is an overkill :)
Even hosting a copy of all required tools at kernel.org might be an
overkill (but who knows);
I think having links at
https://www.kernel.org/doc/html/latest/process/changes.html#getting-updated-software
is enough.

> It is enough of a PITA having to find libelf-devel in order to
> build objtool, never mind having to find the correct version
> of something else.
>
> gcc tends to be available and the version doesn't matter too much.
> But ever that gives problems.
>
> David
>
> -
> Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1
> 1PT, UK
> Registration No: 1397386 (Wales)
>