[Webkit-unassigned] [Bug 113638] New: webkitgtk 2.0.0 fails to build on OpenBSD (and maybe others) powerpc/mips64el/sparc64

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 30 03:08:16 PDT 2013


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

           Summary: webkitgtk 2.0.0 fails to build on OpenBSD (and maybe
                    others) powerpc/mips64el/sparc64
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: landry at openbsd.org


As of now on those archs, build fails with :

rce/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp' || echo './'`Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
In file included from ./Source/JavaScriptCore/bytecode/ValueRecovery.h:31,
                 from ./Source/JavaScriptCore/bytecode/CodeOrigin.h:31,
                 from ./Source/JavaScriptCore/bytecode/CodeBlock.h:39,
                 from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:29:
./Source/JavaScriptCore/assembler/MacroAssembler.h:62:2: error: #error "The MacroAssembler is not supported on this platform."
In file included from /usr/include/g++/iosfwd:45,
                 from /usr/include/g++/bits/stl_algobase.h:70,
                 from /usr/include/g++/algorithm:65,
                 from ./Source/WTF/wtf/Alignment.h:25,
                 from ./Source/WTF/wtf/HashTable.h:25,
                 from ./Source/WTF/wtf/HashMap.h:24,
                 from ./Source/JavaScriptCore/runtime/JSCJSValue.h:31,
                 from ./Source/JavaScriptCore/heap/HandleTypes.h:29,
                 from ./Source/JavaScriptCore/runtime/WriteBarrier.h:30,
                 from ./Source/JavaScriptCore/runtime/PropertyStorage.h:29,
                 from ./Source/JavaScriptCore/runtime/IndexingHeader.h:29,
                 from ./Source/JavaScriptCore/runtime/ArrayConventions.h:24,
                 from ./Source/JavaScriptCore/runtime/JSArray.h:24,
                 from ./Source/JavaScriptCore/bytecode/ArrayProfile.h:29,
                 from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/usr/include/g++/powerpc-unknown-openbsd5.3/bits/c++locale.h: In function 'int std::__convert_from_v(int* const&, char*, int, const char*, 
...)':
/usr/include/g++/powerpc-unknown-openbsd5.3/bits/c++locale.h:81: warning: function might be possible candidate for 'printf' format attribut
e
In file included from ./Source/JavaScriptCore/bytecode/ValueRecovery.h:31,
                 from ./Source/JavaScriptCore/bytecode/CodeOrigin.h:31,
                 from ./Source/JavaScriptCore/bytecode/CodeBlock.h:39,
                 from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:29:
./Source/JavaScriptCore/assembler/MacroAssembler.h: At global scope:
./Source/JavaScriptCore/assembler/MacroAssembler.h:67: error: expected class-name before '{' token
./Source/JavaScriptCore/assembler/MacroAssembler.h:70: error: 'MacroAssemblerBase' has not been declared
./Source/JavaScriptCore/assembler/MacroAssembler.h:71: error: 'MacroAssemblerBase' has not been declared
./Source/JavaScriptCore/assembler/MacroAssembler.h:72: error: 'MacroAssemblerBase' has not been declared
./Source/JavaScriptCore/assembler/MacroAssembler.h:73: error: 'MacroAssemblerBase' has not been declared
./Source/JavaScriptCore/assembler/MacroAssembler.h:161: error: 'RegisterID' has not been declared
./Source/JavaScriptCore/assembler/MacroAssembler.h:166: error: 'Address' does not name a type
./Source/JavaScriptCore/assembler/MacroAssembler.h:171: error: 'RegisterID' has not been declared
./Source/JavaScriptCore/assembler/MacroAssembler.h:176: error: 'TrustedImm32' has not been declared

etc etc etc..

If i force-disable assembler/yarr jit with JSC_CPPFLAGS="-DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0" in the build env, it fails with :

./Source/WTF/wtf/MathExtras.h: In function 'bool std::signbit(double)':
./Source/WTF/wtf/MathExtras.h:112: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:406:
./DerivedSources/JavaScriptCore/LLIntAssembly.h: In static member function 'static JSC::JSValue JSC::LLInt::CLoop::execute(JSC:
:CallFrame*, JSC::OpcodeID, bool)':
./DerivedSources/JavaScriptCore/LLIntAssembly.h:2545: error: 'isnan' was not declared in this scope
./DerivedSources/JavaScriptCore/LLIntAssembly.h:2548: error: 'Double2Ints' was not declared in this scope
./DerivedSources/JavaScriptCore/LLIntAssembly.h:2834: error: 'isnan' was not declared in this scope
./DerivedSources/JavaScriptCore/LLIntAssembly.h:4736: error: 'isnan' was not declared in this scope


Help welcome. I suppose the logic for ENABLE_ASSEMBLER in Source/WTF/wtf/Platform.h is somewhat broken for those archs.

-- 
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