https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124406

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #5)
> > ../configure --enable-languages=c,c++ --disable-multilib 
> > --with-build-config=bootstrap-lto-lean --with-arch=z196 --with-tune=zEC12 
> > --disable-libstdcxx-pch
> > make -j4 STAGE1_CFLAGS="-O2" profiledbootstrap
> 
> worked OK.  I'm trying the exact original configure/flags but my VM has
> different glibc at least.  The symptom suggests the issue should not be
> LTO dependent, I'll try to prove that tomorrow, also to reproduce in the
> same build env if really necessary.

So it reproduces with glibc 2.31 as well, plain trunk (r16-7954 this time) and

> ../gcc/configure 'CFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables 
> -fstack-clash-protection -Werror=return-type -g' 'CXXFLAGS= -O2 
> -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection 
> -Werror=return-type -g' 'XCFLAGS= -O2 -funwind-tables 
> -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g' 
> 'TCFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables 
> -fstack-clash-protection -Werror=return-type -g' 'GDCFLAGS= -O2 
> -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' 
> --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man 
> --libdir=/usr/lib64 --libexecdir=/usr/lib64 
> --enable-languages=c,c++,objc,fortran,obj-c++,jit --enable-host-shared 
> --enable-checking=yes --disable-werror 
> --with-gxx-include-dir=/usr/include/c++/16 
> --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --enable-ssp --disable-libssp 
> --disable-libvtv --enable-cet=auto --disable-libcc1 --enable-plugin 
> --with-bugurl=https://bugs.opensuse.org/ '--with-pkgversion=SUSE Linux' 
> --with-slibdir=/lib64 --with-system-zlib --enable-libstdcxx-allocator=new 
> --disable-libstdcxx-pch --enable-libphobos 
> --enable-version-specific-runtime-libs --with-gcc-major-version-only 
> --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function 
> --disable-multilib --program-suffix=-16 --without-system-libunwind 
> --with-tune=zEC12 --with-arch=z196 --with-long-double-128 
> --enable-decimal-float --with-build-config=bootstrap-lto-lean 
> --enable-link-serialization --build=s390x-suse-linux --host=s390x-suse-linux
> setarch s390x -R make -Oline profiledbootstrap 'STAGE1_CFLAGS=-g -O2' 
> 'BOOT_CFLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 
> -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables 
> -fstack-clash-protection -Werror=return-type  -g' -j4


it does _not_ reproduce when instead of bootstrap-lto-lean use the default
build config :/

trying bootstrap-lto now to eventually debug with that.

Reply via email to