public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Moessbauer, Felix" <felix.moessbauer@siemens.com>
To: Helmut Grohne <helmut@subdivi.de>
Cc: Johannes Schauer Marin Rodrigues <josch@debian.org>,
	Ben Hutchings <ben@decadent.org.uk>,
	"debian-kernel@lists.debian.org" <debian-kernel@lists.debian.org>,
	"debian-cross@lists.debian.org" <debian-cross@lists.debian.org>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: RE: Dependencies of linux-headers-<arch> packages
Date: Mon, 14 Mar 2022 10:33:22 +0000	[thread overview]
Message-ID: <AM9PR10MB486915DEA855DDF2F63810B3890F9@AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <YitTX9LobwWI21Tt@alf.mars>

Hi Helmut,

> From: Helmut Grohne <helmut@subdivi.de>
> Sent: Friday, March 11, 2022 2:49 PM
> 
> Hi,
> 
> On Thu, Mar 10, 2022 at 02:13:34PM +0000, Moessbauer, Felix wrote:
> > Many thanks for the patch.
> > I just (manually) backported that to Debian bullseye, tested it for arm64 and it
> worked like a charm.
> 
> Can we please stop piling up workarounds and instead fix this once and for all?
> 
> I see us mirroring the "LTS problem" here: Everyone maintains their own stuff
> with local patches and it barely works. LTS now has a solution in the form of
> freexian where the effort is centralized and made available for the benefit of
> everyone.

In general I agree, but here the situation is a bit different:
The dependency to the host compiler (e.g. arm64) is too narrow.
In general, any gcc compiler in the correct version should do.

As discussed earlier the linux-headers -> compiler dependency is just a convenience dep.
I proposed to remove it or move it to the "recommends" section.
But the proposed solution might be better as it maintains backwards compatibility.

For users that just want to cross-compile a module, there is simply no reason why the have to install the compiler for the host architecture (e.g. arm64).
And this use-case is perfectly solved in the patch from Ben.

Felix

> 
> Helmut


  reply	other threads:[~2022-03-14 10:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AM9PR10MB48690CC912740F47726A951D89049@AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM>
     [not found] ` <ac4b9074134d571de49faa125fff889d052df5a7.camel@decadent.org.uk>
2022-03-10 14:13   ` Moessbauer, Felix
2022-03-11 13:49     ` Helmut Grohne
2022-03-14 10:33       ` Moessbauer, Felix [this message]
2022-03-14 19:19         ` Helmut Grohne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM9PR10MB486915DEA855DDF2F63810B3890F9@AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM \
    --to=felix.moessbauer@siemens.com \
    --cc=ben@decadent.org.uk \
    --cc=debian-cross@lists.debian.org \
    --cc=debian-kernel@lists.debian.org \
    --cc=helmut@subdivi.de \
    --cc=isar-users@googlegroups.com \
    --cc=josch@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox