Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792780 - sys-devel/binutils-apple fails to build during prefix bootstrap on M1 (Big Sur 11.4)
Summary: sys-devel/binutils-apple fails to build during prefix bootstrap on M1 (Big Su...
Status: UNCONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: ARM64 OS X
: Normal blocker with 2 votes (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-29 08:48 UTC by Steve Gilberd
Modified: 2021-05-29 09:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build environment (environment,93.76 KB, text/plain)
2021-05-29 08:49 UTC, Steve Gilberd
Details
Build log (build.log,155.28 KB, text/plain)
2021-05-29 08:50 UTC, Steve Gilberd
Details
Stage3 log (stage3.log,156.59 KB, text/plain)
2021-05-29 08:51 UTC, Steve Gilberd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Gilberd 2021-05-29 08:48:57 UTC
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.
Comment 1 Steve Gilberd 2021-05-29 08:49:48 UTC
Created attachment 712161 [details]
Build environment
Comment 2 Steve Gilberd 2021-05-29 08:50:34 UTC
Created attachment 712164 [details]
Build log
Comment 3 Steve Gilberd 2021-05-29 08:51:19 UTC
Created attachment 712167 [details]
Stage3 log