-
-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling on i386 with USE_SSE seems thats fails #122
Comments
I force disable-sse {ix86} [1] to build package and submit pngquant-2.3.0 as an update for Fedora 21 (alpha) [2] |
Disabling SSE on 386 makes sense. What compiler (version) are you using? |
gcc-4.9.1-9.fc21 and gcc-c++ https://kojipkgs.fedoraproject.org//work/tasks/8942/7708942/root.log |
I've tested with GCC 4.9.1 on OS X and |
Anyway with last shared libraries stuff I don't need disable SSE anymore ! |
Hi, I'm trying compiling on i386 (i686) and fails on all Fedora version (19 to rawhide) with:
libimagequant.c: In function 'liq_attr_create_with_allocator':
libimagequant.c:162:9: error: inconsistent operand constraints in an 'asm'
cpuid(1, a, b, c, d);
the code in question is :
if USE_SSE
inline static bool is_sse_available()
{
if (defined(x86_64) || defined(__amd64))
return true;
else
int a,b,c,d;
cpuid(1, a, b, c, d);
return d & (1<<25); // edx bit 25 is set when SSE is present
endif
}
endif
I will try disable USE_SSE on i386 arches ...
Thanks
The text was updated successfully, but these errors were encountered: