[Webkit-unassigned] [Bug 97587] [Qt] Fix the LLInt build on Mac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 26 07:12:11 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=97587





--- Comment #1 from Simon Hausmann <hausmann at webkit.org>  2012-10-26 07:13:21 PST ---
The error is: 

Compiling /Users/torarne/dev/webkit/wip/Source/JavaScriptCore/profiler/ProfileGenerator.cpp
In file included from /Users/torarne/dev/webkit/wip/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:465:
generated/LLIntAssembly.h:15:13: error: expected ')'
    "\tjs " LOCAL_LABEL_STRING(_offlineasm_prologue__continue) "\n"
            ^
generated/LLIntAssembly.h:3:1: note: to match this '('
OFFLINE_ASM_BEGIN
^
/Users/torarne/dev/webkit/wip/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:441:33: note: expanded from macro 'OFFLINE_ASM_BEGIN'
#define OFFLINE_ASM_BEGIN   asm (
                                ^
1 error generated.
make[4]: *** [obj/debug/llint/LowLevelInterpreter.o] Error 1

and I think the fix is probably:


diff --git a/Source/WTF/wtf/InlineASM.h b/Source/WTF/wtf/InlineASM.h
index 37069a7..0a2fe78 100644
--- a/Source/WTF/wtf/InlineASM.h
+++ b/Source/WTF/wtf/InlineASM.h
@@ -77,7 +77,7 @@
 // FIXME: figure out how this works on all the platforms. I know that
 // on ELF, the preferred form is ".Lstuff" as opposed to "Lstuff".
 // Don't know about any of the others.
-#if PLATFORM(MAC)
+#if OS(DARWIN)
 #define LOCAL_LABEL_STRING(name) "L" #name
 #elif   OS(LINUX)               \
      || OS(FREEBSD)             \

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list