php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78899 gcc6.5 can't compile base64.c
Submitted: 2019-12-02 13:03 UTC Modified: 2020-05-11 10:55 UTC
From: 269952181 at qq dot com Assigned:
Status: Open Package: Compile Failure
PHP Version: 7.4.0 OS: centos6.9
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: 269952181 at qq dot com
New email:
PHP Version: OS:

 

 [2019-12-02 13:03 UTC] 269952181 at qq dot com
Description:
------------
ll -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/php_crypt_r.c -o ext/standard/php_crypt_r.lo
/bin/sh /base/pub/source/php-7.4.0/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/base/pub/source/php-7.4.0/ext/standard/ -DPHP_ATOM_INC -I/base/pub/source/php-7.4.0/include -I/base/pub/source/php-7.4.0/main -I/base/pub/source/php-7.4.0 -I/base/pub/source/php-7.4.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/sqlite/include -I/base/pub/source/php-7.4.0/TSRM -I/base/pub/source/php-7.4.0/Zend    -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/array.c -o ext/standard/array.lo
/bin/sh /base/pub/source/php-7.4.0/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/base/pub/source/php-7.4.0/ext/standard/ -DPHP_ATOM_INC -I/base/pub/source/php-7.4.0/include -I/base/pub/source/php-7.4.0/main -I/base/pub/source/php-7.4.0 -I/base/pub/source/php-7.4.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/sqlite/include -I/base/pub/source/php-7.4.0/TSRM -I/base/pub/source/php-7.4.0/Zend    -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/base64.c -o ext/standard/base64.lo
/tmp/ccxEFnVX.s: Assembler messages:
/tmp/ccxEFnVX.s:526: Error: no such instruction: `vpermd (%rbx),%ymm1,%ymm1'
/tmp/ccxEFnVX.s:557: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:576: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:582: Error: suffix or operands invalid for `vpmulhuw'
/tmp/ccxEFnVX.s:588: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:594: Error: suffix or operands invalid for `vpmullw'
/tmp/ccxEFnVX.s:600: Error: suffix or operands invalid for `vpor'
/tmp/ccxEFnVX.s:610: Error: suffix or operands invalid for `vpcmpgtb'
/tmp/ccxEFnVX.s:616: Error: suffix or operands invalid for `vpsubusb'
/tmp/ccxEFnVX.s:622: Error: suffix or operands invalid for `vpsubb'
/tmp/ccxEFnVX.s:628: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:634: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1190: Error: suffix or operands invalid for `vpcmpeqb'
/tmp/ccxEFnVX.s:1210: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1216: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1223: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1232: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/ccxEFnVX.s:1239: Error: suffix or operands invalid for `vpmaddwd'
/tmp/ccxEFnVX.s:1245: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1251: Error: no such instruction: `vpermd %ymm0,%ymm7,%ymm0'
/tmp/ccxEFnVX.s:1282: Error: suffix or operands invalid for `vpsrld'
/tmp/ccxEFnVX.s:1289: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:1294: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:1300: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1305: Error: suffix or operands invalid for `vpshufb'
make: *** [ext/standard/base64.lo] Error 1


