USE=-sanitize ./bootstrap-prefix.sh solved my problem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19 commit 46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-14 06:14:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-14 06:14:46 +0000 toolchain.eclass: depend on virtual/libcrypt with USE=sanitize Bug: https://bugs.gentoo.org/802648 Closes: https://bugs.gentoo.org/817974 Signed-off-by: Sam James <sam@gentoo.org> eclass/toolchain.eclass | 7 +++++++ 1 file changed, 7 insertions(+)
Needs more work, will finish it off later
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=5d11b2898eb984ab1c1986beb512fc54d2b18107 commit 5d11b2898eb984ab1c1986beb512fc54d2b18107 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-14 18:10:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-14 18:10:30 +0000 bootstap-prefix.sh: disable sanitize on GCC Avoids needing libcrypt early on. Closes: https://bugs.gentoo.org/817974 Signed-off-by: Sam James <sam@gentoo.org> scripts/bootstrap-prefix.sh | 1 + 1 file changed, 1 insertion(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d9eb358d6802608eb16358b6efc394045876b196 commit d9eb358d6802608eb16358b6efc394045876b196 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-14 18:29:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-14 18:30:22 +0000 bootstrap-prefix.sh: add libxcrypt to core package list We need to emerge libxcrypt before trying to install @world properly to avoid circular dependencies between libxcrypt, perl, and glibc. Bug: https://bugs.gentoo.org/817974 Signed-off-by: Sam James <sam@gentoo.org> scripts/bootstrap-prefix.sh | 1 + 1 file changed, 1 insertion(+)