Hi Team,

We are building v8 for mips32 platform with our own mips toolchain. We are 
getting failure with below trace during the run of mksnapshot. 

*FAILED: gen/embedded.cc gen/snapshot.cc *
*python ../../tools/run.py ./v8-qemu-wrapper.sh ./mksnapshot 
--turbo_instruction_scheduling --embedded_src gen/embedded.cc 
--embedded_variant Default --random-seed 314159265 --startup_src 
gen/snapshot.cc*
*#*
*# Fatal error in ../../src/runtime/runtime-object.cc, line 600*
*# Check failed: args[3]->IsSmi().*
*#*
*#*
*#*

Below is the function:

*RUNTIME_FUNCTION(Runtime_AddNamedProperty) {*
*  HandleScope scope(isolate);*
*  ..*
*  CONVERT_ARG_HANDLE_CHECKED(Object, value, 2);*
*  printf("[%d] [%d] [%d] [%d] [%d] [%d] [%d]\n",args[3], 
reinterpret_cast<intptr_t>(args[3]), kSmiTag, kSmiTagMask, 
sizeof(intptr_t), (reinterpret_cast<intptr_t>(args[3]) & 
::i::kSmiTagMask),args.length());*
*  CONVERT_PROPERTY_ATTRIBUTES_CHECKED(attrs, 3);*
*  ....*
*}*

On debugging further it seems, we are getting values for args as below:
*[783383221] [783383221] [0] [1] [4] [1] [4]*


Values printed for args[3] is coming as some overflowed integer. On working 
arm builds, it is coming as 6. This call is coming from array.js from below 
call:

*AddNamedProperty(GlobalArray.prototype, unscopablesSymbol, unscopables,*
*                  DONT_ENUM | READ_ONLY);*
  
When I manually tried as *6 instead of (DONT_ENUM | READ_ONLY)* values are 
getting retrived properly and build is passing.
When I manually tried as* 1|2 instead of (DONT_ENUM | READ_ONLY) *it is 
failing again.

What I am missing here. looks some register or gcc flag which I am missing. 
Please clarify.

Thanks.

Regards,
Madan

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to