Edit report at https://bugs.php.net/bug.php?id=66242&edit=1

 ID:                 66242
 User updated by:    thuhc at yahoo dot com
 Reported by:        thuhc at yahoo dot com
 Summary:            CLI server failure on 64-bit ARM (Aarch64)
-Status:             Feedback
+Status:             Assigned
 Type:               Bug
 Package:            Testing related
 Operating System:   Linux AARCH64
 PHP Version:        5.5.6
 Assigned To:        ardbiesheuvel
 Block user comment: N
 Private report:     N

 New Comment:

I tested with  current source:
git clone http://git.php.net/repository/php-src.git

Bug #53879 (DateTime::createFromFormat() fails to parse cookie expiration date)
[ext/date/tests/bug53879.phpt]
RFC: DateTime and Daylight Saving Time Transitions (zone type 3, ba) [ext/date/t
ests/rfc-datetime_and_daylight_saving_time-type3-ba.phpt]
RFC: DateTime and Daylight Saving Time Transitions (zone type 3, bs) [ext/date/t
ests/rfc-datetime_and_daylight_saving_time-type3-bs.phpt]
finfo_file(): Testing mime types [ext/fileinfo/tests/finfo_file_002.phpt]
Bug #65304 (Use of max int in array_sum) [ext/standard/tests/array/bug65304.phpt
]
Test strncmp() function : usage variations - binary safe(binary values) [ext/sta
ndard/tests/strings/strncmp_variation6.phpt]


Previous Comments:
------------------------------------------------------------------------
[2013-12-09 16:09:22] ardbiesheu...@php.net

The majority of failures is caused by an issue that causes the CLI server to 
crash immediately after startup. I have pushed a fix to PHP-5.6 and master to 
address this issue (cli: don't cast away const in select() timeout argument), 
but I am not entirely convinced that this fixes it conclusively.

Please try the PHP-5.6 git branch (or master) and share your results here.

------------------------------------------------------------------------
[2013-12-09 12:47:37] thuhc at yahoo dot com

I ran aarch64 simulator from guide, you can see it on step 3 and step 4
http://people.linaro.org/~edward.nevill/aarch64/README-cross-compile.html

Build with gcc linaro (glibc 2.17)
gcc (Linaro GCC 4.8-2013.09) 4.8.2 20130902 (prerelease)

------------------------------------------------------------------------
[2013-12-06 07:24:10] ardbiesheu...@php.net

Which exact OS did you use?
Which version of the C library is that based on?
Which version of the compiler did you use?

------------------------------------------------------------------------
[2013-12-06 07:19:40] m...@php.net

Looks like the CLI server just does not work, and maybe some odds at file 
system related functionality.

IIRC Ard did some ARM related work?

------------------------------------------------------------------------
[2013-12-06 02:52:32] thuhc at yahoo dot com

Description:
------------
I built php 5.5.4 on ARM AARCH64 CPU, system linux 64bits
I ran make test, I got issues:
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
finfo_file(): Testing mime types [ext/fileinfo/tests/finfo_file_002.phpt]
Bug #65304 (Use of max int in array_sum) 
[ext/standard/tests/array/bug65304.phpt]
Test fileperms(), chmod() functions: error conditions 
[ext/standard/tests/file/006_error.phpt]
Test fileperms() & chmod() functions: usage variation - misc. perms 
[ext/standard/tests/file/006_variation2.phpt]
chmod() basic functionality [ext/standard/tests/file/chmod_basic.phpt]
Test lchgrp() function : basic functionality 
[ext/standard/tests/file/lchgrp_basic.phpt]
Test lchown() function : basic functionality 
[ext/standard/tests/file/lchown_basic.phpt]
gethostbyname() function - basic return valid ip address test 
[ext/standard/tests/network/gethostbyname_error004.phpt]
getmxrr() test [ext/standard/tests/network/getmxrr.phpt]
http-stream test [ext/standard/tests/network/http-stream.phpt]
Test strncmp() function : usage variations - binary safe(binary values) 
[ext/standard/tests/strings/strncmp_variation6.phpt]
Bug #61977 Test exit code for various errors [sapi/cli/tests/bug43177.phpt]
Bug #61546 (functions related to current script failed when chdir() in cli 
sapi) [sapi/cli/tests/bug61546.phpt]
Bug #61679 (Error on non-standard HTTP methods) [sapi/cli/tests/bug61679.phpt]
Bug #61977 test CLI web-server support for Mime Type File extensions mapping 
[sapi/cli/tests/bug61977.phpt]
Bug #65066 (Cli server not responsive when responding with 422 http status 
code): 100 status code [sapi/cli/tests/bug65066_100.phpt]
Bug #65066 (Cli server not responsive when responding with 422 http status 
code): 422 status code [sapi/cli/tests/bug65066_422.phpt]
Bug #65066 (Cli server not responsive when responding with 422 http status 
code): 511 status code [sapi/cli/tests/bug65066_511.phpt]
Bug #65633 (built-in server treat some http headers as case-sensitive) 
[sapi/cli/tests/bug65633.phpt]
basic function [sapi/cli/tests/php_cli_server_001.phpt]
$_SERVER variable [sapi/cli/tests/php_cli_server_002.phpt]
Bug #55726 (Changing the working directory makes router script inaccessible) 
[sapi/cli/tests/php_cli_server_003.phpt]
Bug #55747 (request headers missed in $_SERVER) 
[sapi/cli/tests/php_cli_server_004.phpt]
Post a file [sapi/cli/tests/php_cli_server_005.phpt]
Bug #55755 (SegFault when outputting header WWW-Authenticate) 
[sapi/cli/tests/php_cli_server_006.phpt]
Bug #55758 (Digest Authenticate missed in 5.4) 
[sapi/cli/tests/php_cli_server_007.phpt]
SERVER_PROTOCOL header availability [sapi/cli/tests/php_cli_server_008.phpt]
PATH_INFO (relevant to #60112) [sapi/cli/tests/php_cli_server_009.phpt]
Bug #60180 ($_SERVER["PHP_SELF"] incorrect) 
[sapi/cli/tests/php_cli_server_010.phpt]
Bug #60159 (Router returns false, but POST is not passed to requested resource) 
[sapi/cli/tests/php_cli_server_012.phpt]
No router, no script [sapi/cli/tests/php_cli_server_013.phpt]
Bug #60477: Segfault after two multipart/form-data POST requestes 
[sapi/cli/tests/php_cli_server_014.phpt]
Bug #60523 (PHP Errors are not reported in browsers using built-in SAPI) 
[sapi/cli/tests/php_cli_server_015.phpt]
Bug #60591 (Memory leak when access a non-exists file) 
[sapi/cli/tests/php_cli_server_016.phpt]
Implement Req #60850 (Built in web server does not set 
$_SERVER['SCRIPT_FILENAME'] when using router) 
[sapi/cli/tests/php_cli_server_017.phpt]
Implement Req #61679 (Support HTTP PATCH method) 
[sapi/cli/tests/php_cli_server_018.phpt]
=====================================================================



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=66242&edit=1

-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to