Project:Toolchain/23.0 profile transition

From Gentoo Wiki
Jump to:navigation Jump to:search

A project management page for the 23.0 profile transition.

General information

  • The tracker for the 23.0 profiles is bug #876891
  • Ongoing work can be found on a Github pull request 27903 (please check regularly, commits will be cherry-picked for merging and more will be added)

Specific issues, all arches

bug #675050: Enable GCC's -fstack-clash-protection by default

  • control useflag added to gcc-13
  • useflag forced on hardened and 23.0
  • done
  • may want to port also to a later gcc-12 release?

bug #818376: adopt SHT_RELR/DT_RELR relative relocation format

  • requires now a control useflag for binutils, "-z pack-relative-relocs"
  • requires on upgrade dependency on glibc-2.36
  • too new?

bug #831045: remove USE=cli default and inline into ebuilds

  • trivial
  • done

bug #849875: remove USE=dri default, clean up make.defaults

  • trivial
  • done

bug #876881: make merged usr the default configuration

  • the changes in the profiles are trivial (renaming)
  • requires now testing
  • requires on upgrade a migration guide, news item in the works
  • what do we do with openrc profiles?

bug #876923: enable "-z relro -z now" by default in the linker

  • -z relro is already default since 2017
  • -z now is enabled by the hardened code in gcc and can be moved out into vanilla there
  • control useflag added to gcc-13
  • useflag forced on hardened and 23.0
  • done
  • may want to port also to a later gcc-12 release?

bug #878119: rename clang to llvm in profile names

  • implementation trivial

bug #878157: add systemd/hardened profiles, make systemd/selinux inherit them

  • fairly easy

Specific issues, single arches

bug #515694: Update MIPS profiles to use ABI-specific CHOST

  • MIPS-specific
  • In default/linux/23.0/mips..., set the correct CHOST. That's all.
  • requires now testing
  • requires consensus in the mips team on what to do
  • requires on upgrade the usual CHOST-changing acrobatics

bug #882815: transition ppc64le 23.0 profiles to 128-bit IEEE long double ABI

bug #882825: align to 32-bit rather than 16-bit on m68k with -malign-int

  • arch-specific
  • this breaks about just everything and thus makes a complex migration necessary
  • adjustments to glibc will be required (?)


Draft migration notes

All arches

ppc

mips

m68k