Hi Matthias,

On Tue, Jul 07, 2026 at 02:39:15PM +0200, Matthias Klose wrote:
> I don't like the "verbosity" of these profiles, but it is what it is.

Are you referring to the "pkg.gcc." prefix or something else?

> Did you check just building with DEB_BUILD_OPTIONS="nobiarch nolang=...
> nohppa64 nogcn nonvptx" ?

I no longer know what I checked, but that sounds like a good test before
applying a patch.

> Are you implementing that for all languages, the offload compilers, hppa64
> and biarch?

That is the question I am trying to figure out. The patch I posted is to
be understood as an example patch. It demonstrates one way of adding
build profiles to gcc. As indicated, adding it for all languages and
other features is a lot of work. I'm not here to perform that work and
then have a patch sit in the BTS for years as is happening for many
other patches. So this is one of the patches where I want to have
agreement on the approach before doing the work.

What I'm asking from you now is agreeing with the approach taken (if you
actually do agree) as well as a list of requirements. Possible
requirements:
 * The full patch should pass building with DEB_BUILD_OPTIONS="nobiarch
   nolang=... nohppa64 nogcn nonvptx".
 * The full patch should implement profiles for all languages and other
   features such as biarch, hppa64, gcn and nvptx that can now be
   disabled via nolang.

Of course, such a list cannot be exhaustive. There are things you only
spot in retrospect, but you can spell out the ones that you readily see
as relevant now.

I also ask you to review the produced patch in a timely manner, because
it likely produces merge conflicts quickly. We can also form an
agreement to reduce the chances of conflicts such as you telling me what
gcc version (17?) I should base this on and when to start.

The other approach we can take here is being iterative. In that
scenario, you'd merge my patch as is given a promise that I follow up
with other profiles. This produces smaller diffs and takes a while.

In either case, I agree to look into regressions and I shall produce
patches addressing them.

Helmut

Reply via email to