tags 527096 + patch thanks * Kurt Roeckx | 2009-05-05 18:27:38 [+0200]:
>> ormat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute >> -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses >> -fno-exceptions -fvisibility=hidden -pthread -I/usr/include/glib-2.0 >> -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include -g -Wall -O2 -O2 >> -MT JavaScriptCore/jit/libJavaScriptCore_la-JITArithmetic.lo -MD -MP -MF >> JavaScriptCore/jit/.deps/libJavaScriptCore_la-JITArithmetic.Tpo -c -o >> JavaScriptCore/jit/libJavaScriptCore_la-JITArithmetic.lo `test -f >> 'JavaScriptCore/jit/JITArithmetic.cpp' || echo >> '../'`JavaScriptCore/jit/JITArithmetic.cpp >> ../JavaScriptCore/jit/JITArithmetic.cpp: Assembler messages: >> ../JavaScriptCore/jit/JITArithmetic.cpp:79: Error: suffix or operands >> invalid for `push' >> ../JavaScriptCore/jit/JITArithmetic.cpp:79: Error: suffix or operands >> invalid for `pop' >> make[2]: *** [JavaScriptCore/jit/libJavaScriptCore_la-JITArithmetic.lo] >> Error 1 >> make[2]: Leaving directory `/build/buildd/webkit-1.1.6/build' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/build/buildd/webkit-1.1.6/build' >> make: *** [build-stamp] Error 2 >> dpkg-buildpackage: failure: debian/rules build gave error exit status 2 The code is 32bit asm and tests for SSE2. All x86_64 boxes have SSE2 afaik. The attached patch fixes the build issue. However I can't test the result because I run OOM in the final link... >Kurt Sebastian
--- a/JavaScriptCore/jit/JITArithmetic.cpp +++ b/JavaScriptCore/jit/JITArithmetic.cpp @@ -44,7 +44,7 @@ using namespace std; -#if PLATFORM(MAC) +#if PLATFORM(MAC) || defined(__x86_64__) static inline bool isSSE2Present() {