Bug #70750 [NEW]: Compilation fail
| From: | dams@php.net | Date: | Tue, 20 Oct 2015 08:55:55 +0000 |
| Subject: | Bug #70750 [NEW]: Compilation fail | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-196699@lists.php.net to get a copy of this message | ||
From: dams
Operating system: OSX 10.10.5 (14F27)
PHP version: 7.0.0RC5
Package: *General Issues
Bug Type: Bug
Bug description:Compilation fail
Description:
------------
starting at commit ddb6d7801e5dfc2f196b549b8ad51376cdc1bc90, PHP fails
to compile on OSX.
Test script:
---------------
make clean
./buildconf --force
# configure phpng
env YACC=
brew --prefix bison27/bin/bison
./configure \
--prefix="/usr/local/opt/phpng" \
--with-config-file-path="/usr/local/etc/phpng" \
--with-config-file-scan-dir=/usr/local/etc/phpng/conf.d \
--enable-mbstring \
--enable-tokenizer \
--with-curl \
--with-sqlite3 \
--enable-json \
--disable-all
make -jsysctl -n hw.logicalcpu_max
Expected result:
----------------
PHP compiles fine
It does up to PHP up to commit f9e3461c02068c599ea9fbf6455860c8cc956bc6
Actual result:
--------------
Undefined symbols for architecture x86_64:
"_zend_ast_append_doc_comment", referenced from:
_zendparse in zend_language_parser.o
Undefined symbols for architecture x86_64:
"_zend_ast_append_doc_comment", referenced from:
_zendparse in zend_language_parser.o
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [sapi/cgi/php-cgi] Error 1
make: *** Waiting for unfinished jobs....
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [sapi/cli/php] Error 1
Undefined symbols for architecture x86_64:
"_zend_ast_append_doc_comment", referenced from:
_zendparse in zend_language_parser.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [sapi/phpdbg/phpdbg] Error 1
--
Edit bug report at https://bugs.php.net/bug.php?id=70750&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70750&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70750&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70750&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70750&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70750&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70750&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70750&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70750&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70750&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70750&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70750&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70750&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70750&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70750&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70750&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70750&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70750&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70750&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70750&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70750&r=mysqlcfg