Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703054 - Unknown name _STRUCT_X86_THREAD_FULL_STATE64 in _mcontext.h
Summary: Unknown name _STRUCT_X86_THREAD_FULL_STATE64 in _mcontext.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal minor (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-16 00:13 UTC by irpatte
Modified: 2021-01-18 20:02 UTC (History)
0 users

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


Attachments
binutils-apple-8.2.1-r1 build log (build.log,18.33 KB, text/plain)
2019-12-16 00:13 UTC, irpatte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description irpatte 2019-12-16 00:13:26 UTC
Created attachment 599696 [details]
binutils-apple-8.2.1-r1 build log

This error: 

/usr/include/i386/_mcontext.h:108:2: error: unknown type name
      '_STRUCT_X86_THREAD_FULL_STATE64'

is shown a few times in stage2 of the bootstrap script while emerging sys-devel/binutils-apple-8.2.1-r1.  It's possible to bypass by copying the definition of the struct to _mcontext.h but the definition is imported so this shouldn't need to happen.

Macos 10.14.4/10.14.6
Comment 1 Fabian Groffen gentoo-dev 2019-12-23 09:29:48 UTC
Will have a look at bootstrapping, I think xnu-headers and darwin-libc-headers should help prevent this problem.
Comment 2 Fabian Groffen gentoo-dev 2021-01-18 20:02:12 UTC
this is fixed in -r101