mohitsh / jslibs

Automatically exported from code.google.com/p/jslibs
0 stars 0 forks source link

'make all' fails on ubuntu 8.04 hardy #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compile halts with the below.

Wgcc -c -Wall -O3 -s -funroll-loops -I../../libs/js/Linux_opt_32/
-I../../libs/js/src -m32   -fno-exceptions -fno-rtti -felide-constructors
-o Linux_opt_32/stdafx.o stdafx.cpp
gcc -Wall -O3 -s -funroll-loops -I../../libs/js/Linux_opt_32/
-I../../libs/js/src -m32   -fno-exceptions -fno-rtti -felide-constructors
-fpic -o Linux_opt_32/jsstd.so -shared -Wl,-soname,Linux_opt_32/jsstd.so
Linux_opt_32/buffer.o Linux_opt_32/main.o Linux_opt_32/map.o
Linux_opt_32/operationLimitException.o Linux_opt_32/pack.o
Linux_opt_32/sandbox.o Linux_opt_32/static.o Linux_opt_32/stdafx.o
-Wl,-Bstatic  -Wl,-Bdynamic  -Wl,-Bdynamic -L../../libs/js/Linux_opt_32/
-lmozjs
make[1]: Leaving directory `/opt/home/pete/jslibs/src/jsstd'
make -C src/jsdebug all BUILD=opt BITS=32
DEST_DIR=/opt/home/pete/jslibs/Linux_32_opt/
make[1]: Entering directory `/opt/home/pete/jslibs/src/jsdebug'
mkdir -p Linux_opt_32/
gcc -c -Wall -O3 -s -funroll-loops -I../../libs/js/Linux_opt_32/
-I../../libs/js/src -m32   -fno-exceptions -fno-rtti -felide-constructors
-o Linux_opt_32/Debugger.o Debugger.cpp
Debugger.cpp: In function ‘JSBool Constructor(JSContext*, JSObject*, uintN,
jsval*, jsval*)’:
Debugger.cpp:331: error: jump to label ‘bad’
Debugger.cpp:319: error:   from here  
Debugger.cpp:322: error:   crosses initialization of ‘Private* pv’
Debugger.cpp: In function ‘JSBool _ToggleBreakpoint(JSContext*, JSObject*,
uintN, jsval*, jsval*)’:
Debugger.cpp:375: error: jump to label ‘bad’
Debugger.cpp:341: error:   from here  
Debugger.cpp:363: error:   crosses initialization of ‘unsigned int
effectiveLineno’
Debugger.cpp:353: error:   crosses initialization of ‘JSScript* script’
Debugger.cpp:352: error:   crosses initialization of ‘Private* pv’
Debugger.cpp:352: warning: unused variable ‘pv’
Debugger.cpp: In function ‘JSBool _Stack(JSContext*, JSObject*, uintN,
jsval*, jsval*)’:
Debugger.cpp:443: error: jump to label ‘bad’
Debugger.cpp:395: error:   from here  
Debugger.cpp:430: error:   crosses initialization of ‘JSObject* scope’
Debugger.cpp:426: error:   crosses initialization of ‘jsbytecode* pc’
Debugger.cpp:425: error:   crosses initialization of ‘JSScript* script’
Debugger.cpp:420: error:   crosses initialization of ‘JSObject* stackItem’
Debugger.cpp:403: error:   crosses initialization of ‘int currentDepth’
Debugger.cpp: In function ‘JSBool _scriptList(JSContext*, JSObject*, jsval,
jsval*)’:
Debugger.cpp:456: warning: unused variable ‘pv’
Debugger.cpp: In function ‘JSBool _InitializeClass(JSContext*, JSObject*)’:
Debugger.cpp:556: warning: unused variable ‘_free’
../common/jsClass.h: At global scope: 
../common/jsClass.h:217: warning: ‘JSBool RemoveClass(JSContext*,
JSClass*)’ defined but not used
Debugger.cpp:159: warning: ‘JSTrapStatus ThrowHookHandler(JSContext*,
JSScript*, jsbytecode*, jsval*, void*)’ defined but not used
make[1]: *** [Linux_opt_32/Debugger.o] Error 1
make[1]: Leaving directory `/opt/home/pete/jslibs/src/jsdebug'
make: *** [src/jsdebug] Error 2

Original issue reported on code.google.com by pete%pol...@gtempaccount.com on 10 Mar 2009 at 9:17

GoogleCodeExporter commented 9 years ago
Now (r2331), compilation issues should be fixed. Thanks for having reported 
them.

Original comment by sou...@gmail.com on 10 Mar 2009 at 10:30