I started updating the patch from comment #13 to hg tip, but so far on sparc64 it fails with :
js/src/jscntxt.cpp: In member function 'void js::ThreadData::sizeOfExcludingThis(size_t (*)(const void*, size_t), size_t*, size_t*, size_t*, size_t*)':
js/src/jscntxt.cpp:163: error: invalid use of incomplete type 'struct JSC::ExecutableAllocator'
js/src/jsprvtd.h:335: error: forward declaration of 'struct JSC::ExecutableAllocator'
js/src/jscntxt.h: In member function 'void JSRuntime::delete_(T*) [with T = JSC::ExecutableAllocator]':
js/src/jscntxt.cpp:125: instantiated from here
js/src/jscntxt.h:712: error: invalid use of incomplete type 'struct JSC::ExecutableAllocator'
js/src/jsprvtd.h:335: error: forward declaration of 'struct JSC::ExecutableAllocator'
js/src/jscntxt.h: In member function 'T* JSRuntime::new_() [with T = JSC::ExecutableAllocator]':
js/src/jscntxt.cpp:201: instantiated from here
js/src/jscntxt.h:711: error: invalid application of 'sizeof' to incomplete type 'JSC::ExecutableAllocator'
js/src/jscntxt.h:711: error: invalid use of incomplete type 'struct JSC::ExecutableAllocator'
js/src/jsprvtd.h:335: error: forward declaration of 'struct JSC::ExecutableAllocator'
Of course, it makes sense to me, since JSC::ExecutableAllocator is defined only if ENABLE_ASSEMBLER is set, and the chunk in js/src/Makefile.in makes it unset if ENABLE_YARR_JIT is not set. I'm now trying with that chunk out on sparc64 and will try various hacks.
if i get something that builds i'll post the patch for actual testing on ppc. I really wonder how m-c builds on ppc right now, what changed recently in that regard, and how TenFourFox does to build....
Another annoyance was the landing of bug #673188, which right now #errors out if ENABLE_YARR_JIT is unset (see RegExpObject.cpp, function checkSyntax()), pretty unfriendly. So far i've replaced it by a return true, but it's of course ugly.
I started updating the patch from comment #13 to hg tip, but so far on sparc64 it fails with :
js/src/jscntxt.cpp: In member function 'void js::ThreadData: :sizeOfExcludin gThis(size_ t (*)(const void*, size_t), size_t*, size_t*, size_t*, size_t*)': jscntxt. cpp:163: error: invalid use of incomplete type 'struct JSC::Executable Allocator' jsprvtd. h:335: error: forward declaration of 'struct JSC::Executable Allocator' :delete_ (T*) [with T = JSC::Executable Allocator] ': jscntxt. cpp:125: instantiated from here jscntxt. h:712: error: invalid use of incomplete type 'struct JSC::Executable Allocator' jsprvtd. h:335: error: forward declaration of 'struct JSC::Executable Allocator' Allocator] ': jscntxt. cpp:201: instantiated from here jscntxt. h:711: error: invalid application of 'sizeof' to incomplete type 'JSC::Executabl eAllocator' jscntxt. h:711: error: invalid use of incomplete type 'struct JSC::Executable Allocator' jsprvtd. h:335: error: forward declaration of 'struct JSC::Executable Allocator'
js/src/
js/src/
js/src/jscntxt.h: In member function 'void JSRuntime:
js/src/
js/src/
js/src/
js/src/jscntxt.h: In member function 'T* JSRuntime::new_() [with T = JSC::Executable
js/src/
js/src/
js/src/
js/src/
Of course, it makes sense to me, since JSC::Executable Allocator is defined only if ENABLE_ASSEMBLER is set, and the chunk in js/src/Makefile.in makes it unset if ENABLE_YARR_JIT is not set. I'm now trying with that chunk out on sparc64 and will try various hacks.
if i get something that builds i'll post the patch for actual testing on ppc. I really wonder how m-c builds on ppc right now, what changed recently in that regard, and how TenFourFox does to build....
Another annoyance was the landing of bug #673188, which right now #errors out if ENABLE_YARR_JIT is unset (see RegExpObject.cpp, function checkSyntax()), pretty unfriendly. So far i've replaced it by a return true, but it's of course ugly.