sys-devel/binutils-apple-8.2.1-r101 fails to build from bootstrap-prefix.sh. System: Macbook Air 2020 (M1) OS: Mac OS 11.4 Big Sur There are a number of errors present, and they don't all appear related: - ARM64 isn't a defined architecture in one of the cpp files, but probably should be. - There are a number of type errors that appear to be related to the inclusion of an i386 header file from the OSX SDK. - The variable fRegisters is undeclared in *many* places - perhaps this is an arch-dependent declaration that is missing? This failure occurs during stage 3 bootstrap, and is the final remaining package that bootstrap-prefix is trying to merge.
Created attachment 712161 [details] Build environment
Created attachment 712164 [details] Build log
Created attachment 712167 [details] Stage3 log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2526f187ac6aa04739b49de0f7c202ec9e7d92e commit e2526f187ac6aa04739b49de0f7c202ec9e7d92e Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2022-08-03 14:56:54 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2022-08-03 14:59:21 +0000 profiles/prefix/darwin/macos/*/arm64/gcc: use nold variant binutils-apple doesn't compile currently on arm64 (#792780) and needs work, use the host-provided linker for the time being. Closes: https://bugs.gentoo.org/792780 Bug: https://bugs.gentoo.org/778014 Signed-off-by: Fabian Groffen <grobian@gentoo.org> profiles/prefix/darwin/macos/11.0/arm64/gcc/parent | 2 +- profiles/prefix/darwin/macos/12.0/arm64/gcc/parent | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)