problems crosscompiling jscoverage included in xulrunner

Questions, problems, suggestions, bug reports, and so on.
Post Reply
OpenELEC.tv
Posts: 1
Joined: 2010-07-12 4:05 am

problems crosscompiling jscoverage included in xulrunner

Post by OpenELEC.tv » 2010-07-12 4:09 am

Hi,

if i crosscompile jscoverage included in xulrunner-1.9.2 for x86_64 on an 32bit host i get the follow error. What can be wrong?

thanks

Stephan

Code: Select all

./host_jsoplengen /home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/.build/xulrunner/js/src/jsautooplen.h
jsapi.cpp
/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/toolchain/bin/x86_64-openelec-linux-gnu-g++ -o jsapi.o -c -I./../../dist/system_wrappers_js -include /home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/config/gcc_hidden.h -DOSTYPE=\"Linux\" -DOSARCH=Linux -DEXPORT_JS_API  -DJS_USE_SAFE_ARENA  -I/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src -I. -I./../../dist/include -I./../../dist/include/nsprpub  -I/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/.build/xulrunner/dist/include/nspr   -I/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src    -fPIC   -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Wno-long-long -pedantic -fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing    -DMOZILLA_CLIENT -include ./js-confdefs.h -Wp,-MD,.deps/jsapi.pp /home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jsapi.cpp
In file included from /home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jsinterp.h:48:0,
                 from /home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jscntxt.h:53,
                 from /home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jsapi.cpp:60:
/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jsfun.h: In function 'js_ArgsPrivateNative* js_GetArgsPrivateNative(JSObject*)':
/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jsfun.h:233:55: warning: converting to non-pointer type 'long unsigned int' from NULL
/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jsapi.cpp: In function 'JSBool JS_ConvertArgumentsVA(JSContext*, uintN, jsval*, const char*, __va_list_tag*)':
/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jsapi.cpp:289:46: error: cannot convert '__va_list_tag**' to '__va_list_tag (*)[1]' for argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**, JSBool, jsval**, __va_list_tag (*)[1])'
/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jsapi.cpp: In function 'jsval* JS_PushArgumentsVA(JSContext*, void**, const char*, __va_list_tag*)':
/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/js/src/jsapi.cpp:398:46: error: cannot convert '__va_list_tag**' to '__va_list_tag (*)[1]' for argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**, JSBool, jsval**, __va_list_tag (*)[1])'
make[5]: *** [jsapi.o] Error 1
make[5]: Leaving directory `/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/.build/xulrunner/js/src'
make[4]: *** [libs_tier_js] Error 2
make[4]: Leaving directory `/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/.build/xulrunner'
make[3]: *** [tier_js] Error 2
make[3]: Leaving directory `/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/.build/xulrunner'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2/.build/xulrunner'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/stephan/projects/openelec.git/build.OpenELEC-intel.x86_64.devel/xulrunner-1.9.2'
make: *** [build] Error 2

Ed
Posts: 120
Joined: 2008-10-11 6:52 pm

Re: problems crosscompiling jscoverage included in xulrunner

Post by Ed » 2010-07-12 2:32 pm

I'm not sure what you mean by "jscoverage included in xulrunner-1.9.2"? SpiderMonkey, not JSCoverage, is included in XULRunner. If you are having problems compiling SpiderMonkey it is probably best to ask in a forum for XULRunner or SpiderMonkey, e.g.,

http://groups.google.com/group/mozilla.dev.platform
http://groups.google.com/group/mozilla. ... .js-engine

Post Reply