GNU bug report logs -
#68202
[PATCH 0/5] Add support for x86_64-linux-gnux32
Previous Next
Reported by: Efraim Flashner <efraim <at> flashner.co.il>
Date: Tue, 2 Jan 2024 07:27:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
Message #37 received at 68202 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Mon, Jan 08, 2024 at 10:20:36AM +0100, Simon Tournier wrote:
> Hi,
>
> On Tue, 2 Jan 2024 at 08:29, Efraim Flashner <efraim <at> flashner.co.il> wrote:
>
> > +(define* (target-x32? #:optional (target (or (%current-target-system)
> > + (%current-system))))
> > + "Is the architecture of TARGET a variant of Intel/AMD's 64-bit
> > +architecture (x86_64) using 32-bit data types?"
> > + (and (target-x86-64? target)
> > + (string-suffix? "gnux32" target)))
> > +
> > (define* (target-x86? #:optional (target (or (%current-target-system)
> > (%current-system))))
> > (or (target-x86-32? target) (target-x86-64? target)))
>
> Why not add it to target-x86-32? ?
It won't run on 32-bit only systems.
The preprocessor macro test is __x86_64__ and __ILP32__
I wasn't exactly sure where to put it, but ld.so --help gave the output
with the glibc-hwcaps optimization paths exactly like x86_64-linux and
pretty much every other piece of software which needed adjusting for it
stressed that it was x86_64.
There's a #debian-x32 channel on libera.chat, they might have some
suggestions about tagging it as 32-bit or 64-bit. As-is it's currently
labeled as 64-bit.
--
Efraim Flashner <efraim <at> flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 1 year and 136 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.