Re: [PATCH 0/6] Initial Rust V4L2 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/11/23 14:36, Miguel Ojeda wrote:
On Tue, Apr 11, 2023 at 11:52 AM Hans Petter Selasky<hps@xxxxxxxxxxx>  wrote:
Assume you need to update both the kernel and the rust compiler at the
same time. How do you do that? In the binary download case you have two
machines. One to build rust and one to build the kernel, so it is
technically not possible?
I don't understand the problem -- you can build (or download) new
toolchains without changing the kernel, and you can keep several
kernels and several toolchains installed, too.


Hi Miguel,

What I'm saying is a bit difficult to get about right off the bat.

>you can build (or download) new toolchains without changing the kernel

Yes, most of the time, but not always. Let me rephrase it:

If you cannot build a new toolchain without a new kernel.

And:

You cannot build a new kernel without a new toolchain.

Then you are stuck forever to build a new toolchain and kernel? Do you agree?

Or you can say, someone else needs to deal with it, but then you have a single point of failure.

It's like the next version of the Rust compiler depends on the previous version of the Rust compiler.

But now you have (Version of Linux and version of Rust) depends on (Version of Linux and version of Rust).

So in order to upgrade either Linux or Rust, you may be forced to go through multiple, upgrade kernel, reboot, upgrade rust, build kernel, reboot and so on.

And that is an annoying complication when upgrading a system.

--HPS



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux