Re: gcc-12.0.0-0.4.fc36 in rawhide - s390x regression ?

2022-01-31 Thread Remi Collet

Tracked as https://bugzilla.redhat.com/show_bug.cgi?id=2048565
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: gcc-12.0.0-0.4.fc36 in rawhide - s390x regression ?

2022-01-31 Thread Dan Horák
On Mon, 31 Jan 2022 14:53:08 +0100
Remi Collet  wrote:

> Hi,
> 
> Le 19/01/2022 à 11:53, Jakub Jelinek a écrit :
> > That error means that there is difference in the target attribute or 
> > #pragma
> > GCC target between the caller of the always_inline function and the
> > always_inline function which prevents the inlining (and always_inline
> > requires to be inlined).
> > I'd need preprocessed source + gcc command line to say more.
> 
> Command is
> 
> $ gcc -IZend/ -I/home/remi/rpmbuild/BUILD/php-8.1.2/Zend/ 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/include 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/main 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/ext/date/lib 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/ext/date/lib 
> -I/usr/include/libxml2 -I/usr/include/enchant-2 -I/usr/include/glib-2.0 
> -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 
> -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/ext/mbstring/libmbfl 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/ext/mbstring/libmbfl 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/ext/mbstring/libmbfl/mbfl 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/ext/mbstring/libmbfl/mbfl 
> -I/usr/include/pspell -I/usr/include/editline 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/TSRM 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/Zend 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/main 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/Zend 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/TSRM 
> -I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/ -fno-common 
> -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond 
> -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter 
> -Wno-sign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall 
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
> -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
> -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 
> -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables 
> -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign 
> -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS 
> -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c 
> /home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_execute.c -MMD -MF 
> Zend/zend_execute.dep -MT Zend/zend_execute.lo -fPIC -DPIC -o 
> Zend/.libs/zend_execute.o
> In file included from /home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend.h:36,
> from /home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_execute.c:26:
> /home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_variables.h: In function 
> ‘ZEND_FETCH_OBJ_IS_SPEC_CONST_TMPVAR_HANDLER’:
> /home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_variables.h:32:32: error: 
> inlining failed in call to ‘always_inline’ ‘zval_ptr_dtor_nogc’: target 
> specific option mismatch
> 32 | static zend_always_inline void zval_ptr_dtor_nogc(zval *zval_ptr)
> | ^~
> In file included from 
> /home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_execute.c:5071:
> /home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_vm_execute.h:8772:9: note: 
> called from here
> 8772 | zval_ptr_dtor_nogc(EX_VAR(opline->op2.var));
> | ^~~
> 
> preprocessed sources:
> 
> https://server.famillecollet.com/nextcloud/s/6txXHtdnGYfnC37/download?path=%2F=pre.txt.bz2

the error message is the same as in
https://bugzilla.redhat.com/show_bug.cgi?id=1996330


Dan
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: gcc-12.0.0-0.4.fc36 in rawhide - s390x regression ?

2022-01-31 Thread Remi Collet

Hi,

Le 19/01/2022 à 11:53, Jakub Jelinek a écrit :
That error means that there is difference in the target attribute or 
#pragma

GCC target between the caller of the always_inline function and the
always_inline function which prevents the inlining (and always_inline
requires to be inlined).
I'd need preprocessed source + gcc command line to say more.


Command is

$ gcc -IZend/ -I/home/remi/rpmbuild/BUILD/php-8.1.2/Zend/ 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/include 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/main 
-I/home/remi/rpmbuild/BUILD/php-8.1.2 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/ext/date/lib 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/ext/date/lib 
-I/usr/include/libxml2 -I/usr/include/enchant-2 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 
-I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/ext/mbstring/libmbfl 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/ext/mbstring/libmbfl 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/ext/mbstring/libmbfl/mbfl 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/ext/mbstring/libmbfl/mbfl 
-I/usr/include/pspell -I/usr/include/editline 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/TSRM 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/Zend 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/main 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/Zend 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/TSRM 
-I/home/remi/rpmbuild/BUILD/php-8.1.2/build-cgi/ -fno-common 
-Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond 
-Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter 
-Wno-sign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 
-m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables 
-fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign 
-fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS 
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c 
/home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_execute.c -MMD -MF 
Zend/zend_execute.dep -MT Zend/zend_execute.lo -fPIC -DPIC -o 
Zend/.libs/zend_execute.o

