• Removing dpkg arch definition for arm64ilp32?

    From Guillem Jover@21:1/5 to Lennart Sorensen on Sat Nov 11 19:00:01 2023
    XPost: linux.debian.ports.arm

    Hi!

    On Fri, 2023-10-27 at 20:17:21 -0400, Lennart Sorensen wrote:
    On Fri, Oct 27, 2023 at 02:29:30PM +0100, Steve McIntyre wrote:
    Are either of those ports (armeb/arm64ilp32) actually useful / alive
    at this point?

    Not that I have seen. I didn't think anything other than the IXP ever
    really used big endian and that's a long time ago. arm64ilp32 seems
    to serve less purpose than x32 did (and x32 doesn't seem to be doing
    much either). Certainly looks essentially dead at this point.

    While scanning the libc-alpha list recently I read [M] that arm64ilp32
    was never upstreamed in Linux nor glibc? If so, I think there's little
    point in carrying the arch definitions in dpkg, and I guess that would
    not make the cut if requested now (for reference this was requested in
    bug #824742). Does anyone know whether it was ever used or it is being
    used even if privately/internally somewhere? I'd think that could be a
    good argument to make an exception, and keep this for a while still. I
    see no usage of this arch in Debian Sources files for example, so it'd
    seem safe to remove the arch definition in the Debian context.

    [M] <https://sourceware.org/pipermail/libc-alpha/2023-November/152521.html>

    For armeb, I assume it was properly upstreamed at the time, and it was
    actually used, even if it's currently not in use (like arm) I see tons
    of references in Sources files, and thus removing the arch definitions
    for either of these would not be safe right now I think.

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wookey@21:1/5 to Guillem Jover on Sat Nov 11 21:40:02 2023
    XPost: linux.debian.ports.arm

    On 2023-11-11 18:57 +0100, Guillem Jover wrote:
    Hi!

    On Fri, 2023-10-27 at 20:17:21 -0400, Lennart Sorensen wrote:
    On Fri, Oct 27, 2023 at 02:29:30PM +0100, Steve McIntyre wrote:
    Are either of those ports (armeb/arm64ilp32) actually useful / alive
    at this point?

    Not that I have seen. I didn't think anything other than the IXP ever really used big endian and that's a long time ago. arm64ilp32 seems
    to serve less purpose than x32 did (and x32 doesn't seem to be doing
    much either). Certainly looks essentially dead at this point.

    While scanning the libc-alpha list recently I read [M] that arm64ilp32
    was never upstreamed in Linux nor glibc? If so, I think there's little
    point in carrying the arch definitions in dpkg, and I guess that would
    not make the cut if requested now (for reference this was requested in
    bug #824742). Does anyone know whether it was ever used or it is being
    used even if privately/internally somewhere?

    It was being used internally/developmentally for a while (at CISCO)
    but, as you observe, only with large kernel and toolchain
    patches. Various groups dragged their feet on this to disourage it
    becoming a thing we'd all have to maintain for years. I was doing the
    debian development at ARM at the time and the bootstrap was never
    completed. A few people (largely just CISCO) wanted it quite
    badly. Nearly everyone else thought it was not worth the maintenance
    effort. No-one has asked about it for quite a few years now (last mail
    Oct 2018) so I think we can assume that it is indeed dead and no-one
    would notice for years/ever if you removed it from dpkg.

    For armeb, I assume it was properly upstreamed at the time, and it was actually used, even if it's currently not in use (like arm) I see tons
    of references in Sources files, and thus removing the arch definitions
    for either of these would not be safe right now I think.

    It is obsolete. It probably doesn't work any more having been unused
    since the early days of the NSLU2/Sarge (circa 2006/2007). It might
    still have been in use till 2011ish?. As you say it should probably be
    removed from upstream sources before it is removed from
    dpkg. Interesting question on how much effort (if any) (and when)
    should be applied to tidying up stuff like this which is simply no
    longer in use. If/when 'arm' is removed 'armeb' should certainly go
    with it.

    Wookey
    --
    Principal hats: Debian, Wookware, ARM
    http://wookware.org/

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEER4nvI8Pe/wVWh5yq+4YyUahvnkcFAmVP5bgACgkQ+4YyUahv nkdf8g//RDW7ayapoQWZucStW1v1zLeCgPDTztBd9HLkEMnsCT90YG1jGko+n05U +/sM2U7mYF8S0BMqrfqEUOIyCgw0rkp4V7EUEgVPw1mH54pNBZqgOGT1p5OxJ4LS /iDi3OIXE1z4aesQlsgeiizOddVKSFymNBjytXXvULY2e85daun8YE7AmYy0+wb3 yh409qo9s4j9m0HQe/6kyOVOHR8/KXoLz4p9fONS0roTTah7D9EoRdg1ZvzhiC+V BvlUv0Py2OvOB/if3qyKcdf2BXLZQ9VJBw9h+xOOfqJqut3QYogM9mou2gpkYPNv GatwVb4WRwWJzpFbHl6NlDM4P8wvW+UhtcsqAJIOgZc+pQj2mhLYXVpffMfFodYi Z37abPrxqdAJ1xH4hMtISprRqGLtm5h1AidnmAs3w+O9hDB302XDFzCLd+cYfUMP GIs+JzkMxDt3HGxN9WT/CUyBnniDfIMsgZ/br844aRzk30FGjXfXi4nUUEAIKM5e FUbjwALSxH2zhPBMiX4N5J5SJ1UnnYTZhwIQ5IcDQkpnkhsy4vSpc+hsTUyAuZPx E1isEGBsU3cJFnBSkhVpkS0JW37kjPHgKr+3sarULjIWRL61We7l0FxUtFzC+vcN 8aW85419oZ76Md2v9uMEZn6tbxXdhApxud0NpPfSosdgEwDvBOE=
    =JYo5
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steve McIntyre@21:1/5 to Wookey on Sun Nov 12 01:00:02 2023
    XPost: linux.debian.ports.arm

    On Sat, Nov 11, 2023 at 08:36:16PM +0000, Wookey wrote:
    On 2023-11-11 18:57 +0100, Guillem Jover wrote:
    Hi!

    On Fri, 2023-10-27 at 20:17:21 -0400, Lennart Sorensen wrote:
    On Fri, Oct 27, 2023 at 02:29:30PM +0100, Steve McIntyre wrote:
    Are either of those ports (armeb/arm64ilp32) actually useful / alive
    at this point?

    Not that I have seen. I didn't think anything other than the IXP ever
    really used big endian and that's a long time ago. arm64ilp32 seems
    to serve less purpose than x32 did (and x32 doesn't seem to be doing
    much either). Certainly looks essentially dead at this point.

    While scanning the libc-alpha list recently I read [M] that arm64ilp32
    was never upstreamed in Linux nor glibc? If so, I think there's little
    point in carrying the arch definitions in dpkg, and I guess that would
    not make the cut if requested now (for reference this was requested in
    bug #824742). Does anyone know whether it was ever used or it is being
    used even if privately/internally somewhere?

    It was being used internally/developmentally for a while (at CISCO)
    but, as you observe, only with large kernel and toolchain
    patches. Various groups dragged their feet on this to disourage it
    becoming a thing we'd all have to maintain for years. I was doing the
    debian development at ARM at the time and the bootstrap was never
    completed. A few people (largely just CISCO) wanted it quite
    badly. Nearly everyone else thought it was not worth the maintenance
    effort. No-one has asked about it for quite a few years now (last mail
    Oct 2018) so I think we can assume that it is indeed dead and no-one
    would notice for years/ever if you removed it from dpkg.

    +1 on the story and on dropping it.

    For armeb, I assume it was properly upstreamed at the time, and it was
    actually used, even if it's currently not in use (like arm) I see tons
    of references in Sources files, and thus removing the arch definitions
    for either of these would not be safe right now I think.

    It is obsolete. It probably doesn't work any more having been unused
    since the early days of the NSLU2/Sarge (circa 2006/2007). It might
    still have been in use till 2011ish?. As you say it should probably be >removed from upstream sources before it is removed from
    dpkg. Interesting question on how much effort (if any) (and when)
    should be applied to tidying up stuff like this which is simply no
    longer in use. If/when 'arm' is removed 'armeb' should certainly go
    with it.

    armeb was mostly before my involvement in any arm stuff, as Wookey
    says. It did at least have some life as a functioning port, at
    least. I'd agree on leaving it in place for now, assuming it's not
    causing any trouble in terms of maintenance / support.

    --
    Steve McIntyre, Cambridge, UK. steve@einval.com "You can't barbecue lettuce!" -- Ellie Crane

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lennart Sorensen@21:1/5 to Guillem Jover on Sun Nov 12 04:40:01 2023
    XPost: linux.debian.ports.arm

    On Sat, Nov 11, 2023 at 06:57:39PM +0100, Guillem Jover wrote:
    While scanning the libc-alpha list recently I read [M] that arm64ilp32
    was never upstreamed in Linux nor glibc? If so, I think there's little
    point in carrying the arch definitions in dpkg, and I guess that would
    not make the cut if requested now (for reference this was requested in
    bug #824742). Does anyone know whether it was ever used or it is being
    used even if privately/internally somewhere? I'd think that could be a
    good argument to make an exception, and keep this for a while still. I
    see no usage of this arch in Debian Sources files for example, so it'd
    seem safe to remove the arch definition in the Debian context.

    [M] <https://sourceware.org/pipermail/libc-alpha/2023-November/152521.html>

    For armeb, I assume it was properly upstreamed at the time, and it was actually used, even if it's currently not in use (like arm) I see tons
    of references in Sources files, and thus removing the arch definitions
    for either of these would not be safe right now I think.

    armeb definitely was used in systems.

    Certainly everything I could find about arm64ilp32 seems to indicate it
    was experimental and support has been deleted from gcc and libc quite
    a long time ago at least as far as I can tell. I sure can't find the
    code in the kernel anymore unless it is well hidden.

    --
    Len Sorensen

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guillem Jover@21:1/5 to Steve McIntyre on Mon Nov 13 03:20:01 2023
    XPost: linux.debian.ports.arm

    On Sat, 2023-11-11 at 23:52:21 +0000, Steve McIntyre wrote:
    On Sat, Nov 11, 2023 at 08:36:16PM +0000, Wookey wrote:
    It was being used internally/developmentally for a while (at CISCO)
    but, as you observe, only with large kernel and toolchain
    patches. Various groups dragged their feet on this to disourage it
    becoming a thing we'd all have to maintain for years. I was doing the >debian development at ARM at the time and the bootstrap was never >completed. A few people (largely just CISCO) wanted it quite
    badly. Nearly everyone else thought it was not worth the maintenance >effort. No-one has asked about it for quite a few years now (last mail
    Oct 2018) so I think we can assume that it is indeed dead and no-one
    would notice for years/ever if you removed it from dpkg.

    +1 on the story and on dropping it.

    Thanks for the background info! Ok then, I've queued its removal
    from dpkg.

    For armeb, I assume it was properly upstreamed at the time, and it was
    actually used, even if it's currently not in use (like arm) I see tons
    of references in Sources files, and thus removing the arch definitions
    for either of these would not be safe right now I think.

    It is obsolete. It probably doesn't work any more having been unused
    since the early days of the NSLU2/Sarge (circa 2006/2007). It might
    still have been in use till 2011ish?. As you say it should probably be >removed from upstream sources before it is removed from
    dpkg. Interesting question on how much effort (if any) (and when)
    should be applied to tidying up stuff like this which is simply no
    longer in use. If/when 'arm' is removed 'armeb' should certainly go
    with it.

    Sorry, I was probably not clear, with the "references in Sources
    files" I meant mainly references in debian/control (in fields), that
    trickle down into Sources repo indices, where on Debian, AFAIUI dak
    might be unhappy about unknown architectures once its host gets
    updated to a version of dpkg that does not list them (but perhaps
    that's only on upload but not for existing ones in the archive). I
    think that could be the main blocker for such removals. Whether
    upstream kernels and toolchains might keep, drop, or lack support for
    existing ports, could be indicators of their liveliness but I don't
    think should be the only deciding factors, just important ones to
    consider. (I'm thinking about the recent ia64 removal from Linux and
    probably glibc for example.)

    armeb was mostly before my involvement in any arm stuff, as Wookey
    says. It did at least have some life as a functioning port, at
    least. I'd agree on leaving it in place for now, assuming it's not
    causing any trouble in terms of maintenance / support.

    Ah, I just had a flash from the past, about chatting about the port
    face to face with Lennert Buytenhek. :) For dpkg there's not really
    much of a maintenance burden. My concern has increasingly been that
    these (dead/unused) ports can confuse or be a burden instead to
    diligent package maintainers, when they try to handle or list all
    such ports in packages.

    I've now also gone over the current dpkg arch definitions and tried to
    locally restrict or remove obsolete/non-existing things, going from the
    current «dpkg-architecture -L» list of 524 arches down to 238, and will
    see what's safe to push out. :) Checking now for references to ports
    such as arm or armeb in Sources indices does not look too bad (around
    40 source packages for arm and 10 for armeb), so I might do a better
    analysis and then check how these could be shadowed for linux-any (as
    I also realized now these are part of the base CPU definitions which
    cannot be removed as that would affect any other port), and perhaps
    propose their shadowing too alongside a mass bug filing to remove
    such references in a bit if people would like to see such cleanup
    getting done, otherwise keeping them for a while also seems fine to me.

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)