diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-10-22 04:04:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-10-22 04:04:07 +0000 |
commit | 9ab3076936832cb3f9d0f398d0ae696730be3c3b (patch) | |
tree | a846bc6beb9c0986a42076efba0e75cacc10237a /dev-libs/tomsfastmath/files | |
parent | old (diff) | |
download | gentoo-2-9ab3076936832cb3f9d0f398d0ae696730be3c3b.tar.gz gentoo-2-9ab3076936832cb3f9d0f398d0ae696730be3c3b.tar.bz2 gentoo-2-9ab3076936832cb3f9d0f398d0ae696730be3c3b.zip |
Fix building on x86 #152043.
(Portage version: 2.1.2_pre3-r5)
Diffstat (limited to 'dev-libs/tomsfastmath/files')
-rw-r--r-- | dev-libs/tomsfastmath/files/digest-tomsfastmath-0.05 | 2 | ||||
-rw-r--r-- | dev-libs/tomsfastmath/files/tomsfastmath-0.05-asm-relax-x86.patch | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/tomsfastmath/files/digest-tomsfastmath-0.05 b/dev-libs/tomsfastmath/files/digest-tomsfastmath-0.05 index 772d5e8cd235..0645e832ee03 100644 --- a/dev-libs/tomsfastmath/files/digest-tomsfastmath-0.05 +++ b/dev-libs/tomsfastmath/files/digest-tomsfastmath-0.05 @@ -1 +1,3 @@ MD5 0b4a0e82c06c5377368c2f6718b7f5f2 tfm-0.05.zip 318329 +RMD160 2321497af66088bd1935fd83abad3924117b976e tfm-0.05.zip 318329 +SHA256 62a36a9d7630b299cf2169899b9591b9fd5fa380bfb5272504ff3f4c900d4a09 tfm-0.05.zip 318329 diff --git a/dev-libs/tomsfastmath/files/tomsfastmath-0.05-asm-relax-x86.patch b/dev-libs/tomsfastmath/files/tomsfastmath-0.05-asm-relax-x86.patch new file mode 100644 index 000000000000..959dc0246166 --- /dev/null +++ b/dev-libs/tomsfastmath/files/tomsfastmath-0.05-asm-relax-x86.patch @@ -0,0 +1,16 @@ +relax input constraints for x86 so gcc doesnt error out: +fp_mul_comba.c:258: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' + +http://bugs.gentoo.org/152043 + +--- fp_mul_comba.c ++++ fp_mul_comba.c +@@ -53,7 +53,7 @@ + "addl %%eax,%0 \n\t" \ + "adcl %%edx,%1 \n\t" \ + "adcl $0,%2 \n\t" \ +- :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "m"(i), "m"(j) :"%eax","%edx","%cc"); ++ :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "g"(i), "g"(j) :"%eax","%edx","%cc"); + + #elif defined(TFM_X86_64) + /* x86-64 optimized */ |