Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-31 Thread Benjamin Beasley
> * Jakub Jelinek: > > > I think Kevin has posted a GDB patch for the crash: > > [PATCH] Fix GDB internal error by using text (instead of data) section > offset > > > The bug was exposed by the loss of the .data sectio

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-31 Thread Frantisek Zatloukal
So, going over FTBFS bugs I've seen against bunch of my packages since the mass rebuild, there is bunch of "undefined reference to `std::type_info::operator==(std::type_info const&) const'" returned by ld, affecting only armv7hl arch. The affected packages are: mozjs68, mozjs78, mozjs91. I've tried

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/proje

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

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

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-26 Thread Florian Weimer
* Jakub Jelinek: >> debugbreak: %check uses gdb, which now crashes (“(core dumped) gdb -q -x >> "${exe}-rpm-test.gdb" --batch < /dev/null”) on ppc64le/x86_64, but not on >> aarch64 > > If gdb crashes, it would be nice if somebody from the gdb team had a look, > of course it can be a gcc bug too.

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-26 Thread Jakub Jelinek
On Wed, Jan 26, 2022 at 01:36:43PM +0100, Jakub Jelinek wrote: > On Wed, Jan 26, 2022 at 01:29:37PM +0100, Dan Horák wrote: > > > > **Compilation error from a dependency header:** > > > > > > > > dependency “boost”: “# error "Never use directly; include > > > > instead."”, via > > > > boost/mult

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-26 Thread Jakub Jelinek
On Wed, Jan 26, 2022 at 01:29:37PM +0100, Dan Horák wrote: > > > **Compilation error from a dependency header:** > > > > > > dependency “boost”: “# error "Never use directly; include > > > instead."”, via > > > boost/multiprecision/cpp_int/intel_intrinsics.hpp > > > > This is weird. > > bmiin

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-26 Thread Dan Horák
> > **Compilation error from a dependency header:** > > > > dependency “boost”: “# error "Never use directly; include > > instead."”, via > > boost/multiprecision/cpp_int/intel_intrinsics.hpp > > This is weird. > bmiintrin.h had: > #ifndef _X86GPRINTRIN_H_INCLUDED > # error "Never use direct

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-26 Thread Jakub Jelinek
On Mon, Jan 17, 2022 at 09:00:13AM -0500, Ben Beasley wrote: > **Internal compiler or debugger error:** > > abseil-cpp: “internal compiler error: tree code 'template_type_parm' is not > supported in LTO streams” Dunno, would need to reproduce. > debugbreak: %check uses gdb, which now crashes (“(

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-25 Thread Adam Williamson
On Tue, 2022-01-25 at 08:50 -0600, Michael Catanzaro wrote: > On Mon, Jan 24 2022 at 03:19:00 PM -0800, Adam Williamson > wrote: > > I do hope this can be cleaned up soon. Dropping arches from packages > > is > > a very big hammer and should be wielded extremely sparingly. Unless > > ceph was un

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-25 Thread Michael Catanzaro
On Mon, Jan 24 2022 at 03:19:00 PM -0800, Adam Williamson wrote: I do hope this can be cleaned up soon. Dropping arches from packages is a very big hammer and should be wielded extremely sparingly. Unless ceph was unusable without a rebuild on the other arches, it would've been better to wait u

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Adam Williamson
On Mon, 2022-01-24 at 07:15 -0500, Kaleb Keithley wrote: > On Sat, Jan 22, 2022 at 2:28 PM Kaleb Keithley wrote: > > > > > > The long double change is an ABI change, so this is kind of expected. > > > Mass rebuild unfortunately doesn't go according to the dependency graph > > > (and > > > unfort

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Jakub Jelinek
On Mon, Jan 24, 2022 at 07:15:19AM -0500, Kaleb Keithley wrote: > On Sat, Jan 22, 2022 at 2:28 PM Kaleb Keithley wrote: > > > > >> The long double change is an ABI change, so this is kind of expected. > >> Mass rebuild unfortunately doesn't go according to the dependency graph > >> (and > >> unfo

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Tom Hughes via devel
On 24/01/2022 12:15, Kaleb Keithley wrote: On Sat, Jan 22, 2022 at 2:28 PM Kaleb Keithley > wrote: The long double change is an ABI change, so this is kind of expected. Mass rebuild unfortunately doesn't go according to the dependen

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Kaleb Keithley
On Sat, Jan 22, 2022 at 2:28 PM Kaleb Keithley wrote: > >> The long double change is an ABI change, so this is kind of expected. >> Mass rebuild unfortunately doesn't go according to the dependency graph >> (and >> unfortunately it isn't a tree, there are cycles). >> > > Indeed. fmt has not been

about abidiff Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Sérgio Basto
On Sun, 2022-01-23 at 10:56 +0100, Vitaly Zaitsev via devel wrote: > On 22/01/2022 17:22, Jakub Jelinek wrote: > > The long double change is an ABI change, so this is kind of expected. > > abidiff automatic test found no ABI changes between 8.0 and 8.1. Since early 2021 at least https://sourcewar

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Kaleb Keithley
On Sun, Jan 23, 2022 at 4:58 AM Vitaly Zaitsev via devel < devel@lists.fedoraproject.org> wrote: > On 22/01/2022 17:22, Jakub Jelinek wrote: > > The long double change is an ABI change, so this is kind of expected. > > abidiff automatic test found no ABI changes between 8.0 and 8.1. I think you

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Fabio Valentini
On Mon, Jan 24, 2022 at 12:01 PM Jakub Jelinek wrote: > > On Mon, Jan 24, 2022 at 11:55:39AM +0100, Fabio Valentini wrote: > > Have the command line arguments that are accepted by gcc? > > > > The test suite of the "cc" crate (used for compiling and linking to C > > code within Rust projects) star

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Jakub Jelinek
On Mon, Jan 24, 2022 at 11:55:39AM +0100, Fabio Valentini wrote: > Have the command line arguments that are accepted by gcc? > > The test suite of the "cc" crate (used for compiling and linking to C > code within Rust projects) started failing with GCC 12 with this > error: > > gcc: error: un

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Fabio Valentini
On Fri, Jan 14, 2022 at 3:32 PM Jakub Jelinek wrote: > > Hi! > > gcc 12 snapshot has landed as the system compiler into rawhide today. > GCC 12 is going to enter its stage4 development phase (only regression > and documentation bugfixes allowed) on Monday 17th, so there should be > just those bugf

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-24 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Jan 23, 2022 at 10:54:49AM +0100, Vitaly Zaitsev via devel wrote: > On 22/01/2022 15:56, Kaleb Keithley wrote: > >Which I presume is related to the failed rebuild of fmt[2] with gcc-12 and > >thus I'm still getting a version of fmt compiled with gcc-11. > > Fmt build failed on ppc64le due

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-23 Thread Jakub Jelinek
On Sun, Jan 23, 2022 at 11:39:58AM +0100, Vitaly Zaitsev via devel wrote: > On 14/01/2022 15:31, Jakub Jelinek wrote: > > gcc 12 snapshot has landed as the system compiler into rawhide today. > > Another ICE on ppc64le with all packages contains catch2 library. > Task: https://koji.fedoraproject.o

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-23 Thread Tom Hughes via devel
On 23/01/2022 10:39, Vitaly Zaitsev via devel wrote: On 14/01/2022 15:31, Jakub Jelinek wrote: gcc 12 snapshot has landed as the system compiler into rawhide today. Another ICE on ppc64le with all packages contains catch2 library. Task: https://koji.fedoraproject.org/koji/taskinfo?taskID=81641

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-23 Thread Vitaly Zaitsev via devel
On 14/01/2022 15:31, Jakub Jelinek wrote: gcc 12 snapshot has landed as the system compiler into rawhide today. Another ICE on ppc64le with all packages contains catch2 library. Task: https://koji.fedoraproject.org/koji/taskinfo?taskID=81641415 Log: FAILED: test/CMakeFiles/semver-cpp17.t.dir/

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-23 Thread Dan Horák
On Sun, 23 Jan 2022 10:56:32 +0100 Vitaly Zaitsev via devel wrote: > On 22/01/2022 17:22, Jakub Jelinek wrote: > > The long double change is an ABI change, so this is kind of expected. > > abidiff automatic test found no ABI changes between 8.0 and 8.1. it's an internal implementation change of

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-23 Thread Vitaly Zaitsev via devel
On 22/01/2022 17:22, Jakub Jelinek wrote: The long double change is an ABI change, so this is kind of expected. abidiff automatic test found no ABI changes between 8.0 and 8.1. -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org) ___ devel mailing

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-23 Thread Vitaly Zaitsev via devel
On 22/01/2022 15:56, Kaleb Keithley wrote: Which I presume is related to the failed rebuild of fmt[2] with gcc-12 and thus I'm still getting a version of fmt compiled with gcc-11. Fmt build failed on ppc64le due to another GCC 12 regression: FAILED: libfmt.so.8.1.1 : && /usr/bin/g++ -fPIC -O2

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-22 Thread Kaleb Keithley
On Sat, Jan 22, 2022 at 11:22 AM Jakub Jelinek wrote: > On Sat, Jan 22, 2022 at 09:56:24AM -0500, Kaleb Keithley wrote: > > I know you want FTBFS bugs now for gcc-12 issues, but let me run this by > > you first and I will open a BZ if necessary. > > > > For ceph I've hacked up a fix for all the o

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-22 Thread Jakub Jelinek
On Sat, Jan 22, 2022 at 09:56:24AM -0500, Kaleb Keithley wrote: > I know you want FTBFS bugs now for gcc-12 issues, but let me run this by > you first and I will open a BZ if necessary. > > For ceph I've hacked up a fix for all the other gcc-12isms in ceph and now > it fails to build on ppc64le[1]

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-22 Thread Kaleb Keithley
I know you want FTBFS bugs now for gcc-12 issues, but let me run this by you first and I will open a BZ if necessary. For ceph I've hacked up a fix for all the other gcc-12isms in ceph and now it fails to build on ppc64le[1] with ... /usr/bin/ld: /builddir/build/BUILD/ceph-16.2.7/build/redhat-li

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Marek Polacek
On Fri, Jan 21, 2022 at 06:33:21PM +0100, Dan Horák wrote: > On Fri, 21 Jan 2022 09:55:01 -0700 > Jerry James wrote: > > > On Fri, Jan 14, 2022 at 7:32 AM Jakub Jelinek wrote: > > > Another important thing I wanted to say is that we'd like to switch > > > ppc64le from the numerically problematic

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Jakub Jelinek
On Fri, Jan 21, 2022 at 06:42:23PM +0100, Dan Horák wrote: > > > > > > Also note that libmpc failed to build on ppc64le only: > > > https://koji.fedoraproject.org/koji/taskinfo?taskID=81535783 > > > > one test core-dumps, I will try a local build to see what's in the core > > Error for mpc_pow_l

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Dan Horák
> > > > Also note that libmpc failed to build on ppc64le only: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=81535783 > > one test core-dumps, I will try a local build to see what's in the core Error for mpc_pow_ld (1) expected (-9 46) got (1.00e0 0) FAIL tpow_ld (exit status: 1) ^^^

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Dan Horák
On Fri, 21 Jan 2022 09:55:01 -0700 Jerry James wrote: > On Fri, Jan 14, 2022 at 7:32 AM Jakub Jelinek wrote: > > Another important thing I wanted to say is that we'd like to switch > > ppc64le from the numerically problematic IBM extended long double to > > IEEE 754 quad long double. This is an

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Dan Horák
On Fri, 21 Jan 2022 10:09:39 -0700 Jerry James wrote: > On Fri, Jan 21, 2022 at 10:06 AM Dan Horák wrote: > > could be https://bugzilla.redhat.com/show_bug.cgi?id=2043517 > > Thanks for the pointer, Dan. I think the keyword for this bug is "during RTL pass: final" followed by an ICE segfault

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Jerry James
On Fri, Jan 21, 2022 at 10:06 AM Dan Horák wrote: > could be https://bugzilla.redhat.com/show_bug.cgi?id=2043517 Thanks for the pointer, Dan. -- Jerry James http://www.jamezone.org/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Dan Horák
On Fri, 21 Jan 2022 09:55:01 -0700 Jerry James wrote: > On Fri, Jan 14, 2022 at 7:32 AM Jakub Jelinek wrote: > > Another important thing I wanted to say is that we'd like to switch > > ppc64le from the numerically problematic IBM extended long double to > > IEEE 754 quad long double. This is an

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Jerry James
On Fri, Jan 14, 2022 at 7:32 AM Jakub Jelinek wrote: > Another important thing I wanted to say is that we'd like to switch > ppc64le from the numerically problematic IBM extended long double to > IEEE 754 quad long double. This is an ABI change. Some libraries > are already built so that they su

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Jakub Jelinek
On Thu, Jan 20, 2022 at 07:50:58AM -0500, Kaleb Keithley wrote: > I thought I'd solved all my gcc-12-isms in ceph by running --scratch > --arch-override=x86_64 builds, so I tried a full build and ran into this on > aarch64. :-( > > In file included from /usr/include/boost/integer.hpp:20, >

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. >

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/t

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-21 Thread Olivier Fourdan
Hi Jakub, On Fri, Jan 14, 2022 at 3:33 PM Jakub Jelinek wrote: > […] > > If there are bugs on the compiler side, please let me know immediately, > so that those bugs can be fixed before the mass rebuild next week. > […] I am not sure whether this is a bug in gcc 12 or not. There is a change whi

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-20 Thread Jakub Jelinek
On Thu, Jan 20, 2022 at 02:31:52PM +, Richard W.M. Jones wrote: > On Thu, Jan 20, 2022 at 02:30:24PM +, Richard W.M. Jones wrote: > > > > The qemu bug led to this optimizer mis-compilation bug which seems > > very serious: > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103721 > > >

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-20 Thread Richard W.M. Jones
On Thu, Jan 20, 2022 at 02:30:24PM +, Richard W.M. Jones wrote: > > The qemu bug led to this optimizer mis-compilation bug which seems > very serious: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103721 > > I'm not sure I would try GCC 12 generated code until this gets fixed. s/try/trus

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-20 Thread Richard W.M. Jones
The qemu bug led to this optimizer mis-compilation bug which seems very serious: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103721 I'm not sure I would try GCC 12 generated code until this gets fixed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Rea

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-20 Thread Jakub Jelinek
On Thu, Jan 20, 2022 at 01:32:26PM +, Jonathan Wakely wrote: > On Thu, 20 Jan 2022 at 13:05, Jonathan Wakely wrote: > > > > On Thu, 20 Jan 2022 at 12:54, Kaleb Keithley wrote: > > > > > > > > > I thought I'd solved all my gcc-12-isms in ceph by running --scratch > > > --arch-override=x86_64

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-20 Thread Jonathan Wakely
On Thu, 20 Jan 2022 at 13:05, Jonathan Wakely wrote: > > On Thu, 20 Jan 2022 at 12:54, Kaleb Keithley wrote: > > > > > > I thought I'd solved all my gcc-12-isms in ceph by running --scratch > > --arch-override=x86_64 builds, so I tried a full build and ran into this on > > aarch64. :-( > > > >

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-20 Thread Jonathan Wakely
On Thu, 20 Jan 2022 at 12:54, Kaleb Keithley wrote: > > > I thought I'd solved all my gcc-12-isms in ceph by running --scratch > --arch-override=x86_64 builds, so I tried a full build and ran into this on > aarch64. :-( > > /usr/bin/g++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION > -DBOOST_AS

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-20 Thread Kaleb Keithley
On Thu, Jan 20, 2022 at 7:50 AM Kaleb Keithley wrote: > > I thought I'd solved all my gcc-12-isms in ceph by running --scratch > --arch-override=x86_64 builds, so I tried a full build and ran into this on > aarch64. :-( > ppc64le and s390x as well. > > /usr/bin/g++ -DBOOST_ASIO_DISABLE_THREAD_

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-20 Thread Kaleb Keithley
I thought I'd solved all my gcc-12-isms in ceph by running --scratch --arch-override=x86_64 builds, so I tried a full build and ran into this on aarch64. :-( /usr/bin/g++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-19 Thread Michel Alexandre Salim
On Wed, Jan 19, 2022 at 04:09:09PM -0700, Jerry James wrote: > On Wed, Jan 19, 2022 at 3:56 PM Michel Alexandre Salim > wrote: > > Rebuilding folly, and building the latest tagged release, both fail with > > GCC 12: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=2042690 > > > > It happens tha

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-19 Thread Jerry James
On Wed, Jan 19, 2022 at 3:56 PM Michel Alexandre Salim wrote: > Rebuilding folly, and building the latest tagged release, both fail with > GCC 12: > > https://bugzilla.redhat.com/show_bug.cgi?id=2042690 > > It happens that libfmt has also been upgraded, so it's hard to pinpoint. > I'm going to see

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-19 Thread Michel Alexandre Salim
On Sat, Jan 15, 2022 at 09:30:25PM -0800, Michel Alexandre Salim wrote: > Hi Jakub, > > On Fri, Jan 14, 2022 at 03:31:43PM +0100, Jakub Jelinek wrote: > > Hi! > > > > gcc 12 snapshot has landed as the system compiler into rawhide today. > > GCC 12 is going to enter its stage4 development phase (o

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

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/

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jakub Jelinek
On Tue, Jan 18, 2022 at 03:13:22PM +, Sérgio Basto wrote: > On Mon, 2022-01-17 at 14:36 +, Sérgio Basto wrote: > > On Mon, 2022-01-17 at 15:10 +0100, Vitaly Zaitsev via devel wrote: > > > On 17/01/2022 15:00, Ben Beasley wrote: > > > > dependency “json”: https://github.com/nlohmann/json/iss

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jakub Jelinek
On Tue, Jan 18, 2022 at 07:22:00PM +0100, Florian Weimer wrote: > >> On aarch64 I actually got a slightly different error message: > >> > >> ld: criu/pie/restorer.o: in function `lsm_set_label': > >> /drone/src/criu/pie/restorer.c:174: undefined reference to `strlen' > >> > >> L

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Florian Weimer
* Jakub Jelinek: > On Tue, Jan 18, 2022 at 07:08:00PM +0100, Adrian Reber wrote: >> On Tue, Jan 18, 2022 at 05:56:45PM +0100, Jakub Jelinek wrote: >> > On Tue, Jan 18, 2022 at 05:40:31PM +0100, Adrian Reber wrote: >> > > > If there are bugs on the compiler side, please let me know immediately, >>

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jakub Jelinek
On Tue, Jan 18, 2022 at 07:08:00PM +0100, Adrian Reber wrote: > On Tue, Jan 18, 2022 at 05:56:45PM +0100, Jakub Jelinek wrote: > > On Tue, Jan 18, 2022 at 05:40:31PM +0100, Adrian Reber wrote: > > > > If there are bugs on the compiler side, please let me know immediately, > > > > so that those bugs

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Artur Frenszek-Iwicki
I pulled a Rawhide container and tried building there via "fedpkg local". When I took the g++ command line and replaced "-flto=auto -ffat-lto-objects" with "-flto=none", the file was compiled without errors. A.FI. ___ devel mailing list -- devel@lists.fe

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Adrian Reber
On Tue, Jan 18, 2022 at 05:56:45PM +0100, Jakub Jelinek wrote: > On Tue, Jan 18, 2022 at 05:40:31PM +0100, Adrian Reber wrote: > > > If there are bugs on the compiler side, please let me know immediately, > > > so that those bugs can be fixed before the mass rebuild next week. > > > > Not sure if

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jonathan Wakely
On Tue, 18 Jan 2022 at 11:01, Jonathan Wakely wrote: > > > On Mon, 17 Jan 2022 at 14:01, Ben Beasley wrote: > >> Skimming through Koschei, here are a sampling of regressions that seem >> to be associated with GCC 12. Some of these are in packages I maintain >> directly; others are via @neuro-sig

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jonathan Wakely
On Tue, 18 Jan 2022 at 11:04, Jonathan Wakely wrote: > > > On Tue, 18 Jan 2022 at 10:29, Frantisek Zatloukal > wrote: > >> >> >> On Fri, Jan 14, 2022 at 3:33 PM Jakub Jelinek wrote: >> >>> If there are bugs on the compiler side, please let me know immediately, >>> so that those bugs can be fixe

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jakub Jelinek
On Tue, Jan 18, 2022 at 05:40:31PM +0100, Adrian Reber wrote: > > If there are bugs on the compiler side, please let me know immediately, > > so that those bugs can be fixed before the mass rebuild next week. > > Not sure if it is a bug, CRIU no longer works with GCC 12. > > CRIU creates somethin

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Adrian Reber
On Fri, Jan 14, 2022 at 03:31:43PM +0100, Jakub Jelinek wrote: > gcc 12 snapshot has landed as the system compiler into rawhide today. > GCC 12 is going to enter its stage4 development phase (only regression > and documentation bugfixes allowed) on Monday 17th, so there should be > just those bugfi

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Sérgio Basto
On Mon, 2022-01-17 at 14:36 +, Sérgio Basto wrote: > On Mon, 2022-01-17 at 15:10 +0100, Vitaly Zaitsev via devel wrote: > > On 17/01/2022 15:00, Ben Beasley wrote: > > > dependency “json”: https://github.com/nlohmann/json/issues/3138 > > > > https://bugzilla.redhat.com/show_bug.cgi?id=2041187

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Frantisek Zatloukal
On Tue, Jan 18, 2022 at 12:25 PM Jonathan Wakely wrote: > PR sent: > https://github.com/intel/intel-graphics-compiler/pull/226 > Thanks! Added a comment to that, works flawlessly! -- Best regards / S pozdravem, František Zatloukal Quality Engineer Red Hat ___

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Marc Dionne
On Fri, Jan 14, 2022 at 10:32 AM Jakub Jelinek wrote: > > Hi! > > gcc 12 snapshot has landed as the system compiler into rawhide today. > GCC 12 is going to enter its stage4 development phase (only regression > and documentation bugfixes allowed) on Monday 17th, so there should be > just those bug

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jakub Jelinek
On Tue, Jan 18, 2022 at 10:23:07AM +0100, Dan Horák wrote: > > The -mabi=ieeelongdouble defaulting gcc is now in the > > f36-build-side-49600 side-tag (gcc -0.5.1.fc36, same as -0.5.fc36 in > > rawhide except for the different ppc64le default ABI). > > is it right, that the attribute appears only

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jakub Jelinek
On Tue, Jan 18, 2022 at 12:38:26PM +0100, Iñaki Ucar wrote: > On Mon, 17 Jan 2022 at 15:53, Iñaki Ucar wrote: > > > > FlexiBLAS is FTBFS in rawhide [1], and upstream has managed to create a MWE > > that doesn't involve FlexiBLAS [2]. So it seems like an issue specific to > > CMake + GCC/GFortran

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Iñaki Ucar
On Mon, 17 Jan 2022 at 15:53, Iñaki Ucar wrote: > > FlexiBLAS is FTBFS in rawhide [1], and upstream has managed to create a MWE > that doesn't involve FlexiBLAS [2]. So it seems like an issue specific to > CMake + GCC/GFortran 12 + CMake's FortranC Interface. Possible regression in > gcc? > > I

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jonathan Wakely
On Tue, 18 Jan 2022 at 11:07, Jonathan Wakely wrote: > > > On Tue, 18 Jan 2022 at 11:04, Jonathan Wakely wrote: > >> >> >> On Tue, 18 Jan 2022 at 10:29, Frantisek Zatloukal >> wrote: >> >>> >>> >>> On Fri, Jan 14, 2022 at 3:33 PM Jakub Jelinek wrote: >>> If there are bugs on the compiler

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jonathan Wakely
On Tue, 18 Jan 2022 at 11:04, Jonathan Wakely wrote: > > > On Tue, 18 Jan 2022 at 10:29, Frantisek Zatloukal > wrote: > >> >> >> On Fri, Jan 14, 2022 at 3:33 PM Jakub Jelinek wrote: >> >>> If there are bugs on the compiler side, please let me know immediately, >>> so that those bugs can be fixe

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jonathan Wakely
On Tue, 18 Jan 2022 at 10:29, Frantisek Zatloukal wrote: > > > On Fri, Jan 14, 2022 at 3:33 PM Jakub Jelinek wrote: > >> If there are bugs on the compiler side, please let me know immediately, >> so that those bugs can be fixed before the mass rebuild next week. >> > > While I was trying to rebu

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Jonathan Wakely
On Mon, 17 Jan 2022 at 14:01, Ben Beasley wrote: > Skimming through Koschei, here are a sampling of regressions that seem > to be associated with GCC 12. Some of these are in packages I maintain > directly; others are via @neuro-sig. > > With a few exceptions, I have triaged these only to the ext

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Frantisek Zatloukal
On Fri, Jan 14, 2022 at 3:33 PM Jakub Jelinek wrote: > If there are bugs on the compiler side, please let me know immediately, > so that those bugs can be fixed before the mass rebuild next week. > While I was trying to rebuild some Intel components, i've encountered this issue, which seems to b

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-18 Thread Dan Horák
On Sun, 16 Jan 2022 19:27:44 +0100 Jakub Jelinek wrote: > On Fri, Jan 14, 2022 at 04:07:08PM +0100, Dan Horák wrote: > > > Another important thing I wanted to say is that we'd like to switch > > > ppc64le from the numerically problematic IBM extended long double to > > > IEEE 754 quad long double

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Björn Persson
Jakub Jelinek wrote: > If there are bugs on the compiler side, please let me know immediately, > so that those bugs can be fixed before the mass rebuild next week. Certain Ada source files trigger what looks like infinite tail recursion in add_sibling_attributes in dwarf2out.c: https://bugzilla.r

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Jakub Jelinek
On Mon, Jan 17, 2022 at 01:37:08PM -0600, Justin Forbes wrote: > > For kernel, the only bug on the GCC side I'm aware of is > > https://gcc.gnu.org/PR101941 > > We are seeing similar issues in a few different files depending on > arch. Largely due to options compiled in and compile order, nothing

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Justin Forbes
On Mon, Jan 17, 2022 at 12:32 PM Jakub Jelinek wrote: > > On Mon, Jan 17, 2022 at 12:27:15PM -0600, Justin Forbes wrote: > > > gcc 12 snapshot has landed as the system compiler into rawhide today. > > > GCC 12 is going to enter its stage4 development phase (only regression > > > and documentation

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Jakub Jelinek
On Mon, Jan 17, 2022 at 12:27:15PM -0600, Justin Forbes wrote: > > gcc 12 snapshot has landed as the system compiler into rawhide today. > > GCC 12 is going to enter its stage4 development phase (only regression > > and documentation bugfixes allowed) on Monday 17th, so there should be > > just tho

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Justin Forbes
On Fri, Jan 14, 2022 at 8:32 AM Jakub Jelinek wrote: > > Hi! > > gcc 12 snapshot has landed as the system compiler into rawhide today. > GCC 12 is going to enter its stage4 development phase (only regression > and documentation bugfixes allowed) on Monday 17th, so there should be > just those bugf

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Jakub Jelinek
On Mon, Jan 17, 2022 at 02:59:15PM -, Artur Frenszek-Iwicki wrote: > I tried compiling colobot with the new gcc, expecting it to break in some > new and fascinating way, and got the following error: > > In function 'std::char_traits::copy(char*, char const*, unsigned long)', > inlined from

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Jakub Jelinek
On Sun, Jan 16, 2022 at 01:18:51PM -0500, Kaleb Keithley wrote: > Ceph fails with gcc-12 too. > > scratch build at > https://koji.fedoraproject.org/koji/taskinfo?taskID=81280838 > > upstream ceph bug at https://tracker.ceph.com/issues/53896 That looks like a ceph bug. C++ says std::unique_ptr is

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Artur Frenszek-Iwicki
I tried compiling colobot with the new gcc, expecting it to break in some new and fascinating way, and got the following error: In function 'std::char_traits::copy(char*, char const*, unsigned long)', inlined from 'std::__cxx11::basic_string, std::allocator >::_S_copy(char*, char const*, unsi

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Iñaki Ucar
FlexiBLAS is FTBFS in rawhide [1], and upstream has managed to create a MWE that doesn't involve FlexiBLAS [2]. So it seems like an issue specific to CMake + GCC/GFortran 12 + CMake's FortranC Interface. Possible regression in gcc? Iñaki [1] https://koschei.fedoraproject.org/package/flexiblas?col

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Sérgio Basto
On Mon, 2022-01-17 at 15:10 +0100, Vitaly Zaitsev via devel wrote: > On 17/01/2022 15:00, Ben Beasley wrote: > > dependency “json”: https://github.com/nlohmann/json/issues/3138 > > https://bugzilla.redhat.com/show_bug.cgi?id=2041187 > Rawhide compose doomed again [1] :( , I still haven't the res

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Vitaly Zaitsev via devel
On 17/01/2022 15:00, Ben Beasley wrote: dependency “json”: https://github.com/nlohmann/json/issues/3138 https://bugzilla.redhat.com/show_bug.cgi?id=2041187 -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org) ___ devel mailing list -- devel@lists.f

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Paolo Bonzini
On 1/17/22 12:32, Jakub Jelinek wrote: Perhaps Paolo Bonzini is familiar with both qemu and gcc... /me waves hands. This is now https://gcc.gnu.org/PR104067. Paolo ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Ben Beasley
Skimming through Koschei, here are a sampling of regressions that seem to be associated with GCC 12. Some of these are in packages I maintain directly; others are via @neuro-sig. With a few exceptions, I have triaged these only to the extent of confirming the problem appeared at the same time

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Caolán McNamara
On Fri, 2022-01-14 at 15:31 +0100, Jakub Jelinek wrote: > If there are bugs on the compiler side, please let me know > immediately, so that those bugs can be fixed before the mass rebuild > next week. One of LibreOffice's import tests started to crash during rebuild with gcc-12, sbergman filed a l

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Richard W.M. Jones
On Mon, Jan 17, 2022 at 12:32:36PM +0100, Jakub Jelinek wrote: > On Sun, Jan 16, 2022 at 05:58:10PM +, Richard W.M. Jones wrote: > > I tried recompiling qemu and it fails with an odd error in the RCU > > torture test. Bug submitted upstream here: > > > > https://gitlab.com/qemu-project/qemu/-

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Jakub Jelinek
On Sun, Jan 16, 2022 at 05:58:10PM +, Richard W.M. Jones wrote: > I tried recompiling qemu and it fails with an odd error in the RCU > torture test. Bug submitted upstream here: > > https://gitlab.com/qemu-project/qemu/-/issues/823 > > ... but since GCC 12 is the only big thing that has chan

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-17 Thread Jakub Jelinek
On Sun, Jan 16, 2022 at 01:18:51PM -0500, Kaleb Keithley wrote: > Ceph fails with gcc-12 too. > > scratch build at > https://koji.fedoraproject.org/koji/taskinfo?taskID=81280838 > > upstream ceph bug at https://tracker.ceph.com/issues/53896 Can you please mail me preprocessed source on which thi

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-16 Thread Jakub Jelinek
On Fri, Jan 14, 2022 at 04:07:08PM +0100, Dan Horák wrote: > > Another important thing I wanted to say is that we'd like to switch > > ppc64le from the numerically problematic IBM extended long double to > > IEEE 754 quad long double. This is an ABI change. Some libraries > > are already built so

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-16 Thread Kaleb Keithley
Ceph fails with gcc-12 too. scratch build at https://koji.fedoraproject.org/koji/taskinfo?taskID=81280838 upstream ceph bug at https://tracker.ceph.com/issues/53896 -- Kaleb ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-16 Thread Richard W.M. Jones
I tried recompiling qemu and it fails with an odd error in the RCU torture test. Bug submitted upstream here: https://gitlab.com/qemu-project/qemu/-/issues/823 ... but since GCC 12 is the only big thing that has changed since we just rebuilt qemu, could that be a reason? https://gitlab.com/qem

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-16 Thread Vitaly Zaitsev via devel
On 15/01/2022 19:40, Ben Beasley wrote: To clarify, this is affecting the https://src.fedoraproject.org/rpms/json package and (since it is a header-only library) some or all of the many packages that use it. nheko package: /builddir/build/BUILD/nheko-0.9.1/src/Cache.cpp:4530:34: error: ambig

Re: gcc-12.0.0-0.4.fc36 in rawhide

2022-01-16 Thread Richard W.M. Jones
On Sat, Jan 15, 2022 at 01:50:19PM -0700, Martin Sebor wrote: > Having said that, checking and handling possible truncation before > calling snprintf() is doing double the work. I would suggest to get > rid of the check and instead handle the truncation after it happens. > This is both simpler and

  1   2   >