I am compiling on Linux on a regular intel x64 processor. After following the build instructions using GN, the v8_sample_shell process works in addition to the other sample programs as intended.
However, when I try to compile things on my own, linking to all the libv8_* and icu libraries, everything compiles correctly but I get the following strange result:
V8 version 5.9.0 (candidate) [sample shell]
> function a(x) { return x + 5; }
> a(3)
NaN
The exact same snippet using the v8_sample_process gives me the correct output of 8. I've verified with more experimentation that seemingly all function arguments become "undefined" with the version I've compiled. What gives? Am I missing a compile definition or step somewhere?