error in record_bases, called from stack.js, when building --with-static-analysis on Mac

RESOLVED FIXED

Status

Firefox Build System
Source Code Analysis
RESOLVED FIXED
10 years ago
4 months ago

People

(Reporter: jorendorff, Unassigned)

Tracking

Other Branch

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
jstracer.cpp
/Users/jason/gcc-dehydra/installed/bin/g++-4.2 -o jstracer.o -c -I../../dist/include/system_wrappers -include /Users/jason/dev/moz/tracemonkey/config/gcc_hidden.h -DAVMPLUS_IA32 -DAVMPLUS_UNIX -DFEATURE_NANOJIT -DJS_TRACER -DOSTYPE=\"Darwin9.5.0\" -DOSARCH=Darwin -DEXPORT_JS_API  -DJS_USE_SAFE_ARENA  -I/Users/jason/dev/moz/tracemonkey/js/src -I.  -I../../dist/include   -I../../dist/include/js -I/Users/jason/dev/moz/tracemonkey/obj-ff-static-check/dist/include/nspr     -I/Users/jason/dev/moz/tracemonkey/obj-ff-static-check/dist/sdk/include -I/Users/jason/dev/moz/tracemonkey/js/src -I/usr/X11/include   -fPIC  -I/usr/X11/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -fno-strict-aliasing -fpascal-strings -fno-common -fshort-wchar -pthread -I/Developer/Headers/FlatCarbon -pipe  -DDEBUG -D_DEBUG -DDEBUG_jason -DTRACING -g -fplugin=/Users/jason/gcc-dehydra/dehydra-gcc/gcc_treehydra.so -fplugin-arg='/Users/jason/dev/moz/tracemonkey/xpcom/analysis/static-checking.js --topsrcdir=/Users/jason/dev/moz/tracemonkey --objdir=../.. --dehydra-modules=/Users/jason/dev/moz/tracemonkey/xpcom/analysis/final.js --treehydra-modules=/Users/jason/dev/moz/tracemonkey/xpcom/analysis/outparams.js,/Users/jason/dev/moz/tracemonkey/xpcom/analysis/stack.js,/Users/jason/dev/moz/tracemonkey/xpcom/analysis/flow.js,/Users/jason/dev/moz/tracemonkey/xpcom/analysis/jsstack.js '  -I/usr/X11/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/jstracer.pp /Users/jason/dev/moz/tracemonkey/js/src/jstracer.cpp
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:12: JS Exception: No base in this lazy object
:0:	#0: Error("No base in this lazy object")
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:12:	#1: unhandledLazyProperty("base")
/Users/jason/gcc-dehydra/dehydra-gcc/libs/gcc_compat.js:158:	#2: BINFO_VIRTUAL_P([object GCCNode])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/unstable/lazy_types.js:113:	#3: record_bases()
/Users/jason/dev/moz/tracemonkey/xpcom/analysis/stack.js:45:	#4: calculate()
/Users/jason/dev/moz/tracemonkey/xpcom/analysis/stack.js:101:	#5: isStack([object Object])
/Users/jason/dev/moz/tracemonkey/xpcom/analysis/stack.js:186:	#6: findconstructors([object GCCNode],[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:123:	#7: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#8: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#9: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#10: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#11: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#12: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#13: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#14: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#15: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#16: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#17: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#18: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#19: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:166:	#20: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:112:	#21: WALK_SUBTREE([object GCCNode])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:161:	#22: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:166:	#23: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#24: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:166:	#25: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#26: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:166:	#27: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:174:	#28: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:166:	#29: walk_tree([object GCCNode],findconstructors,(void 0),[object Array])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:112:	#30: WALK_SUBTREE([object GCCNode])
/Users/jason/gcc-dehydra/dehydra-gcc/libs/treehydra.js:161:	#31: walk_tree([object GCCNode],findconstructors)
/Users/jason/dev/moz/tracemonkey/xpcom/analysis/stack.js:198:	#32: process_cp_pre_genericize([object GCCNode])
/Users/jason/dev/moz/tracemonkey/xpcom/analysis/static-checking.js:86:	#33: process_cp_pre_genericize([object GCCNode])
gmake[1]: *** [jstracer.o] Error 1
gmake[1]: Leaving directory `/Users/jason/dev/moz/tracemonkey/obj-ff-static-check/js/src'
make: *** [default] Error 2

Comment 1

10 years ago
Created attachment 350628 [details] [diff] [review]
gcc42 stuff

Make gcc_compat.js more compatible with gcc42, some Mac maintenance.
Attachment #350628 - Flags: review?(tglek)

Updated

10 years ago
Attachment #350628 - Flags: review?(tglek) → review+

Comment 2

10 years ago
http://hg.mozilla.org/users/tglek_mozilla.com/dehydra-gcc/rev/008a5355ff38
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED

Updated

4 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.