In file included from /home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend.h:36,
from /home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_execute.c:26:
/home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_variables.h: In function 
‘ZEND_FETCH_OBJ_IS_SPEC_CONST_TMPVAR_HANDLER’:
/home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_variables.h:32:32: error: 
inlining failed in call to ‘always_inline’ ‘zval_ptr_dtor_nogc’: target 
specific option mismatch

32 | static zend_always_inline void zval_ptr_dtor_nogc(zval *zval_ptr)
| ^~
In file included from 
/home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_execute.c:5071:
/home/remi/rpmbuild/BUILD/php-8.1.2/Zend/zend_vm_execute.h:8772:9: note: 
called from here

8772 | zval_ptr_dtor_nogc(EX_VAR(opline->op2.var));
| ^~~

preprocessed sources:

https://server.famillecollet.com/nextcloud/s/6txXHtdnGYfnC37/download?path=%2F=pre.txt.bz2



Any help welcome, as I really don't see what is wrong there

Remi





Jakub
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: gcc-12.0.0-0.4.fc36 in rawhide - s390x regression ?

2022-01-21 Thread Dan Horák
On Fri, 21 Jan 2022 10:55:51 +0100
Remi Collet  wrote:

> Le 19/01/2022 à 11:53, Jakub Jelinek a écrit :
> > On Wed, Jan 19, 2022 at 07:27:44AM +0100, Remi Collet wrote:
> >> Le 14/01/2022 à 15:31, Jakub Jelinek a écrit :
> >>> gcc 12 snapshot has landed as the system compiler into rawhide today.
> >>
> >> PHP is now FTBFS on s390x only
> >> https://koji.fedoraproject.org/koji/taskinfo?taskID=81436437
> >>
> >>
> >> Any help welcome,
> >> Remi
> >>
> >>
> >> P.S. from build.log
> >>
> >>
> >> /builddir/build/BUILD/php-8.1.2/Zend/zend_variables.h: In function
> >> 'ZEND_FETCH_OBJ_IS_SPEC_CONST_TMPVAR_HANDLER':
> >> /builddir/build/BUILD/php-8.1.2/Zend/zend_variables.h:32:32: error: 
> >> inlining
> >> failed in call to 'always_inline' 'zval_ptr_dtor_nogc': target specific
> >> option mismatch
> >> 32 | static zend_always_inline void zval_ptr_dtor_nogc(zval *zval_ptr)
> >>|^~
> >> In file included from
> >> /builddir/build/BUILD/php-8.1.2/Zend/zend_execute.c:5071:
> >> /builddir/build/BUILD/php-8.1.2/Zend/zend_vm_execute.h:8772:9: note: called
> >> from here
> >>   8772 | zval_ptr_dtor_nogc(EX_VAR(opline->op2.var));
> >>| ^~~
> > 
> > That error means that there is difference in the target attribute or #pragma
> > GCC target between the caller of the always_inline function and the
> > always_inline function which prevents the inlining (and always_inline
> > requires to be inlined).
> > I'd need preprocessed source + gcc command line to say more.
> 
> Still failing with 12.0.1-0.2 recently built on rawhide
> 
> Trying to disabled the always_inline don't solves the problem
> (same issue with memcpy call)
> 
> Sorry, but I have no idea how to check the "target" used
> can't find anything in the source code
> and don't have (simple) access to s390x computer

we have both public and internal s390x machines with Fedora, if needed,
please ping me for details.


Dan
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: gcc-12.0.0-0.4.fc36 in rawhide - s390x regression ?

2022-01-21 Thread Remi Collet

Le 19/01/2022 à 11:53, Jakub Jelinek a écrit :

On Wed, Jan 19, 2022 at 07:27:44AM +0100, Remi Collet wrote:

Le 14/01/2022 à 15:31, Jakub Jelinek a écrit :

gcc 12 snapshot has landed as the system compiler into rawhide today.


PHP is now FTBFS on s390x only
https://koji.fedoraproject.org/koji/taskinfo?taskID=81436437


Any help welcome,
Remi


P.S. from build.log


