Bug #70725 [NEW]: Symbol not found: _accel_move_code_to_huge_pages
From: doub1e dot 31415 at gmail dot com
Operating system: MacOSX 10.10.5
PHP version: 7.0.0RC5
Package: opcache
Bug Type: Bug
Bug description:Symbol not found: _accel_move_code_to_huge_pages
Description:
------------
I compiled PHP 7.0.0RC5 through php-build, and it ended successely.
But then, I tried to execute "php -v", it not work and following error
messages are displayed.
So I checked source files in github/php-src, I found a file that may
contained "include" code with wrong path.
The patch I'll send is one about it.
I searched reports alike before writing this, if it duplicated, I'll
apologize for it.
Test script:
---------------
php -v
Expected result:
----------------
PHP 7.0.0RC5 (cli) (built: Oct 15 2015 12:29:04) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
Actual result:
--------------
dyld: lazy symbol binding failed: Symbol not found:
_accel_move_code_to_huge_pages
Referenced from:
/Users/t308/.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/t308/.phpenv/versions/7.0.0RC5/lib/php/extensions/no-debug-non-zts-20151012/opcache.so
Expected in: flat namespace
[1] 25542 trace trap
--
Edit bug report at https://bugs.php.net/bug.php?id=70725&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70725&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70725&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70725&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70725&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70725&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70725&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70725&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70725&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70725&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70725&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70725&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70725&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70725&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70725&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70725&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70725&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70725&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70725&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70725&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70725&r=mysqlcfg
Thread (3 messages)
- doub1e dot 31415 at gmail dot com