I'm committing the fix for src/mesa/sparc/xform.S to the Mesa 7.6 branch. The fix for debian/rules would go into the debian tree, I guess. (it doesn't exist in Mesa).
-Brian 2009/12/11 Aurelien Jarno <aure...@debian.org>: > Package: mesa > Version: 7.6.1~rc2-1 > Severity: normal > Tags: patch > > mesa fails to build on sparc64 due to some 64-bit conditional in > assembly code not being enabled. The patch below fixes the problem. It > also enable the ffb driver on this architecture. > > > diff -u mesa-7.6.1~rc2/debian/rules mesa-7.6.1~rc2/debian/rules > --- mesa-7.6.1~rc2/debian/rules > +++ mesa-7.6.1~rc2/debian/rules > @@ -76,6 +76,8 @@ > DRI_DRIVERS += i915 i965 sis unichrome > else ifeq ($(DEB_HOST_ARCH), sparc) > DRI_DRIVERS += ffb > + else ifeq ($(DEB_HOST_ARCH), sparc64) > + DRI_DRIVERS += ffb > endif > endif > endif > --- mesa-7.6.1~rc2.orig/src/mesa/sparc/xform.S > +++ mesa-7.6.1~rc2/src/mesa/sparc/xform.S > @@ -17,7 +17,7 @@ > > #include "sparc_matrix.h" > > -#if defined(SVR4) || defined(__SVR4) || defined(__svr4__) > +#if defined(SVR4) || defined(__SVR4) || defined(__svr4__) || > defined(__arch64__) > /* Solaris requires this for 64-bit. */ > .register %g2, #scratch > .register %g3, #scratch > > > -- System Information: > Debian Release: squeeze/sid > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores) > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > > > -- > To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Mesa3d-dev mailing list > mesa3d-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mesa3d-dev > -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org