Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579118 - toolchain-funcs.eclass does not handle amd64-* tuples
Summary: toolchain-funcs.eclass does not handle amd64-* tuples
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-05 23:16 UTC by Sven E.
Modified: 2016-04-07 03: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 Sven E. 2016-04-05 23:16:11 UTC
When ARCH is specifically set to amd64 (i.e. for a cross tolchain) tc-arch yield unknown, while i.e. gcc cleary states that amd64-*-* is a synonym for x86_64-*-*. So toolchain-funcs should return the same value for both ARCHs.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2016-04-07 00:04:57 UTC
i'm assuming you meant CHOST and not ARCH, and you're referring to the tc-arch & tc-arch-kernel funcs which parse it via tc-ninja_magic_to_arch

while it's true the gnuconfig (config.sub) file accepts amd64-* tuples and rewrites them to x86_64, i don't see any value in supporting that in Gentoo.  what use cases do you have to warrant this ?  seems like pointless pain when 99.9% of the rest of the world uses x86_64-* tuples.
Comment 2 Sven E. 2016-04-07 03:06:31 UTC
Erh, yes, I indeed meant the part in in ninja_magic_to arch. I consider it rather a question of completness and choice.

Anyhow, if it is not supported and won't be supported, I assume it is at least documented properly somewhere?
Comment 3 SpanKY gentoo-dev 2016-04-07 03:36:02 UTC
(In reply to Sven E. from comment #2)

the "choice" part is kind of specious don't you think ?

as for documentation, i'm not sure what you're looking for ... all Gentoo stages ever released by the project have used x86_64-* tuples.  all of our profiles default to x86_64-*.  all of our tools have only ever used x86_64-*.  it's pretty unlikely you'd use amd64-* by accident.  listing it in any documentation would serve just to confuse people rather than contribute anything useful imo.