Test script:
---------------
ll -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/php_crypt_r.c -o ext/standard/php_crypt_r.lo
/bin/sh /base/pub/source/php-7.4.0/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/base/pub/source/php-7.4.0/ext/standard/ -DPHP_ATOM_INC -I/base/pub/source/php-7.4.0/include -I/base/pub/source/php-7.4.0/main -I/base/pub/source/php-7.4.0 -I/base/pub/source/php-7.4.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/sqlite/include -I/base/pub/source/php-7.4.0/TSRM -I/base/pub/source/php-7.4.0/Zend    -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/array.c -o ext/standard/array.lo
/bin/sh /base/pub/source/php-7.4.0/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/base/pub/source/php-7.4.0/ext/standard/ -DPHP_ATOM_INC -I/base/pub/source/php-7.4.0/include -I/base/pub/source/php-7.4.0/main -I/base/pub/source/php-7.4.0 -I/base/pub/source/php-7.4.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/sqlite/include -I/base/pub/source/php-7.4.0/TSRM -I/base/pub/source/php-7.4.0/Zend    -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/base64.c -o ext/standard/base64.lo
/tmp/ccxEFnVX.s: Assembler messages:
/tmp/ccxEFnVX.s:526: Error: no such instruction: `vpermd (%rbx),%ymm1,%ymm1'
/tmp/ccxEFnVX.s:557: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:576: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:582: Error: suffix or operands invalid for `vpmulhuw'
/tmp/ccxEFnVX.s:588: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:594: Error: suffix or operands invalid for `vpmullw'
/tmp/ccxEFnVX.s:600: Error: suffix or operands invalid for `vpor'
/tmp/ccxEFnVX.s:610: Error: suffix or operands invalid for `vpcmpgtb'
/tmp/ccxEFnVX.s:616: Error: suffix or operands invalid for `vpsubusb'
/tmp/ccxEFnVX.s:622: Error: suffix or operands invalid for `vpsubb'
/tmp/ccxEFnVX.s:628: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:634: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1190: Error: suffix or operands invalid for `vpcmpeqb'
/tmp/ccxEFnVX.s:1210: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1216: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1223: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1232: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/ccxEFnVX.s:1239: Error: suffix or operands invalid for `vpmaddwd'
/tmp/ccxEFnVX.s:1245: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1251: Error: no such instruction: `vpermd %ymm0,%ymm7,%ymm0'
/tmp/ccxEFnVX.s:1282: Error: suffix or operands invalid for `vpsrld'
/tmp/ccxEFnVX.s:1289: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:1294: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:1300: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1305: Error: suffix or operands invalid for `vpshufb'
make: *** [ext/standard/base64.lo] Error 1


Expected result:
----------------
ll -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/php_crypt_r.c -o ext/standard/php_crypt_r.lo
/bin/sh /base/pub/source/php-7.4.0/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/base/pub/source/php-7.4.0/ext/standard/ -DPHP_ATOM_INC -I/base/pub/source/php-7.4.0/include -I/base/pub/source/php-7.4.0/main -I/base/pub/source/php-7.4.0 -I/base/pub/source/php-7.4.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/sqlite/include -I/base/pub/source/php-7.4.0/TSRM -I/base/pub/source/php-7.4.0/Zend    -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/array.c -o ext/standard/array.lo
/bin/sh /base/pub/source/php-7.4.0/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/base/pub/source/php-7.4.0/ext/standard/ -DPHP_ATOM_INC -I/base/pub/source/php-7.4.0/include -I/base/pub/source/php-7.4.0/main -I/base/pub/source/php-7.4.0 -I/base/pub/source/php-7.4.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/sqlite/include -I/base/pub/source/php-7.4.0/TSRM -I/base/pub/source/php-7.4.0/Zend    -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/base64.c -o ext/standard/base64.lo
/tmp/ccxEFnVX.s: Assembler messages:
/tmp/ccxEFnVX.s:526: Error: no such instruction: `vpermd (%rbx),%ymm1,%ymm1'
/tmp/ccxEFnVX.s:557: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:576: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:582: Error: suffix or operands invalid for `vpmulhuw'
/tmp/ccxEFnVX.s:588: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:594: Error: suffix or operands invalid for `vpmullw'
/tmp/ccxEFnVX.s:600: Error: suffix or operands invalid for `vpor'
/tmp/ccxEFnVX.s:610: Error: suffix or operands invalid for `vpcmpgtb'
/tmp/ccxEFnVX.s:616: Error: suffix or operands invalid for `vpsubusb'
/tmp/ccxEFnVX.s:622: Error: suffix or operands invalid for `vpsubb'
/tmp/ccxEFnVX.s:628: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:634: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1190: Error: suffix or operands invalid for `vpcmpeqb'
/tmp/ccxEFnVX.s:1210: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1216: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1223: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1232: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/ccxEFnVX.s:1239: Error: suffix or operands invalid for `vpmaddwd'
/tmp/ccxEFnVX.s:1245: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1251: Error: no such instruction: `vpermd %ymm0,%ymm7,%ymm0'
/tmp/ccxEFnVX.s:1282: Error: suffix or operands invalid for `vpsrld'
/tmp/ccxEFnVX.s:1289: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:1294: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:1300: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1305: Error: suffix or operands invalid for `vpshufb'
make: *** [ext/standard/base64.lo] Error 1


Actual result:
--------------
ll -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/php_crypt_r.c -o ext/standard/php_crypt_r.lo
/bin/sh /base/pub/source/php-7.4.0/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/base/pub/source/php-7.4.0/ext/standard/ -DPHP_ATOM_INC -I/base/pub/source/php-7.4.0/include -I/base/pub/source/php-7.4.0/main -I/base/pub/source/php-7.4.0 -I/base/pub/source/php-7.4.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/sqlite/include -I/base/pub/source/php-7.4.0/TSRM -I/base/pub/source/php-7.4.0/Zend    -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/array.c -o ext/standard/array.lo
/bin/sh /base/pub/source/php-7.4.0/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/base/pub/source/php-7.4.0/ext/standard/ -DPHP_ATOM_INC -I/base/pub/source/php-7.4.0/include -I/base/pub/source/php-7.4.0/main -I/base/pub/source/php-7.4.0 -I/base/pub/source/php-7.4.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/sqlite/include -I/base/pub/source/php-7.4.0/TSRM -I/base/pub/source/php-7.4.0/Zend    -I/usr/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS   -c /base/pub/source/php-7.4.0/ext/standard/base64.c -o ext/standard/base64.lo
/tmp/ccxEFnVX.s: Assembler messages:
/tmp/ccxEFnVX.s:526: Error: no such instruction: `vpermd (%rbx),%ymm1,%ymm1'
/tmp/ccxEFnVX.s:557: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:576: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:582: Error: suffix or operands invalid for `vpmulhuw'
/tmp/ccxEFnVX.s:588: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:594: Error: suffix or operands invalid for `vpmullw'
/tmp/ccxEFnVX.s:600: Error: suffix or operands invalid for `vpor'
/tmp/ccxEFnVX.s:610: Error: suffix or operands invalid for `vpcmpgtb'
/tmp/ccxEFnVX.s:616: Error: suffix or operands invalid for `vpsubusb'
/tmp/ccxEFnVX.s:622: Error: suffix or operands invalid for `vpsubb'
/tmp/ccxEFnVX.s:628: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:634: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1190: Error: suffix or operands invalid for `vpcmpeqb'
/tmp/ccxEFnVX.s:1210: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1216: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1223: Error: suffix or operands invalid for `vpaddb'
/tmp/ccxEFnVX.s:1232: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/ccxEFnVX.s:1239: Error: suffix or operands invalid for `vpmaddwd'
/tmp/ccxEFnVX.s:1245: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1251: Error: no such instruction: `vpermd %ymm0,%ymm7,%ymm0'
/tmp/ccxEFnVX.s:1282: Error: suffix or operands invalid for `vpsrld'
/tmp/ccxEFnVX.s:1289: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:1294: Error: suffix or operands invalid for `vpand'
/tmp/ccxEFnVX.s:1300: Error: suffix or operands invalid for `vpshufb'
/tmp/ccxEFnVX.s:1305: Error: suffix or operands invalid for `vpshufb'
make: *** [ext/standard/base64.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-02 14:46 UTC] cmb@php.net
-Summary: gcc6.5 +Summary: gcc6.5 can't compile base64.c -Type: Feature/Change Request +Type: Bug
 [2020-05-11 10:55 UTC] nikic@php.net
This looks more like a broken assembler than an issue with GCC.
 [2022-12-07 08:26 UTC] gallwasingeg at gmail dot com
A commitment of appreciation is all together for the data. I will endeavor to figure it out for extra. (https://www.dgme.us/)github.com
 [2023-01-23 20:39 UTC] jamewntrs at gmail dot com
Have you got solution for this .

<https://radio620.com/>.github.com
 [2023-01-26 09:54 UTC] panoramacharter126 at gmail dot com
I tried and got the same expected result as yours.
(https://tellthebelll.org/)github.com
 [2023-04-18 08:16 UTC] archanasinghalka12345 at gmail dot com
(https://dolgeneraldgme.online/)github.com
 [2023-04-29 11:50 UTC] dianharrisonly at gmail dot com
I've done my best to give a section below for you to submit criticism of the company based on your own interactions with them. As a result, complete the survey to be eligible for restaurant rewards.
(https://tellthebllcom.site/)github.com
 [2023-11-04 22:18 UTC] sincerelyjulie0 at gmail dot com
I will endeavor to figure it out for extra. (wwww.getmyccpay.com)github.com
 [2023-11-04 22:33 UTC] owork138 at gmail dot com
www.getmyccpay.com github.com
 [2023-11-29 13:32 UTC] listensjack at gmail dot com
hey
 [2023-11-29 13:36 UTC] karunag at gmail dot com
I've done my best to give a section below for you to submit criticism of the company based on your own interactions with them. As a result, complete the survey to be eligible for restaurant rewards.
gist.github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 08:01:28 2024 UTC