Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 407378 Details for
Bug 555598
dev-lang/ocaml fails to build on x32 (with patch)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check __LP64__ before assuming 64bit pointers on amd64
ocaml-3.12.1-x32.patch (text/plain), 879 bytes, created by
Josh Parsons
on 2015-07-22 10:02:48 UTC
(
hide
)
Description:
check __LP64__ before assuming 64bit pointers on amd64
Filename:
MIME Type:
Creator:
Josh Parsons
Created:
2015-07-22 10:02:48 UTC
Size:
879 bytes
patch
obsolete
>--- ocaml-3.12.1/byterun/signals_machdep.h.orig 2015-03-13 11:34:46.335858998 +0000 >+++ ocaml-3.12.1/byterun/signals_machdep.h 2015-03-13 11:12:03.915890556 +0000 >@@ -18,7 +18,7 @@ > #ifndef CAML_SIGNALS_MACHDEP_H > #define CAML_SIGNALS_MACHDEP_H > >-#if defined(__GNUC__) && defined(__i386__) >+#if defined(__GNUC__) && (defined(__i386__) || (defined(__x86_64__) && !defined(__LP64__))) > > #define Read_and_clear(dst,src) \ > asm("xorl %0, %0; xchgl %0, %1" \ >--- ocaml-3.12.1/otherlibs/num/bng.c.orig 2010-05-21 13:00:49.000000000 +0100 >+++ ocaml-3.12.1/otherlibs/num/bng.c 2015-03-13 11:18:00.421882298 +0000 >@@ -17,7 +17,7 @@ > #include "config.h" > > #if defined(__GNUC__) && BNG_ASM_LEVEL > 0 >-#if defined(BNG_ARCH_ia32) >+#if defined(BNG_ARCH_ia32) || (defined(BNG_ARCH_amd64) && !defined(__LP64__)) > #include "bng_ia32.c" > #elif defined(BNG_ARCH_amd64) > #include "bng_amd64.c"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 555598
: 407378 |
407696