Status: New
Owner: ----

New issue 2157 by [email protected]: v8 uses target CFLAGS to build host files, and fails when they are run
http://code.google.com/p/v8/issues/detail?id=2157

V8 is built as part of Chrome on ChromeOS. As part of the build process, v8 builds binaries like v8_shell. These binaries are executed on the host.

ChromeOS passes target CFLAGS by running gyp with release_extra_cflags="<flags here>". When these flags:

-fprofile-generate -fripa

are passed this way, the v8_shell that gets produced segfaults because it is trying to dump profile data when it runs.

V8 should not use release_extra_cflags for binaries that are going to be run on the host.


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to