Hi Roger,

On Sun, Jul 31, 2005 at 05:22:15PM +0100, Roger Leigh wrote:
> On Sun, Jul 31, 2005 at 04:54:14PM +0100, Roger Leigh wrote:
> > /tmp/buildd/atlas-3.2.1ln/include/contrib/camm_dpa.h:766: error: memory 
> > input 2 is not directly addressable

I've been able to compile this file with the attached patch.

However, I have some troubles building the package:
The first "debuild -uc -us" fails with (before any compilation):
        Looking for BLAS (this may take a while):
        make: *** [bin/Linux_3dnow_static/Make.inc] Error 1
        debuild: fatal error at line 765:
        dpkg-buildpackage failed!

Then, a second "debuild -uc -us" compiles some files, then install
libblas.a in the debian/tmp directory, and then I have the same failure:
        Looking for BLAS (this may take a while):
        make: *** [bin/Linux_3dnow_static/Make.inc] Error 1
        debuild: fatal error at line 765:
        dpkg-buildpackage failed!

Any idea? 

hth,
-- 
Nekral
--- /tmp/camm_dpa.h     2005-08-06 22:12:52.000000000 +0200
+++ include/contrib/camm_dpa.h  2005-08-06 22:27:38.000000000 +0200
@@ -762,6 +762,9 @@
 #define fixm c
 #endif    
     NO_INLINE;
+    int stride_size = stride*sizeof(*fixm);
+    int lda_size = lda*sizeof(*a);
+    int len_size = len*sizeof(*movm)/sizeof(float);
 
     ASM (
 
@@ -884,8 +887,8 @@
         "popl %%ebx\n\t"
 
 
-        ::"m" (movm),"m" (fixm),"m" (stride*sizeof(*fixm)),"m" (a),"m" 
(lda*sizeof(*a)),
-          "m" (len*sizeof(*movm)/sizeof(float))
+        ::"m" (movm),"m" (fixm),"m" (stride_size),"m" (a),"m" (lda_size),
+          "m" (len_size)
 
 #ifdef SCPLX
         ,"m" (w)

Reply via email to