From: Nicholas Wilson <nicholas.wilson@realvnc.com>
To: "musl@lists.openwall.com" <musl@lists.openwall.com>
Subject: x32 shouldn't provide LP64 macros
Date: Tue, 12 Dec 2017 10:27:23 +0000 [thread overview]
Message-ID: <AM6PR0502MB38788DC5334755747F8DD6F6E7340@AM6PR0502MB3878.eurprd05.prod.outlook.com> (raw)
Hi,
While working on the WebAssembly port, we noticed the following in arch/x32/bits/posix.h. It looks like the _POSIX_V{6,7}_LP64_OFF64 macros are defined, but surely x32 is an ILP32 architecture?
diff --git a/arch/x32/bits/posix.h b/arch/x32/bits/posix.h
index c37b94c1..30a38714 100644
--- a/arch/x32/bits/posix.h
+++ b/arch/x32/bits/posix.h
@@ -1,2 +1,2 @@
-#define _POSIX_V6_LP64_OFF64 1
-#define _POSIX_V7_LP64_OFF64 1
+#define _POSIX_V6_ILP32_OFFBIG 1
+#define _POSIX_V7_ILP32_OFFBIG 1
Best,
Nick
next reply other threads:[~2017-12-12 10:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-12 10:27 Nicholas Wilson [this message]
2017-12-15 2:24 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM6PR0502MB38788DC5334755747F8DD6F6E7340@AM6PR0502MB3878.eurprd05.prod.outlook.com \
--to=nicholas.wilson@realvnc.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).