| Summary: | Build failure on OpenBSD/sparc64 within JSCJSValueInlines.h | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Landry Breuil <landry> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Bug Depends on: | |||
| Bug Blocks: | 124941 | ||
|
Description
Landry Breuil
2014-03-06 15:34:30 PST
After readding the #define goos that were removed in https://bugs.webkit.org/show_bug.cgi?id=124941 (people are still trying to use this hw..) the JSVALUE64 codepath is properly taken, and the failure is now different: Source/JavaScriptCore/runtime/VM.cpp: In constructor 'JSC::VM::VM(JSC::VM::VMType, JSC::HeapType)': Source/JavaScriptCore/runtime/VM.cpp:213:25: error: 'm_canUseAssembler' was not declared in this scope , m_canUseRegExpJIT(m_canUseAssembler && Options::useRegExpJIT()) Not surprising... too many assumptions are made on the fact that every arch has an asm implem. (In reply to comment #1) > After readding the #define goos that were removed in https://bugs.webkit.org/show_bug.cgi?id=124941 (people are still trying to use this hw..) the JSVALUE64 codepath is properly taken, and the failure is now different: > > Source/JavaScriptCore/runtime/VM.cpp: In constructor 'JSC::VM::VM(JSC::VM::VMType, JSC::HeapType)': > Source/JavaScriptCore/runtime/VM.cpp:213:25: error: 'm_canUseAssembler' was not declared in this scope > , m_canUseRegExpJIT(m_canUseAssembler && Options::useRegExpJIT()) > > Not surprising... too many assumptions are made on the fact that every arch has an asm implem. So this is likely because yarr jit is enabled (because llint cloop is enabled) and the code in VM.cpp assumes that assembler is on if yarr jit is on. If i leave assembler enabled on sparc64, it blows horribly: ./Source/JavaScriptCore/assembler/MacroAssembler.h:66:2: error: #error "The MacroAssembler is not supported on this platform." #error "The MacroAssembler is not supported on this platform." This is just https://bugs.webkit.org/show_bug.cgi?id=113638 over and over again Another possibility seem to disable yarr jit enabling if llintcloop is enabled, the build seems to go much further within the js engine: -#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) +#if !defined(ENABLE_YARR_JIT) && ENABLE(JIT) #define ENABLE_YARR_JIT 1 |