Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920160 - toolchain-funcs.eclass: wrong arch value 'arm' for CHOST arm64-apple-darwin23
Summary: toolchain-funcs.eclass: wrong arch value 'arm' for CHOST arm64-apple-darwin23
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-16 15:00 UTC by Ryan Tsien
Modified: 2023-12-16 15:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Tsien 2023-12-16 15:00:04 UTC
tc-arch detects the wrong arch value 'arm' on arm64 macOS 14 profile which with a CHOST value 'arm64-apple-darwin23'

https://github.com/gentoo/prefix/blob/55996b02c62a3f77b97ad2d3e0a0bb5a4604263f/eclass/toolchain-funcs.eclass#L700

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-12-16 15:36:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=5136685f4f05440d4a47d5dfa19e7d5a7448617c

commit 5136685f4f05440d4a47d5dfa19e7d5a7448617c
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2023-12-16 15:34:59 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2023-12-16 15:34:59 +0000

    eclass/toolchain-funcs: add arm64-macos detection
    
    Thanks Ryan Qian.
    
    Closes: https://bugs.gentoo.org/920160
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 eclass/toolchain-funcs.eclass | 1 +
 1 file changed, 1 insertion(+)