Skip to content

Compilation problems with v8 6.8 #464

Closed as not planned
Closed as not planned
@rtlprmft

Description

@rtlprmft

During compilation, I get a lot of issues because BooleanValue takes isolate as an argument instead of v8_context and once replaced, it returns a Maybey rather than a bool that first have to be checked for contents. I also had to fix some other minor issues.

This happens with the nodejs-dev package on Ubunu 20.04 which contains v8 6.8.

After my fixes, still some tests fail (see attachment), most of them because they return int(0) and int(1) rather than bool(false) and bool(true)

executeString() and register*() seg fault. I am not sure whether this is related. For all other tests, I checked that it is the previously mentioned issue.

I attach the full report
php_test_results_20210322_1102.txt

I also attach a diff with the required changes to make it compile.
v8js.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions