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

            Bug ID: 117058
           Summary: [13 Regression] profiled bootstrap fails building gnat
           Product: gcc
           Version: 13.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with the gcc-13 branch 20241009 on all *-linux-* targets, last successful
build is from 20240830. The build fails with

make[5]: Entering directory '/home/packages/gcc/13/gcc-13-13.3.0/build/gcc'
mkdir -p ada/
/home/packages/gcc/13/gcc-13-13.3.0/build/./prev-gcc/xgcc
-B/home/packages/gcc/13/gcc-13-13.3.0/build/./prev-gcc/
-B/usr/x86_64-linux-gnu/bin/ -B/usr/x86_64-linux-gnu/bin/
-B/usr/x86_64-linux-gnu/lib/ -isystem /usr/x86_64-linux-gnu/include -isystem
/usr/x86_64-linux-gnu/sys-include -isystem
/home/packages/gcc/13/gcc-13-13.3.0/build/sys-include   -fno-checking -c -g -O2
-fno-checking -fprofile-generate  -gnatpg  -W -Wall -nostdinc -I- -I.
-Iada/generated -Iada -I../../src/gcc/ada -Iada/libgnat
-I../../src/gcc/ada/libgnat -Iada/gcc-interface
-I../../src/gcc/ada/gcc-interface ../../src/gcc/ada/exp_put_image.adb -o
ada/exp_put_image.o
exp_put_image.adb:40:06: warning: no entities of "Sem_Aux" are referenced
[-gnatwu]
exp_put_image.adb:40:22: warning: use clause for package "Sem_Aux" has no
effect [-gnatwu]
make[5]: *** [../../src/gcc/ada/gcc-interface/Make-lang.in:165:
ada/exp_put_image.o] Error 1
make[5]: Leaving directory '/home/packages/gcc/13/gcc-13-13.3.0/build/gcc'
make[4]: *** [Makefile:5158: all-stageprofile-gcc] Error 2
make[4]: Leaving directory '/home/packages/gcc/13/gcc-13-13.3.0/build'
make[3]: *** [Makefile:32318: stageprofile-bubble] Error 2
make[3]: Leaving directory '/home/packages/gcc/13/gcc-13-13.3.0/build'
make[2]: *** [Makefile:32599: profiledbootstrap-lean] Error 2
make[2]: Leaving directory '/home/packages/gcc/13/gcc-13-13.3.0/build'

there's not even an error message, just the two warnings.

GCC is configured with:

Configured with: -v
         --with-pkgversion='Debian 13.3.0-7'
         --with-bugurl='file:///usr/share/doc/gcc-13/README.Bugs'
         --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2
         --prefix=/usr
         --with-gcc-major-version-only
         --program-suffix=-13
         --program-prefix=x86_64-linux-gnu-
         --enable-shared
         --enable-linker-build-id
         --libexecdir=/usr/libexec
         --without-included-gettext
         --enable-threads=posix
         --libdir=/usr/lib
         --enable-nls
         --enable-bootstrap
         --enable-clocale=gnu
         --enable-libstdcxx-debug
         --enable-libstdcxx-time=yes
         --with-default-libstdcxx-abi=new
         --enable-libstdcxx-backtrace
         --enable-gnu-unique-object
         --disable-vtable-verify
         --enable-plugin
         --enable-default-pie
         --with-system-zlib
         --enable-libphobos-checking=release
         --with-target-system-zlib=auto
         --enable-objc-gc=auto
         --enable-multiarch
         --disable-werror
         --enable-cet
         --with-arch-32=i686
         --with-abi=m64
         --with-multilib-list=m32,m64,mx32
         --enable-multilib
         --with-tune=generic
        
--enable-offload-targets=nvptx-none=/home/packages/gcc/13/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/home/packages/gcc/13/gcc-13-13.3.0/debian/tmp-gcn/usr
         --enable-offload-defaulted
         --without-cuda-driver
         --enable-checking=release
         --build=x86_64-linux-gnu
         --host=x86_64-linux-gnu
         --target=x86_64-linux-gnu
         --with-build-config=bootstrap-lto-lean
         --enable-link-serialization=10

and built using: make profiledbootstrap-lean

Reply via email to