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

            Bug ID: 80867
           Summary: [7 Regression] gnat bootstrap broken on
                    powerpc64le-linux-gnu
           Product: gcc
           Version: 7.1.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-7-branch r248347, last successful build was based on r248295.

/<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/
-B/usr/powerpc64le-linux-gnu/bin/ -B/usr/powerpc64le-linux-gnu/
lib/ -isystem /usr/powerpc64le-linux-gnu/include -isystem
/usr/powerpc64le-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/
sys-include    -c -g -O2   -W -Wall -gnatpg -nostdinc  -gnatn -g -O3
-fdebug-prefix-map=/<<PKGBUILDDIR>>/build/powerpc64le-linux-
gnu/libada=. -fstack-protector-strong  a-strfix.adb -o a-strfix.o


raised STORAGE_ERROR : stack overflow or erroneous memory access
../gcc-interface/Makefile:296: recipe for target 'a-strfix.o' failed
make[8]: *** [a-strfix.o] Error 1
make[8]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc/ada/rts'
gcc-interface/Makefile:2828: recipe for target 'gnatlib' failed
make[7]: *** [gnatlib] Error 2
make[7]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc/ada'
gcc-interface/Makefile:2920: recipe for target 'gnatlib-shared-dual' failed
make[6]: *** [gnatlib-shared-dual] Error 2
make[6]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc/ada'
gcc-interface/Makefile:3016: recipe for target 'gnatlib-shared' failed
make[5]: *** [gnatlib-shared] Error 2
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc/ada'
Makefile:118: recipe for target 'gnatlib-shared' failed
make[4]: *** [gnatlib-shared] Error 2
make[4]: Leaving directory
'/<<PKGBUILDDIR>>/build/powerpc64le-linux-gnu/libada'
Makefile:20686: recipe for target 'all-target-libada' failed
make[3]: *** [all-target-libada] Error 2

configured with

         --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++
         --prefix=/usr
         --with-gcc-major-version-only
         --program-suffix=-7
         --program-prefix=powerpc64le-linux-gnu-
         --enable-shared
         --enable-linker-build-id
         --libexecdir=/usr/lib
         --without-included-gettext
         --enable-threads=posix
         --libdir=/usr/lib
         --enable-nls
         --with-sysroot=/
         --enable-clocale=gnu
         --enable-libstdcxx-debug
         --enable-libstdcxx-time=yes
         --with-default-libstdcxx-abi=new
         --enable-gnu-unique-object
         --disable-libquadmath
         --enable-plugin
         --enable-default-pie
         --with-system-zlib
         --enable-objc-gc=auto
         --enable-secureplt
         --with-cpu=power8
         --enable-targets=powerpcle-linux
         --disable-multilib
         --enable-multiarch
         --disable-werror
         --with-long-double-128
         --enable-checking=release
         --build=powerpc64le-linux-gnu
         --host=powerpc64le-linux-gnu
         --target=powerpc64le-linux-gnu

and using -O3 as the optimization flag for the build (apparently -O2 works as
seen in another build).

Reply via email to