* [gentoo-embedded] creating a new aarch64 keyword
@ 2014-01-09 17:03 Mike Frysinger
2014-01-10 22:02 ` Jason Cooper
2014-01-14 20:53 ` Mike Frysinger
0 siblings, 2 replies; 4+ messages in thread
From: Mike Frysinger @ 2014-01-09 17:03 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
originally i was going to reuse ARCH=arm for aarch64 (and that's what the code
in the tree is doing now). however, after playing with things and debating it
in my head, i think we should create a new ARCH=aarch64.
reasons:
- aarch64 is not a simple extension over arm at the ISA level like x86_64 is
over i686. it's a new ISA.
- hand written assembly language cannot be shared at all -- with x86_64, you
could sometimes write code that the assembler would automatically turn into
the right output (64bit/x32/32bit).
- the aarch64 gcc port itself does not support arm -- you need a complete
second toolchain
- the way the hardware is being designed, it is possible to have a CPU that
only supports aarch64 (no arm at all)
it does mean we'll have to re-seed ebuilds with KEYWORDS=aarch64, but that's
just how it goes.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] creating a new aarch64 keyword
2014-01-09 17:03 [gentoo-embedded] creating a new aarch64 keyword Mike Frysinger
@ 2014-01-10 22:02 ` Jason Cooper
2014-01-14 22:30 ` Mike Frysinger
2014-01-14 20:53 ` Mike Frysinger
1 sibling, 1 reply; 4+ messages in thread
From: Jason Cooper @ 2014-01-10 22:02 UTC (permalink / raw
To: gentoo-embedded
Mike,
On Thu, Jan 09, 2014 at 12:03:52PM -0500, Mike Frysinger wrote:
> originally i was going to reuse ARCH=arm for aarch64 (and that's what the code
> in the tree is doing now). however, after playing with things and debating it
> in my head, i think we should create a new ARCH=aarch64.
>
> reasons:
> - aarch64 is not a simple extension over arm at the ISA level like x86_64 is
> over i686. it's a new ISA.
> - hand written assembly language cannot be shared at all -- with x86_64, you
> could sometimes write code that the assembler would automatically turn into
> the right output (64bit/x32/32bit).
> - the aarch64 gcc port itself does not support arm -- you need a complete
> second toolchain
> - the way the hardware is being designed, it is possible to have a CPU that
> only supports aarch64 (no arm at all)
Agreed. What platform (if any) are you developing/testing on?
thx,
Jason.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] creating a new aarch64 keyword
2014-01-09 17:03 [gentoo-embedded] creating a new aarch64 keyword Mike Frysinger
2014-01-10 22:02 ` Jason Cooper
@ 2014-01-14 20:53 ` Mike Frysinger
1 sibling, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2014-01-14 20:53 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: Text/Plain, Size: 1271 bytes --]
On Thursday 09 January 2014 12:03:52 Mike Frysinger wrote:
> originally i was going to reuse ARCH=arm for aarch64 (and that's what the
> code in the tree is doing now). however, after playing with things and
> debating it in my head, i think we should create a new ARCH=aarch64.
>
> reasons:
> - aarch64 is not a simple extension over arm at the ISA level like x86_64
> is over i686. it's a new ISA.
> - hand written assembly language cannot be shared at all -- with x86_64,
> you could sometimes write code that the assembler would automatically turn
> into the right output (64bit/x32/32bit).
> - the aarch64 gcc port itself does not support arm -- you need a complete
> second toolchain
> - the way the hardware is being designed, it is possible to have a CPU
> that only supports aarch64 (no arm at all)
>
> it does mean we'll have to re-seed ebuilds with KEYWORDS=aarch64, but
> that's just how it goes.
i ended up renaming to KEYWORDS=arm64:
- it's the name Debian has picked
- it's the name the kernel uses
- the CrOS guys have a preference for that over aarch64
- when you sort KEYWORDS, these will end up next to each other
since it really doesn't matter to us (it's bikeshedding either way), i just
went with it
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-14 22:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-09 17:03 [gentoo-embedded] creating a new aarch64 keyword Mike Frysinger
2014-01-10 22:02 ` Jason Cooper
2014-01-14 22:30 ` Mike Frysinger
2014-01-14 20:53 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox