Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 315847 Details for
Bug 421817
dev-libs/nss-3.13.5 fails to build with ABI=x32
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for x32 support
nss-3.13.5-x32.patch (text/plain), 1.76 KB, created by
Ambroz Bizjak
on 2012-06-20 13:28:36 UTC
(
hide
)
Description:
patch for x32 support
Filename:
MIME Type:
Creator:
Ambroz Bizjak
Created:
2012-06-20 13:28:36 UTC
Size:
1.76 KB
patch
obsolete
>diff -urN nss-3.13.5.orig/mozilla/security/coreconf/Linux.mk nss-3.13.5/mozilla/security/coreconf/Linux.mk >--- nss-3.13.5.orig/mozilla/security/coreconf/Linux.mk 2012-06-20 10:52:05.376104148 +0000 >+++ nss-3.13.5/mozilla/security/coreconf/Linux.mk 2012-06-20 11:52:46.206281074 +0000 >@@ -65,11 +65,18 @@ > ifeq ($(OS_TEST),x86_64) > ifeq ($(USE_64),1) > CPU_ARCH = x86_64 >+ ARCHFLAG = -m64 >+else >+ifeq ($(USE_x32),1) >+ OS_REL_CFLAGS = -Di386 >+ CPU_ARCH = x86 >+ ARCHFLAG = -mx32 > else > OS_REL_CFLAGS = -Di386 > CPU_ARCH = x86 > ARCHFLAG = -m32 > endif >+endif > else > ifeq ($(OS_TEST),sparc64) > CPU_ARCH = sparc >diff -urN nss-3.13.5.orig/mozilla/security/nss/lib/freebl/Makefile nss-3.13.5/mozilla/security/nss/lib/freebl/Makefile >--- nss-3.13.5.orig/mozilla/security/nss/lib/freebl/Makefile 2012-06-20 10:52:05.418104156 +0000 >+++ nss-3.13.5/mozilla/security/nss/lib/freebl/Makefile 2012-06-20 11:54:48.935287040 +0000 >@@ -215,12 +215,16 @@ > MPI_SRCS += mpi_amd64.c mp_comba.c > endif > ifeq ($(CPU_ARCH),x86) >- ASFILES = mpi_x86.s >- DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE >- DEFINES += -DMP_ASSEMBLY_DIV_2DX1D >- DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN >- # The floating point ECC code doesn't work on Linux x86 (bug 311432). >- #ECL_USE_FP = 1 >+ ifeq ($(USE_x32),1) >+ DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN >+ else >+ ASFILES = mpi_x86.s >+ DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE >+ DEFINES += -DMP_ASSEMBLY_DIV_2DX1D >+ DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN >+ # The floating point ECC code doesn't work on Linux x86 (bug 311432). >+ #ECL_USE_FP = 1 >+ endif > endif > ifeq ($(CPU_ARCH),arm) > DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
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 421817
:
315683
| 315847 |
315849
|
315851