Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 12 Dec 2017 10:27:23 +0000
From: Nicholas Wilson <>
To: "" <>
Subject: x32 shouldn't provide LP64 macros


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


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.