Bug #71007 [Com]: phar.php: unexpected '/' on line 20
Edit report at https://bugs.php.net/bug.php?id=71007&edit=1
ID: 71007
Comment by: cyrus at safe-mail dot net
Reported by: cyrus at safe-mail dot net
Summary: phar.php: unexpected '/' on line 20
Status: Open
Type: Bug
Package: Compile Failure
Operating System: Solaris 11 sparc
PHP Version: 7.0.0RC8
Block user comment: N
Private report: N
New Comment:
Sorry, I tried to generate a dump without success.
ulimit is set, but there is no dump generated.
valgrind is not installed on this server and I am only user.
-----------
> sapi/cli/php run-tests.php -P Zend/
Bus Error (core dumped)
-----------
Maybe it's cause of the last Zend patch:
https://bugs.php.net/bug.php?id=71006
I will try to compile with PHP7 final release...
Previous Comments:
------------------------------------------------------------------------
[2015-12-01 15:24:31] nikic@php.net
Sorry, I meant "sapi/cli/php run-tests.php -P Zend/", which is really just "make
test". Can you get a stack trace on the bus error you're seeing? E.g. using "valgrind
sapi/cli/php run-tests.php -P".
------------------------------------------------------------------------
[2015-12-01 14:14:11] cyrus at safe-mail dot net
There is no augment '-P' in sapi/cli/php.
Did you mean '-F'?
---------
> sapi/cli/php -f run-tests.php Zend/
Bus Error (core dumped)
---------
> sapi/cli/php -F run-tests.php Zend/
(no output, script didn't finish)
---------
> sapi/cli/php -v
PHP 7.0.0RC8 (cli) (built: Dec 1 2015 14:48:58) ( ZTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
---------
This issue is not really important for us. We did not use PHP on Solaris Sparc any more, but all
Builds (RHEL 6/7, Solaris 11 x86/sparc) run with the same configuration.
------------------------------------------------------------------------
[2015-12-01 13:11:38] cyrus at safe-mail dot net
It seems Zend build works well with added patch:
https://bugs.php.net/bug.php?id=71006
Probably, something went wrong?
------------------------------------------------------------------------
[2015-12-01 12:53:27] nikic@php.net
Does sapi/cli/php -P run-tests.php Zend/ generate any failures?
If the phar doesn't build, it's probably a broken PHP build, but it's likely easier
to debug it using something else.
------------------------------------------------------------------------
[2015-12-01 12:45:27] cyrus at safe-mail dot net
occurred while compile php-7.0.0RC8 on Solaris 11 Sparc with two patches included:
https://bugs.php.net/bug.php?id=70999
https://bugs.php.net/bug.php?id=71006
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=71007
--
Edit this bug report at https://bugs.php.net/bug.php?id=71007&edit=1
Thread (9 messages)