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

Re: Tuple and changes for m68k with -malign-int



On Tue, 2025-05-20 at 10:24 +0200, Geert Uytterhoeven wrote:
> Is this a Rust or LLVM issue?
> In case of the latter, how is llvm-mos coping?

It's an issue with a lot of packages as I have documented here:

https://wiki.debian.org/M68k/Alignment

While you could argue whether packages like OpenJDK or Go are fancy,
the problem is that they are build dependencies for a lot of other
packages, either directly or transitively.

For example, cmake has build dependencies on Qt which in turn requires
4 bytes alignment to build. In turn, several thousand packages have cmake
as their build dependency, so waiving for cmake is not really a constructive
suggestion to make.

And I really don't want to keep patching stuff forever manually and upload
it to Debian unreleased. It's a pure waste of time which is better spent
on fixing actual bugs.

I really don't understand why people that claim to be interested in the
m68k port constantly block any kind of changes that would actually improve
the port and prepare it for the future.

And I also don't understand why this is even an issue. If someone insists
on using 2 bytes alignment, just stick to your old chroot. If you're not
interested in new, "fancy" packages, just don't upgrade or install Debian
Etch or similar. Changing the default alignment does not affect existing
software.

The fact is that software is moving forward which also means it's adopting
new languages like Rust. New languages make certain assumptions about the
target such as the minimum alignment. And if we want to be able to build
updated packages for m68k, we have to switch the default alignment.

What do people that object the alignment change suggest as an alternative?
Tell the rest of the Linux community not to use Rust? Tell them not to use
Go?

I don't get it.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: