Hey:
There are some PRs for supports of PowerPC64
https://github.com/php/php-src/pull/734
https://github.com/php/php-src/pull/735
https://github.com/php/php-src/pull/736
https://github.com/php/php-src/pull/737
Anyone can review them?
or, I will commit the patches by tomorrow..
thanks
--
Laruence Xinchen Hui
http://www.laruence.com/
Hi!
There are some PRs for supports of PowerPC64 https://github.com/php/php-src/pull/734 https://github.com/php/php-src/pull/735 https://github.com/php/php-src/pull/736 https://github.com/php/php-src/pull/737 Anyone can review them? or, I will commit the patches by tomorrow..
Did we have somebody with ppc64 verify it?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 18/08/2014 08:10, Laruence a écrit :
Hey:
There are some PRs for supports of PowerPC64
https://github.com/php/php-src/pull/734
https://github.com/php/php-src/pull/735
https://github.com/php/php-src/pull/736
https://github.com/php/php-src/pull/737
Quick test build (using fedora 5.6.0RC4 package on RHEL-7...)
(notice, report will be clean in a few days)
Without the patches
https://kojipkgs.fedoraproject.org//work/tasks/9765/7399765/build.log
Number of tests : 13178 7753
Tests skipped : 5425 ( 41.2%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 6 ( 0.0%) ( 0.1%)
Expected fail : 31 ( 0.2%) ( 0.4%)
Tests passed : 7716 ( 58.6%) ( 99.5%)
With the patches
https://kojipkgs.fedoraproject.org//work/tasks/9687/7399687/build.log
Number of tests : 13178 7753
Tests skipped : 5425 ( 41.2%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 62 ( 0.5%) ( 0.8%)
Expected fail : 31 ( 0.2%) ( 0.4%)
Tests passed : 7660 ( 58.1%) ( 98.8%)
diff of "FAILED TEST SUMMARY"
+Test + operator : 64bit long tests
[tests/lang/operators/add_basiclong_64bit.phpt]
+Test & operator : 64bit long tests
[tests/lang/operators/bitwiseAnd_basiclong_64bit.phpt]
+Test ~N operator : 64bit long tests
[tests/lang/operators/bitwiseNot_basiclong_64bit.phpt]
+Test | operator : 64bit long tests
[tests/lang/operators/bitwiseOr_basiclong_64bit.phpt]
Test << operator : 64bit long tests
[tests/lang/operators/bitwiseShiftLeft_basiclong_64bit.phpt]
Test << operator : various numbers as strings
[tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt]
Test >> operator : 64bit long tests
[tests/lang/operators/bitwiseShiftRight_basiclong_64bit.phpt]
+Test ^ operator : 64bit long tests
[tests/lang/operators/bitwiseXor_basiclong_64bit.phpt]
+Test / operator : 64bit long tests
[tests/lang/operators/divide_basiclong_64bit.phpt]
+Test % operator : 64bit long tests
[tests/lang/operators/modulus_basiclong_64bit.phpt]
+Test * operator : 64bit long tests
[tests/lang/operators/multiply_basiclong_64bit.phpt]
+Test -N operator : 64bit long tests
[tests/lang/operators/negate_basiclong_64bit.phpt]
+Test == operator : max int 64bit range
[tests/lang/operators/operator_equals_variation_64bit.phpt]
+Test == operator : max int 64bit range
[tests/lang/operators/operator_notequals_variation_64bit.phpt]
+Test N-- operator : 64bit long tests
[tests/lang/operators/postdec_basiclong_64bit.phpt]
+Test N++ operator : 64bit long tests
[tests/lang/operators/postinc_basiclong_64bit.phpt]
+Test --N operator : 64bit long tests
[tests/lang/operators/predec_basiclong_64bit.phpt]
+Test ++N operator : 64bit long tests
[tests/lang/operators/preinc_basiclong_64bit.phpt]
+Test - operator : 64bit long tests
[tests/lang/operators/subtract_basiclong_64bit.phpt]
Bug #20382 [2] (strtotime ("Monday", $date) produces wrong result on
DST changeover) [ext/date/tests/bug20382-2.phpt]
Bug #33415 [2] (Possibly invalid non-one-hour DST or timezone shifts)
[ext/date/tests/bug33415-2.phpt]
Bug #33532 (Different output for strftime()
and date()
)
[ext/date/tests/bug33532.phpt]
+Bug #67247 (spl_fixedarray_resize integer overflow)
[ext/spl/tests/bug67247.phpt]
+Test abs function : 64bit long tests
[ext/standard/tests/math/abs_basiclong_64bit.phpt]
+Test acos function : 64bit long tests
[ext/standard/tests/math/acos_basiclong_64bit.phpt]
+Test acosh function : 64bit long tests
[ext/standard/tests/math/acosh_basiclong_64bit.phpt]
+Test asin function : 64bit long tests
[ext/standard/tests/math/asin_basiclong_64bit.phpt]
+Test asinh function : 64bit long tests
[ext/standard/tests/math/asinh_basiclong_64bit.phpt]
+Test atan2 function : 64bit long tests
[ext/standard/tests/math/atan2_basiclong_64bit.phpt]
+Test atan function : 64bit long tests
[ext/standard/tests/math/atan_basiclong_64bit.phpt]
+Test atanh function : 64bit long tests
[ext/standard/tests/math/atanh_basiclong_64bit.phpt]
+Test ceil function : 64bit long tests
[ext/standard/tests/math/ceil_basiclong_64bit.phpt]
+Test cos function : 64bit long tests
[ext/standard/tests/math/cos_basiclong_64bit.phpt]
+Test cosh function : 64bit long tests
[ext/standard/tests/math/cosh_basiclong_64bit.phpt]
+Test decbin function : 64bit long tests
[ext/standard/tests/math/decbin_basiclong_64bit.phpt]
+Test dechex function : 64bit long tests
[ext/standard/tests/math/dechex_basiclong_64bit.phpt]
+Test decoct function : 64bit long tests
[ext/standard/tests/math/decoct_basiclong_64bit.phpt]
+Test deg2rad function : 64bit long tests
[ext/standard/tests/math/deg2rad_basiclong_64bit.phpt]
+Test exp function : 64bit long tests
[ext/standard/tests/math/exp_basiclong_64bit.phpt]
+Test expm1 function : 64bit long tests
[ext/standard/tests/math/expm1_basiclong_64bit.phpt]
+Test floor function : 64bit long tests
[ext/standard/tests/math/floor_basiclong_64bit.phpt]
+Test fmod function : 64bit long tests
[ext/standard/tests/math/fmod_basiclong_64bit.phpt]
+Test hypot function : 64bit long tests
[ext/standard/tests/math/hypot_basiclong_64bit.phpt]
+Test is_finite function : 64bit long tests
[ext/standard/tests/math/is_finite_basiclong_64bit.phpt]
+Test is_infinite function : 64bit long tests
[ext/standard/tests/math/is_infinite_basiclong_64bit.phpt]
+Test is_nan function : 64bit long tests
[ext/standard/tests/math/is_nan_basiclong_64bit.phpt]
+Test log10 function : 64bit long tests
[ext/standard/tests/math/log10_basiclong_64bit.phpt]
+Test log1p function : 64bit long tests
[ext/standard/tests/math/log1p_basiclong_64bit.phpt]
+Test log function : 64bit long tests
[ext/standard/tests/math/log_basiclong_64bit.phpt]
+Various pow()
tests [ext/standard/tests/math/pow.phpt]
+Test pow()
- basic function test pow()
[ext/standard/tests/math/pow_basic_64bit.phpt]
+Test pow function : 64bit long tests
[ext/standard/tests/math/pow_basiclong_64bit.phpt]
+Test pow()
function : usage variations - different data types as
$base argument [ext/standard/tests/math/pow_variation1_64bit.phpt]
+Test rad2deg function : 64bit long tests
[ext/standard/tests/math/rad2deg_basiclong_64bit.phpt]
+Test round function : 64bit long tests
[ext/standard/tests/math/round_basiclong_64bit.phpt]
+Test sin function : 64bit long tests
[ext/standard/tests/math/sin_basiclong_64bit.phpt]
+Test sinh function : 64bit long tests
[ext/standard/tests/math/sinh_basiclong_64bit.phpt]
+Test sqrt function : 64bit long tests
[ext/standard/tests/math/sqrt_basiclong_64bit.phpt]
+Test tan function : 64bit long tests
[ext/standard/tests/math/tan_basiclong_64bit.phpt]
+Test tanh function : 64bit long tests
[ext/standard/tests/math/tanh_basiclong_64bit.phpt]
+Test chunk_split()
function : usage variations - different integer
values for 'chunklen' argument(Bug#42796)
[ext/standard/tests/strings/chunk_split_variation5.phpt]
+Test chunk_split()
function : usage variations - different integer
values for 'chunklen' with heredoc string as 'str'(Bug#42796)
[ext/standard/tests/strings/chunk_split_variation8.phpt]
Remi.
P.S. won't be able to run better test before September (to get a real
access to a ppc64 computer)
Anyone can review them?
or, I will commit the patches by tomorrow..
thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlPxxBgACgkQYUppBSnxahjHUgCggkY5GwSHVIpvIIXWksGqeav9
2FAAoNGCGdFfbE9dALYnm/J3KOwew6C2
=04Uw
-----END PGP SIGNATURE
Hi!
Quick test build (using fedora 5.6.0RC4 package on RHEL-7...)
(notice, report will be clean in a few days)
Thanks a lot, Remi! Looks like something is not right with these patches....
Without the patches
https://kojipkgs.fedoraproject.org//work/tasks/9765/7399765/build.log
Number of tests : 13178 7753
Tests skipped : 5425 ( 41.2%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 6 ( 0.0%) ( 0.1%)
Expected fail : 31 ( 0.2%) ( 0.4%)
Tests passed : 7716 ( 58.6%) ( 99.5%)
BTW, it'd be nice to figure out why we have 6 fails there :)
With the patches
https://kojipkgs.fedoraproject.org//work/tasks/9687/7399687/build.log
Number of tests : 13178 7753
Tests skipped : 5425 ( 41.2%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 62 ( 0.5%) ( 0.8%)
Expected fail : 31 ( 0.2%) ( 0.4%)
Tests passed : 7660 ( 58.1%) ( 98.8%)diff of "FAILED TEST SUMMARY"
+Test + operator : 64bit long tests
[tests/lang/operators/add_basiclong_64bit.phpt]
+Test & operator : 64bit long tests
[tests/lang/operators/bitwiseAnd_basiclong_64bit.phpt]
+Test ~N operator : 64bit long tests
[tests/lang/operators/bitwiseNot_basiclong_64bit.phpt]
+Test | operator : 64bit long tests
[tests/lang/operators/bitwiseOr_basiclong_64bit.phpt]
Test << operator : 64bit long tests
[tests/lang/operators/bitwiseShiftLeft_basiclong_64bit.phpt]
Test << operator : various numbers as strings
[tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt]
Test >> operator : 64bit long tests
[tests/lang/operators/bitwiseShiftRight_basiclong_64bit.phpt]
+Test ^ operator : 64bit long tests
[tests/lang/operators/bitwiseXor_basiclong_64bit.phpt]
+Test / operator : 64bit long tests
[tests/lang/operators/divide_basiclong_64bit.phpt]
+Test % operator : 64bit long tests
[tests/lang/operators/modulus_basiclong_64bit.phpt]
+Test * operator : 64bit long tests
[tests/lang/operators/multiply_basiclong_64bit.phpt]
+Test -N operator : 64bit long tests
[tests/lang/operators/negate_basiclong_64bit.phpt]
+Test == operator : max int 64bit range
[tests/lang/operators/operator_equals_variation_64bit.phpt]
+Test == operator : max int 64bit range
[tests/lang/operators/operator_notequals_variation_64bit.phpt]
+Test N-- operator : 64bit long tests
[tests/lang/operators/postdec_basiclong_64bit.phpt]
+Test N++ operator : 64bit long tests
[tests/lang/operators/postinc_basiclong_64bit.phpt]
+Test --N operator : 64bit long tests
[tests/lang/operators/predec_basiclong_64bit.phpt]
+Test ++N operator : 64bit long tests
[tests/lang/operators/preinc_basiclong_64bit.phpt]
+Test - operator : 64bit long tests
[tests/lang/operators/subtract_basiclong_64bit.phpt]
Bug #20382 [2] (strtotime ("Monday", $date) produces wrong result on
DST changeover) [ext/date/tests/bug20382-2.phpt]
Bug #33415 [2] (Possibly invalid non-one-hour DST or timezone shifts)
[ext/date/tests/bug33415-2.phpt]
Bug #33532 (Different output forstrftime()
anddate()
)
[ext/date/tests/bug33532.phpt]
+Bug #67247 (spl_fixedarray_resize integer overflow)
[ext/spl/tests/bug67247.phpt]
+Test abs function : 64bit long tests
[ext/standard/tests/math/abs_basiclong_64bit.phpt]
+Test acos function : 64bit long tests
[ext/standard/tests/math/acos_basiclong_64bit.phpt]
+Test acosh function : 64bit long tests
[ext/standard/tests/math/acosh_basiclong_64bit.phpt]
+Test asin function : 64bit long tests
[ext/standard/tests/math/asin_basiclong_64bit.phpt]
+Test asinh function : 64bit long tests
[ext/standard/tests/math/asinh_basiclong_64bit.phpt]
+Test atan2 function : 64bit long tests
[ext/standard/tests/math/atan2_basiclong_64bit.phpt]
+Test atan function : 64bit long tests
[ext/standard/tests/math/atan_basiclong_64bit.phpt]
+Test atanh function : 64bit long tests
[ext/standard/tests/math/atanh_basiclong_64bit.phpt]
+Test ceil function : 64bit long tests
[ext/standard/tests/math/ceil_basiclong_64bit.phpt]
+Test cos function : 64bit long tests
[ext/standard/tests/math/cos_basiclong_64bit.phpt]
+Test cosh function : 64bit long tests
[ext/standard/tests/math/cosh_basiclong_64bit.phpt]
+Test decbin function : 64bit long tests
[ext/standard/tests/math/decbin_basiclong_64bit.phpt]
+Test dechex function : 64bit long tests
[ext/standard/tests/math/dechex_basiclong_64bit.phpt]
+Test decoct function : 64bit long tests
[ext/standard/tests/math/decoct_basiclong_64bit.phpt]
+Test deg2rad function : 64bit long tests
[ext/standard/tests/math/deg2rad_basiclong_64bit.phpt]
+Test exp function : 64bit long tests
[ext/standard/tests/math/exp_basiclong_64bit.phpt]
+Test expm1 function : 64bit long tests
[ext/standard/tests/math/expm1_basiclong_64bit.phpt]
+Test floor function : 64bit long tests
[ext/standard/tests/math/floor_basiclong_64bit.phpt]
+Test fmod function : 64bit long tests
[ext/standard/tests/math/fmod_basiclong_64bit.phpt]
+Test hypot function : 64bit long tests
[ext/standard/tests/math/hypot_basiclong_64bit.phpt]
+Test is_finite function : 64bit long tests
[ext/standard/tests/math/is_finite_basiclong_64bit.phpt]
+Test is_infinite function : 64bit long tests
[ext/standard/tests/math/is_infinite_basiclong_64bit.phpt]
+Test is_nan function : 64bit long tests
[ext/standard/tests/math/is_nan_basiclong_64bit.phpt]
+Test log10 function : 64bit long tests
[ext/standard/tests/math/log10_basiclong_64bit.phpt]
+Test log1p function : 64bit long tests
[ext/standard/tests/math/log1p_basiclong_64bit.phpt]
+Test log function : 64bit long tests
[ext/standard/tests/math/log_basiclong_64bit.phpt]
+Variouspow()
tests [ext/standard/tests/math/pow.phpt]
+Testpow()
- basic function testpow()
[ext/standard/tests/math/pow_basic_64bit.phpt]
+Test pow function : 64bit long tests
[ext/standard/tests/math/pow_basiclong_64bit.phpt]
+Testpow()
function : usage variations - different data types as
$base argument [ext/standard/tests/math/pow_variation1_64bit.phpt]
+Test rad2deg function : 64bit long tests
[ext/standard/tests/math/rad2deg_basiclong_64bit.phpt]
+Test round function : 64bit long tests
[ext/standard/tests/math/round_basiclong_64bit.phpt]
+Test sin function : 64bit long tests
[ext/standard/tests/math/sin_basiclong_64bit.phpt]
+Test sinh function : 64bit long tests
[ext/standard/tests/math/sinh_basiclong_64bit.phpt]
+Test sqrt function : 64bit long tests
[ext/standard/tests/math/sqrt_basiclong_64bit.phpt]
+Test tan function : 64bit long tests
[ext/standard/tests/math/tan_basiclong_64bit.phpt]
+Test tanh function : 64bit long tests
[ext/standard/tests/math/tanh_basiclong_64bit.phpt]
+Testchunk_split()
function : usage variations - different integer
values for 'chunklen' argument(Bug#42796)
[ext/standard/tests/strings/chunk_split_variation5.phpt]
+Testchunk_split()
function : usage variations - different integer
values for 'chunklen' with heredoc string as 'str'(Bug#42796)
[ext/standard/tests/strings/chunk_split_variation8.phpt]Remi.
P.S. won't be able to run better test before September (to get a real
access to a ppc64 computer)Anyone can review them?
or, I will commit the patches by tomorrow..
thanks
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 18/08/2014 11:21, Stas Malyshev a écrit :
BTW, it'd be nice to figure out why we have 6 fails there :)
I already spent a lot of time fixing various non-intel failed tests...
3 related to date can be ignored (because of fedora / red hat
system-tzdata patch, and tzdata is only 2014e in rhel, 2014f in php)
3 related to << and >> operators are caused by different behavior of
the C operator on ppc processor.
Don't know what is the better way to have them fixed...
Do we want the operator to behave the same way on all arch. or does it
seems acceptable to keep arch specific behavior... ?
Remi.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlPxyIQACgkQYUppBSnxahjGpQCfX7aMZtqTGs6dlqxH/YLRnHq/
jO0An2mzbWU8/CxcN/uqB/Bz3SsxKBha
=EKAg
-----END PGP SIGNATURE
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Le 18/08/2014 11:21, Stas Malyshev a écrit :
BTW, it'd be nice to figure out why we have 6 fails there :)
I already spent a lot of time fixing various non-intel failed tests...
3 related to date can be ignored (because of fedora / red hat
system-tzdata patch, and tzdata is only 2014e in rhel, 2014f in php)
So RHEL has it outdated? Nice! This is why you should use the built in
version!
cheers,
Derick
Hey:
thanks very much for testing this.
then seems I should not commit this for now.
thanks
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Le 18/08/2014 11:21, Stas Malyshev a écrit :
BTW, it'd be nice to figure out why we have 6 fails there :)
I already spent a lot of time fixing various non-intel failed tests...
3 related to date can be ignored (because of fedora / red hat
system-tzdata patch, and tzdata is only 2014e in rhel, 2014f in php)3 related to << and >> operators are caused by different behavior of
the C operator on ppc processor.Don't know what is the better way to have them fixed...
Do we want the operator to behave the same way on all arch. or does it
seems acceptable to keep arch specific behavior... ?Remi.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/iEYEARECAAYFAlPxyIQACgkQYUppBSnxahjGpQCfX7aMZtqTGs6dlqxH/YLRnHq/
jO0An2mzbWU8/CxcN/uqB/Bz3SsxKBha
=EKAg
-----END PGP SIGNATURE-------
--
Laruence Xinchen Hui
http://www.laruence.com/