Hello,
Compilation errors are totally not expected and
`treat_warnings_as_errors=false` shouldn't be necessary. Did you run
`gclient sync`?
> I also noticed that the v8_monolithic is only in the release
configuration. Does that mean the debug build of v8_monolithic is not
supported well?
The file
Hi Igor and all,
Does anyone get a chance to try the Hello World with the debug version
of *libv8_monolith.a
from 12.3.x or 12.4.x?*
On Mon, May 6, 2024 at 11:11 AM dong tommy wrote:
> I also noticed that the v8_monolithic is only in the release
> configuration. Does that mean the debug build
I also noticed that the v8_monolithic is only in the release configuration.
Does that mean the debug build of v8_monolithic is not supported well?
...
'arm64.release.sample': 'release_arm64_sample',
'x64.release.sample': 'release_x64_sample',
...
'release_arm64_sample': [
'release', 'arm64',
Corrected the step 4:
g++ samples/hello-world.cc -o hello-world \
-I. -I./include \
-L./out.gn/x64.debug/obj -lv8_monolith -ldl \
-std=c++17 -pthread -std=c++17 -fno-rtti -g
The same crash occurs:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=EXC_I386_GPFLT)
Update some steps:
- Before step 2, I did "ninja -C out.gn/x64.debug -t clean".
- Correct the copy issue step 4:
4. g++ samples/hello-world.cc -o hello-world \
-I. -I./include \
-L./out.gn/x64.debug/obj -lv8_monolith -lv8_libbase -lv8_libplatform -ldl \
-std=c++17 -pthread -std=c++17 -DV8_C
Thanks Igor!
I followed your suggestion to test `tools/dev/gm.py x64.optdebug.check` on
macOS 13. However, I got some warnings, such as:
In file included from
../../src/compiler/turboshaft/wasm-optimize-phase.cc:8:
../../src/compiler/turboshaft/branch-elimination-reducer.h:348:28: error:
variabl
I tried exactly the V8 version you mentioned (12.3.219) and I tried it with
your GN args too. All good.
On Fri, May 3, 2024 at 5:34 PM dong tommy wrote:
> Hi ish..., may I know which version of v8 you are using?
>
> 在2024年5月3日星期五 UTC+8 23:14:05 写道:
>
>> Hello,
>>
>> I tried to build both the ori
Hi ish..., may I know which version of v8 you are using?
在2024年5月3日星期五 UTC+8 23:14:05 写道:
> Hello,
>
> I tried to build both the original HelloWorld and the one with your
> modifications on Linux and on MacOS. No crashes.
> Something must be wrong with your build environment.
> Maybe try to clea
Thanks ish..., the release build for me is good, the crash only occurred
for the debug build with 12.3.219.
Anyway, let's try your method. Thanks again!
在2024年5月3日星期五 UTC+8 23:14:05 写道:
> Hello,
>
> I tried to build both the original HelloWorld and the one with your
> modifications on Linux and
Hello,
I tried to build both the original HelloWorld and the one with your
modifications on Linux and on MacOS. No crashes.
Something must be wrong with your build environment.
Maybe try to clean the build dir and start from scratch using a more
standard set of gn args: `tools/dev/gm.py x64.optdeb
Even without any change for Hello World, I still get the below crash when
exiting with v8 12.3.x:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=EXC_I386_GPFLT)
* frame #0: 0x0001003b2ad0
hello-world`v8::internal::Isolate::Exit(this=0x00010001) a
The args are:
'is_debug = true',
'enable_iterator_debugging = true',
'symbol_level = 1',
'target_cpu = "x64"',
'is_component_build = false',
'is_chrome_branded = false',
'treat_warnings_as_errors = false',
'is_clang = true',
'use_glib = false',
'use_custom_libcxx = false',
'use_custom_lib
12 matches
Mail list logo