Can we please keep these identifiers short? Currently all ARCH names areOn Thu, 2021-08-12 at 09:21 +0800, WANG Xuerui wrote:On Thu, 12 Aug 2021, Michał Górny wrote:
I would say this is mostly aesthetic matter, because we have equallyI think following upstream (i.e. "loongarch" convention) is better.
long ARCH names like "microblaze" or "openrisc" too. From a user's
perspective I'd personally prefer "loong" to save some typing, but
"loongarch" wouldn't hurt that much either.
We have already caused some mess with custom names like "arm64".
5 characters at most (except prefix, of course). The total length of the KEYWORDS line isn't the main issue here, but tools like eshowkw or
tables in the various web interfaces.
It is also in GLEP 53 if you need a formal reference:
"Note that no limit on the length of both fields in the keyword are
imposed. However, we cannot overemphasize our preference to keep
keywords small and sensible."
Ulrich
On Tue, 24 Aug 2021, WANG Xuerui wrote:
It seems the discussion has gone quiet for a while now, so I take that
we choose ARCH=loong over ARCH=loongarch according to GLEP 53?
If that doesn't receive much objection, I'll prepare and send the
first few eclass patches soon.
Thanks for the reminder!LGTMIt seems the discussion has gone quiet for a while now, so I take thatOn Tue, 24 Aug 2021, WANG Xuerui wrote:
we choose ARCH=loong over ARCH=loongarch according to GLEP 53?
If that doesn't receive much objection, I'll prepare and send theWe also need to update the conditional in eselect: https://gitweb.gentoo.org/proj/eselect.git/tree/libs/package-manager.bash.in#n70
first few eclass patches soon.
Does the GNU triplet (i.e. HOSTTYPE in bash) always use "loongarch" literally, or can it have some suffix?
On Tue, 24 Aug 2021, WANG Xuerui wrote:
According to their earlier reservation[1] and actual vendor system
behavior, there are 3 possible values:
- loongarch64
- loongarch32
- loongarchx32
Only the LP64 ABI is fully supported by the current upstream submission.
The "loongarch32" thing might NOT be compatible with the LP64 ABI,
instead it might be something embedded-oriented, even instruction
subsets supported might differ. The "loongarchx32" is for an
n32/x32-like ABI that doesn't exist yet, and probably will never get implemented.
Accordingly, I think we only have to care about "loongarch64" for now.
[1]: https://git.savannah.gnu.org/gitweb/?p=config.git;a=patch;h=c8ddc8472f8efcadafc1ef53ca1d863415fddd5f
Hi everyone,
<snip>
## Gentoo porting plans
I'm planning to take ARCH=loongarch for the port; and support the LP64
ABI
first. I'd like to support both LP64 and ILP32 ABIs, but that's not a priority.
The ABI flag might be named "ABI_LOONGARCH" but that's IMO a bit long
(pun
semi-intended); ARCH=loong and ABI_LOONG might be better, I'm open to suggestions.
Because much of the ABI and even some toolchain internals are going
through
VERY fierce debate and rework, obviously the port will remain
experimental
for a long time. Some minimal support should get in tree though; doing so would ease a lot of pain for experimentation. I already hacked my way to generate working crossdev toolchains, and is halfway towards a rootfs
with
working Python (and Portage). I've already independently ported
strace, and
plan to do the same to libffi in the coming days which would give me
Python.
I'll do all work in my own loongson-overlay first, and upstream these
when
appropriate. Eventually I hope to have working crossdev, qemu-user
emulation
and proper catalyst support.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 16:15:21 |
Calls: | 9,487 |
Calls today: | 6 |
Files: | 13,615 |
Messages: | 6,121,086 |