https://bugs.freedesktop.org/show_bug.cgi?id=67921
Priority: medium Bug ID: 67921 Assignee: mesa-dev@lists.freedesktop.org Summary: [bisected commit 883987] crosscompiling fails with util/u_cpu_detect.c:247:4: error: 'asm' undeclared (first use in this function) Severity: normal Classification: Unclassified OS: All Reporter: alexandre.f.dem...@gmail.com Hardware: Other Status: NEW Version: git Component: Other Product: Mesa Commit 883987503fc79691398eb024f37480ff083805a3 breaks crosscompilation when building with the following: baseExec="./autogen.sh --prefix=/usr \ --enable-debug \ --enable-osmesa \ --enable-gbm \ --enable-xvmc \ --enable-vdpau \ --enable-gles1 \ --enable-gles2 \ --enable-openvg \ --enable-xorg \ --enable-xa \ --enable-egl \ --enable-gallium-egl \ --enable-glx-tls \ --enable-texture-float \ --enable-wgl \ --with-gallium-drivers=r600,swrast,svga \ --with-dri-drivers= \ --with-egl-platforms=x11,drm,wayland" export CFLAGS='-m32' export CXXFLAGS='-m32' export LLVM_CONFIG='/usr/bin/llvm-config32' export PKG_CONFIG_PATH="/usr/lib/i386-linux-gnu/pkgconfig" Exec32="$baseExec --enable-32-bit --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu --libdir=/usr/lib/i386-linux-gnu --includedir=/usr/include/i386-linux-gnu" $Exec32 --- It fails with: CC util/u_cpu_detect.lo util/u_cpu_detect.c: In function 'sse2_has_daz': util/u_cpu_detect.c:247:4: error: 'asm' undeclared (first use in this function) asm volatile ("fxsave %0" :: "m" (fxarea)); ^ util/u_cpu_detect.c:247:4: note: each undeclared identifier is reported only once for each function it appears in util/u_cpu_detect.c:247:8: error: expected ';' before 'volatile' asm volatile ("fxsave %0" :: "m" (fxarea)); ^ make[3]: *** [util/u_cpu_detect.lo] Error 1 --- However, compiling normally for my 64bit architecture works fine. Bad commit 883987503fc79691398eb024f37480ff083805a3 util: try much harder to set DAZ flag Author Roland Scheidegger<srol...@vmware.com> Author date 8/5/13 9:30 PM -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev