Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 381826 Details for
Bug 512762
dev-libs/libgcrypt-1.6.1-r1[abi_x86_x32] - segmentation fault with gpg2 on x32 profile.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libgcrypt-1.6.1-x32-compat.patch
libgcrypt-1.6.1-x32-compat.patch (text/plain), 724 bytes, created by
Kristian Fiskerstrand (RETIRED)
on 2014-07-29 17:09:17 UTC
(
hide
)
Description:
libgcrypt-1.6.1-x32-compat.patch
Filename:
MIME Type:
Creator:
Kristian Fiskerstrand (RETIRED)
Created:
2014-07-29 17:09:17 UTC
Size:
724 bytes
patch
obsolete
>diff -r 9dc4a391dd6d mpi/generic/mpi-asm-defs.h >--- a/mpi/generic/mpi-asm-defs.h Tue Jul 29 16:44:47 2014 +0200 >+++ b/mpi/generic/mpi-asm-defs.h Tue Jul 29 16:47:43 2014 +0200 >@@ -1,7 +1,12 @@ >-/* This file defines some basic constants for the MPI machinery. We >- * need to define the types on a per-CPU basis, so it is done with >- * this file here. */ >+/* AMD64 compiled with x32 fails in assembly due to incorrect >+ * size of long detected. Using compiler information to detect >+ * this since it is no longer per-architecture >+ */ >+#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) && defined(__ILP32__) >+#define BYTES_PER_MPI_LIMB 8 >+#else > #define BYTES_PER_MPI_LIMB (SIZEOF_UNSIGNED_LONG) >+#endif > > >
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 512762
:
378510
|
378512
|
378514
|
381430
|
381434
|
381646
| 381826 |
381834
|
381836