• [gentoo-dev] [PATCH v2] profiles: create features/big-endian

    From matoro_mailinglist_gentoo-dev@mator@21:1/5 to All on Sat Apr 1 00:00:01 2023
    From: Matoro Mahri <matoro@users.noreply.github.com>

    Using this in the future to dump issues which specifically affect
    big-endian platforms to avoid duplicated masks across the entire profile
    tree. This is for masks which are necessary due to problems which arise
    solely due to endian correctness. Solving a problem which causes one of
    these masks does not guarantee that the package will automatically work
    on all big-endian platforms, but it is a prerequisite to work on any of
    them.

    Please be cautious about adding things here as it will likely affect a
    platform that has not been tested on. A good heuristic I use is either:

    1) works on ppc64le and not on ppc64, or
    2) work on 3 different little-endian platforms and not on 3 different
    big-endian platforms, and the BE platforms fail in the same way

    https://github.com/gentoo/gentoo/pull/30406

    Bug: https://bugs.gentoo.org/896138
    Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com>
    ---
    profiles/arch/arm64/big-endian/parent | 1 +
    profiles/arch/arm64/big-endian/use.mask | 6 ------
    profiles/arch/hppa/package.mask | 5 -----
    profiles/arch/hppa/parent | 1 +
    profiles/arch/hppa/use.mask | 4 ----
    profiles/arch/m68k/package.mask | 7 -------
    profiles/arch/m68k/parent | 1 +
    profiles/arch/m68k/use.mask | 4 ----
    profiles/arch/mips/mips64/parent | 1 +
    profiles/arch/mips/mipsel/package.mask | 7 -------
    profiles/arch/mips/o32/parent | 1 +
    profiles/arch/mips/package.mask | 5 -----
    profiles/arch/mips/use.mask | 4 ----
    profiles/arch/powerpc/package.mask | 7 -------
    profiles/arch/powerpc/ppc32/parent | 1 +
    profiles/arch/powerpc/ppc64/64le/package.mask