[Bug 186396] www/webkit-gtk2 fails to build on sparc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 22 23:59:56 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186396

--- Comment #2 from craig001 at lerwick.hopto.org ---
the later webkit gtk2 2.4.8 build errors out with;

./Source/JavaScriptCore/assembler/MacroAssembler.h:62:2: error: #error "The
MacroAssembler is not supported on this platform."

if I modify the port Makefile and add(disable asm);

.if ${ARCH} == sparc64
CONFIGURE_ARGS += --disable-introspection --disable-optimizations --disable-jit 
CPPFLAGS += -DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0
.else
CONFIGURE_ARGS+=--enable-introspection
.endif 

build errors out with;

In file included from ./Source/JavaScriptCore/runtime/Operations.h:29:0,
                 from ./Source/JavaScriptCore/bytecode/CodeBlock.h:59,
                 from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:29:
./Source/JavaScriptCore/runtime/JSCJSValueInlines.h: In constructor
'JSC::JSValue::JSValue(JSC::JSCell*)':
./Source/JavaScriptCore/runtime/JSCJSValueInlines.h:201:53: error: cast from
'JSC::JSCell*' to 'int32_t {aka int}' loses precision [-fpermissive]
     u.asBits.payload = reinterpret_cast<int32_t>(ptr);
                                                     ^
./Source/JavaScriptCore/runtime/JSCJSValueInlines.h: In constructor
'JSC::JSValue::JSValue(const JSC::JSCell*)':
./Source/JavaScriptCore/runtime/JSCJSValueInlines.h:210:74: error: cast from
'JSC::JSCell*' to 'int32_t {aka int}' loses precision [-fpermissive]
     u.asBits.payload = reinterpret_cast<int32_t>(const_cast<JSCell*>(ptr));

I am now stuck  :-/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list