Bug #70724 [Opn]: Undefined Symbols from opcache.so on Mac OS X 10.10
Edit report at https://bugs.php.net/bug.php?id=70724&edit=1
ID: 70724
Updated by: requinix@php.net
Reported by: for-bugs at hnw dot jp
Summary: Undefined Symbols from opcache.so on Mac OS X 10.10
Status: Open
Type: Bug
Package: opcache
Operating System: Mac OS X
PHP Version: 7.0.0RC5
Block user comment: N
Private report: N
New Comment:
Note that #70725 has a potential patch attached to it.
Previous Comments:
------------------------------------------------------------------------
[2015-10-16 10:45:51] requinix@php.net
Related To: Bug #70725
------------------------------------------------------------------------
[2015-10-16 07:47:52] for-bugs at hnw dot jp
Description:
------------
I built and ran PHP 7.0.0RC5 on Mac OS X 10.10.
Then "Symbol not found" error occurred.
On the same machine, 7.0.0RC2 runs correctly.
The correct binary can be built by "./configure --disable-huge-code-pages".
On Mac OS X, "HAVE_HUGE_CODE_PAGES" should be undefined.
Test script:
---------------
<?php
echo 1;
Expected result:
----------------
1
Actual result:
--------------
dyld: lazy symbol binding failed: Symbol not found: _accel_move_code_to_huge_pages
Referenced from:
/Users/hnw/.phpenv/versions/7.0.0RC5/lib/php/extensions/no-debug-non-zts-20151012/opcache.so
Expected in: flat namespace
dyld: Symbol not found: _accel_move_code_to_huge_pages
Referenced from:
/Users/hnw/.phpenv/versions/7.0.0RC5/lib/php/extensions/no-debug-non-zts-20151012/opcache.so
Expected in: flat namespace
Trace/BPT trap: 5
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70724&edit=1
Thread (5 messages)