/builddir/build/BUILD/php-8.1.2/Zend/zend_variables.h: In function
'ZEND_FETCH_OBJ_IS_SPEC_CONST_TMPVAR_HANDLER':
/builddir/build/BUILD/php-8.1.2/Zend/zend_variables.h:32:32: error: inlining
failed in call to 'always_inline' 'zval_ptr_dtor_nogc': target specific
option mismatch
32 | static zend_always_inline void zval_ptr_dtor_nogc(zval *zval_ptr)
   |^~
In file included from
/builddir/build/BUILD/php-8.1.2/Zend/zend_execute.c:5071:
/builddir/build/BUILD/php-8.1.2/Zend/zend_vm_execute.h:8772:9: note: called
from here
  8772 | zval_ptr_dtor_nogc(EX_VAR(opline->op2.var));
   | ^~~


That error means that there is difference in the target attribute or #pragma
GCC target between the caller of the always_inline function and the
always_inline function which prevents the inlining (and always_inline
requires to be inlined).
I'd need preprocessed source + gcc command line to say more.


Still failing with 12.0.1-0.2 recently built on rawhide

Trying to disabled the always_inline don't solves the problem
(same issue with memcpy call)

Sorry, but I have no idea how to check the "target" used
can't find anything in the source code
and don't have (simple) access to s390x computer


Remi
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: gcc-12.0.0-0.4.fc36 in rawhide - s390x regression ?

2022-01-19 Thread Jakub Jelinek
On Wed, Jan 19, 2022 at 07:27:44AM +0100, Remi Collet wrote:
> Le 14/01/2022 à 15:31, Jakub Jelinek a écrit :
> > gcc 12 snapshot has landed as the system compiler into rawhide today.
> 
> PHP is now FTBFS on s390x only
> https://koji.fedoraproject.org/koji/taskinfo?taskID=81436437
> 
> 
> Any help welcome,
> Remi
> 
> 
> P.S. from build.log
> 
> 
> /builddir/build/BUILD/php-8.1.2/Zend/zend_variables.h: In function
> 'ZEND_FETCH_OBJ_IS_SPEC_CONST_TMPVAR_HANDLER':
> /builddir/build/BUILD/php-8.1.2/Zend/zend_variables.h:32:32: error: inlining
> failed in call to 'always_inline' 'zval_ptr_dtor_nogc': target specific
> option mismatch
>32 | static zend_always_inline void zval_ptr_dtor_nogc(zval *zval_ptr)
>   |^~
> In file included from
> /builddir/build/BUILD/php-8.1.2/Zend/zend_execute.c:5071:
> /builddir/build/BUILD/php-8.1.2/Zend/zend_vm_execute.h:8772:9: note: called
> from here
>  8772 | zval_ptr_dtor_nogc(EX_VAR(opline->op2.var));
>   | ^~~

That error means that there is difference in the target attribute or #pragma
GCC target between the caller of the always_inline function and the
always_inline function which prevents the inlining (and always_inline
requires to be inlined).
I'd need preprocessed source + gcc command line to say more.

Jakub
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: gcc-12.0.0-0.4.fc36 in rawhide - s390x regression ?

2022-01-18 Thread Remi Collet

Le 14/01/2022 à 15:31, Jakub Jelinek a écrit :

Hi!

gcc 12 snapshot has landed as the system compiler into rawhide today.


PHP is now FTBFS on s390x only
https://koji.fedoraproject.org/koji/taskinfo?taskID=81436437


Any help welcome,
Remi


P.S. from build.log


/builddir/build/BUILD/php-8.1.2/Zend/zend_variables.h: In function 
'ZEND_FETCH_OBJ_IS_SPEC_CONST_TMPVAR_HANDLER':
/builddir/build/BUILD/php-8.1.2/Zend/zend_variables.h:32:32: error: 
inlining failed in call to 'always_inline' 'zval_ptr_dtor_nogc': target 
specific option mismatch

   32 | static zend_always_inline void zval_ptr_dtor_nogc(zval *zval_ptr)
  |^~
In file included from 
/builddir/build/BUILD/php-8.1.2/Zend/zend_execute.c:5071:
/builddir/build/BUILD/php-8.1.2/Zend/zend_vm_execute.h:8772:9: note: 
called from here

 8772 | zval_ptr_dtor_nogc(EX_VAR(opline->op2.var));
  | ^~~
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure