Open SalimF opened 3 years ago
Hi I tried the examples on the README page but I got this error php bin/compile.php test3.php
php bin/compile.php test3.php
PHP Fatal error: Uncaught FFI\Exception: Cannot instantiate FFI\CData of zero size in /var/www/sitemap/php-compiler/vendor/ircmaxell/php-llvm/ffi/llvm4.php:1602 Stack trace: #0 /var/www/sitemap/php-compiler/vendor/ircmaxell/php-llvm/ffi/llvm4.php(1602): FFI->new() #1 /var/www/sitemap/php-compiler/vendor/ircmaxell/php-llvm/lib/LLVMAbstract/Context.php(100): llvm\llvm->makeArray() #2 /var/www/sitemap/php-compiler/lib/JIT/Context.php(149): PHPLLVM\LLVMAbstract\Context->functionType() #3 /var/www/sitemap/php-compiler/lib/JIT/Context.php(101): PHPCompiler\JIT\Context->defineBuiltins() #4 /var/www/sitemap/php-compiler/lib/Runtime.php(105): PHPCompiler\JIT\Context->__construct() #5 /var/www/sitemap/php-compiler/lib/Runtime.php(153): PHPCompiler\Runtime->loadJitContext() #6 /var/www/sitemap/php-compiler/bin/compile.php(30): PHPCompiler\Runtime->standalone() #7 /var/www/sitemap/php-compiler/src/cli.php(89): run() #8 /var/www/sitemap/php-compiler/bin/compile.php(34): require_once('/var/www/sitema...') #9 {main} thrown in /var/www/sitemap/php-compiler/vendor/ircmaxell/php-llvm/ffi/llvm4.php on line 1602
I install all the requirement php modules and composer return me no error during the install , can someone explain to me how i got this errors .
Hi I tried the examples on the README page but I got this error
php bin/compile.php test3.php
I install all the requirement php modules and composer return me no error during the install , can someone explain to me how i got this errors .