Comments (4)
For some reason upgrading from CreateDefaultPlatform()
to NewDefaultPlatform()
doesn't work well.
Hello world example throws:
/home/vagrant/php-v8/scripts/test_v8/hello_world.cpp:21: undefined reference to `v8::platform::NewDefaultPlatform(int, v8::platform::IdleTaskSupport, v8::platform::InProcessStackDumping, std::unique_ptr<v8::TracingController, std::default_delete<v8::TracingController> >)'
Extension itself is unable to load:
/home/vagrant/.phpbrew/php/7.2-debug/bin/php: symbol lookup error: /home/vagrant/php-v8/modules/v8.so: undefined symbol: _ZN2v88platform18NewDefaultPlatformEiNS0_15IdleTaskSupportENS0_21InProcessStackDumpingESt10unique_ptrINS_17TracingControllerESt14default_deleteIS4_EE
After spending some time on troubleshooting, I think we need more eyes on this. I posted to v8-users mailing list (https://groups.google.com/forum/#!topic/v8-users/Jb1VSouy2Z0).
from php-v8.
It came up that the issue was in how libv8 was build (it wasn't build in a relocatable way and thus wasn't quite good for packaging).
from php-v8.
Done in #87. Thanks for taking care!
from php-v8.
Thank you 👍
Happy New Year!
from php-v8.
Related Issues (20)
- Write docs on how to use caching and snapshots HOT 2
- Add support for BigInt API HOT 1
- Call to undefined method V8\ObjectValue::value() HOT 2
- Reflect changes to libv8 PPA layout
- Add support for near-heap-limit callback HOT 1
- PHP API HOT 2
- Rep 404 HOT 2
- Hello, can you tell me how to compile v8js? HOT 3
- what is the difference HOT 2
- Still maintained? HOT 1
- it is not installing - PHP 7.4 / umbuntu server 18.4 HOT 2
- Create and publish docker image for php-v8 HOT 2
- V8Js::executeString HOT 4
- v8::Proxy API has changed (V8 6.5.164) HOT 6
- Warning: Calling <<-EOS.undent is deprecated HOT 2
- Resolving/rejecting Promise in non-pending state leads to segfault HOT 2
- GetOwnPropertyNames and GetPropertyNames should return Strings
- Implement v8::Object::SetLazyDataProperty.
- Add BigInt64Array, BigUint64Array
- Script cache creating is broken after bumping v8 version to 6.6.313 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-v8.