You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm playing with hip-hop on ubuntu 12.04. Trying to compile the following code:
$ cat hello.php
$ ~/dev/hiphop-php/src/hphp/hphp --keep-tempdir=1 --log=3 hello.php --target=cpp --format=exe
running hphp...
creating temporary directory /tmp/hphp_wYXHi3 ...
parsing inputs...
parsing inputs took 0'00" (3 ms) wall time
pre-optimizing...
pre-optimizing took 0'00" (1 ms) wall time
analyze includes...
analyze includes took 0'00" (0 ms) wall time
inferring types...
inferring types took 0'00" (1 ms) wall time
post-optimizing...
post-optimizing took 0'00" (1 ms) wall time
creating CPP files...
creating CPP files took 0'00" (40 ms) wall time
compiling and linking CPP files...
/tmp/hphp_wYXHi3/sys/main.cpp: In function \xe2\x80\x98void reExec(const char_, char__)\xe2\x80\x99:\n/tmp/hphp_wYXHi3/sys/main.cpp:95:25: warning: ignoring return value of \xe2\x80\x98char_ realpath(const char_, char_)\xe2\x80\x99, declared with attribute warn_unused_result [-Wunused-result]\n
compiling and linking CPP files took 0'57" (57429 ms) wall time
all files saved in /tmp/hphp_wYXHi3 ...
running hphp took 0'57" (57605 ms) wall time
Warning appears but output file executes:
$ /tmp/hphp_wYXHi3/program --file=hello.php
done
If I change constant to 1024 code still compiles with the same warning but fails on execute.
Hello again,
I'm playing with hip-hop on ubuntu 12.04. Trying to compile the following code:
$ cat hello.php
$ ~/dev/hiphop-php/src/hphp/hphp --keep-tempdir=1 --log=3 hello.php --target=cpp --format=exe
running hphp...
creating temporary directory /tmp/hphp_wYXHi3 ...
parsing inputs...
parsing inputs took 0'00" (3 ms) wall time
pre-optimizing...
pre-optimizing took 0'00" (1 ms) wall time
analyze includes...
analyze includes took 0'00" (0 ms) wall time
inferring types...
inferring types took 0'00" (1 ms) wall time
post-optimizing...
post-optimizing took 0'00" (1 ms) wall time
creating CPP files...
creating CPP files took 0'00" (40 ms) wall time
compiling and linking CPP files...
/tmp/hphp_wYXHi3/sys/main.cpp: In function \xe2\x80\x98void reExec(const char_, char__)\xe2\x80\x99:\n/tmp/hphp_wYXHi3/sys/main.cpp:95:25: warning: ignoring return value of \xe2\x80\x98char_ realpath(const char_, char_)\xe2\x80\x99, declared with attribute warn_unused_result [-Wunused-result]\n
compiling and linking CPP files took 0'57" (57429 ms) wall time
all files saved in /tmp/hphp_wYXHi3 ...
running hphp took 0'57" (57605 ms) wall time
Warning appears but output file executes:
$ /tmp/hphp_wYXHi3/program --file=hello.php
done
If I change constant to 1024 code still compiles with the same warning but fails on execute.
$ /tmp/hphp_VvdG0N/program --file=hello.php
program: /home/eug/dev/hiphop-php/src/runtime/base/types.h:396: void HPHP::check_request_timeout(HPHP::ThreadInfo*): Assertion `false' failed.
Core dumped: Aborted
Aborted (core dumped)
Similar problem I had early on another machine and another instance of hip-hop. But it worked with 65535 and failed with 65536.
I do appreciate for any help.
Thank you!
The text was updated successfully, but these errors were encountered: