commit 2f78608740da9ba4dda7194f2696d64a1fb90fef made the GCC version check use `CC` instead of /usr/bin/gcc: https://github.com/gentoo/prefix/commit/2f78608740da9ba4dda7194f2696d64a1fb90fef.patch So before it used to find clang 15 version for me and be fine in the checks below, but now it finds the stage2 GCC it itself built (gcc 13), which isn't known and it just immediately errors on start of stage3 processing with a short and not so sweet stage3.log: * Triggering Darwin with GCC toolchain !!! unknown compiler: gcc (Gentoo 13.2.0 p7) 13.2.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This is on M2 Ultra Darwin 23.
oh that's crap and probably why I used a full path in the past Let me fix that, thanks
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=377f6f4e9776170245bbf4fe908032b69c9a9d01 commit 377f6f4e9776170245bbf4fe908032b69c9a9d01 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2024-02-02 12:05:58 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-02-02 12:05:58 +0000 scripts/bootstrap-prefix: fix configure_toolchain for Darwin Don't get confused by (just) bootstrapped compilers, in fact, drop the detection of host-compilers, because they are insufficient to bootstrap nowadays. Bug: https://bugs.gentoo.org/923617 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=885a6df29cfa5e73483f33c05fef8dac3f7ec55a commit 885a6df29cfa5e73483f33c05fef8dac3f7ec55a Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2024-02-02 12:13:02 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-02-02 12:13:02 +0000 scripts/bootstrap-prefix: change CPU usage suggestion for modern hardware Previous cap of 8 was based on old T1/T2. Nowadays we can use more. Suggest something along the lines of 50-75% of available CPUs to stay on the modest side. The user can override this in any case. Closes: https://bugs.gentoo.org/923617 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
wrong bug, sorry