Summary: | Unable to build cairo 1.1.1 from cvs | ||
---|---|---|---|
Product: | cairo | Reporter: | Sergey Safonov <spoof> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED INVALID | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | high | CC: | billy.biggs, chris |
Version: | 1.1.1 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sergey Safonov
2005-11-18 01:04:52 UTC
Something is not working with the configure-time check for MMX support. If you look at configure.in, you'll find a block (copied below) which attempts to compile a small test program that includes mmintrin.h. From your report it appears that that test is succeeding, but the actual use of mmintrin.h is failing. So it would be helpful to look at config.log and compare the relevant portion to the failing part of the build to find out what the difference is. In the meantime, you should be able to workaround the problem by turning off the MMX stuff. I mentioned hacking config.h before, but that's not enough. Instead, you could add: have_mmx_intrinsics=no Just before the "if test $have_mmx_intrinsics = yes" line in configure.in. Good luck! -Carl dnl =========================================================================== dnl Check for MMX MMX_CFLAGS="-mmmx -Winline --param inline-unit-growth=10000 --param large-function\-growth=10000" have_mmx_intrinsics=no AC_MSG_CHECKING(For MMX/SSE intrinsics in the compiler) xserver_save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS $MMX_CFLAGS" AC_COMPILE_IFELSE([ #if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)) #error "Need GCC >= 3.4 for MMX intrinsics" #endif #include <mmintrin.h> int main () { __m64 v = _mm_cvtsi32_si64 (1); __m64 w = _mm_slli_si64 (v, 1); v = _mm_or_si64 (v, w); return _mm_cvtsi64_si32 (v); }], have_mmx_intrinsics=yes) CFLAGS=$xserver_save_CFLAGS AC_MSG_RESULT($have_mmx_intrinsics) if test $have_mmx_intrinsics = yes ; then AC_DEFINE(USE_MMX, 1, [use MMX compiler intrinsics]) else MMX_CFLAGS= fi AC_SUBST(MMX_CFLAGS) AM_CONDITIONAL(USE_MMX, test $have_mmx_intrinsics = yes) Can you confirm that when this file is compiled, it is adding -mmmx to the compile line? Marking as NEEDINFO, since this is pending input from original reporter. If possible, please test compiling again with more recent release or with a version from the git repository. Dowload instructions are available from http://cairographics.org/download/ Bugzilla Upgrade Mass Bug Change NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO. - benjsc fd.o Wrangler I think bug can be closed, because it doesn't reproduce anymore. Closing at Sergey's request - thanks for the report. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.