• [gentoo-dev] [PATCH 1/5] toolchain-funcs.eclass: drop deprecated gen_us

    From Sam James@21:1/5 to All on Sat Apr 12 18:00:01 2025
    Drop toolchain-funcs.eclass's gen_usr_ldscript and along with it, inheriting multilib. gen_usr_ldscript is itself deprecaated but the version in toolchain-funcs
    doubly so, as it was replaced by the one in usr-ldscript.eclass.

    Signed-off-by: Sam James <sam@gentoo.org>
    ---
    Tested by `pkgcheck scan -k MissingInherits` and looking at gen_usr_ldscript users for missing usr-ldscript.eclass inherits, though we're going to try
    cull those too (most are already gone).

    I plan on committing the series shortly.

    eclass/toolchain-funcs.eclass | 135 ----------------------------------
    1 file changed, 135 deletions(-)

    diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 754d23f91c069..ae21a18a14c23 100644
    --- a/eclass/toolchain-funcs.eclass
    +++ b/eclass/toolchain-funcs.eclass
    @@ -21,8 +21,6 @@ case ${EAPI} in
    *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
    esac

    -inherit multilib
    -
    # tc-getPROG <VAR [search vars]> <default> [tuple]
    _tc-getPROG() {
    local tuple=$1
    @@ -1147,139 +1145,6 @@ tc-enables-ssp-all() {
    tc-cpp-is-true "defined(__SSP_ALL__)" ${CPPFLAGS} ${CFLAGS} ${CXXFLAGS}
    }

    -
    -# @FUNCTION: gen_usr_ldscript
    -# @USAGE: [-a] <list of libs to create linker scripts for>
    -# @DESCRIPTION:
    -# This function is de