[Bug ada/54688] New: [4.8 regression] a-ioexce.ads violation of implicit restriction "No_Elaboration_Code" breaks Ada bootstrap on sparc64-linux

mikpe at it dot uu.se gcc-bugzilla@gcc.gnu.org
Mon Sep 24 07:44:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54688

             Bug #: 54688
           Summary: [4.8 regression] a-ioexce.ads violation of implicit
                    restriction "No_Elaboration_Code" breaks Ada bootstrap
                    on sparc64-linux
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


Bootstrapping gcc-4.8-20120923 on sparc64-linux w/ Ada fails:

/mnt/scratch/objdir48/./prev-gcc/xgcc -B/mnt/scratch/objdir48/./prev-gcc/
-B/mnt/scratch/install48/sparc64-unknown-linux-gnu/bin/
-B/mnt/scratch/install48/sparc64-unknown-linux-gnu/bin/
-B/mnt/scratch/install48/sparc64-unknown-linux-gnu/lib/ -isystem
/mnt/scratch/install48/sparc64-unknown-linux-gnu/include -isystem
/mnt/scratch/install48/sparc64-unknown-linux-gnu/sys-include    -c -g -O2 
-gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada
-I/mnt/scratch/gcc-4.8-20120923/gcc/ada
-I/mnt/scratch/gcc-4.8-20120923/gcc/ada/gcc-interface
/mnt/scratch/gcc-4.8-20120923/gcc/ada/a-ioexce.ads -o ada/a-ioexce.o
a-ioexce.ads:21:19: violation of implicit restriction "No_Elaboration_Code"
a-ioexce.ads:22:19: violation of implicit restriction "No_Elaboration_Code"
a-ioexce.ads:23:19: violation of implicit restriction "No_Elaboration_Code"
a-ioexce.ads:24:19: violation of implicit restriction "No_Elaboration_Code"
a-ioexce.ads:25:19: violation of implicit restriction "No_Elaboration_Code"
a-ioexce.ads:26:19: violation of implicit restriction "No_Elaboration_Code"
a-ioexce.ads:27:19: violation of implicit restriction "No_Elaboration_Code"
a-ioexce.ads:28:19: violation of implicit restriction "No_Elaboration_Code"
make[3]: *** [ada/a-ioexce.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/mnt/scratch/objdir48/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir48'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir48'
make: *** [bootstrap] Error 2

The previous weekly snapshot, gcc-4.8-20120916, did not have this problem.

Complete configuration parameters:
/mnt/scratch/gcc-4.8-20120923/configure --prefix=/mnt/scratch/install48
--with-gmp=/home/mikpe/pkgs/linux-sparc64/gmp-5.0.5
--with-mpfr=/home/mikpe/pkgs/linux-sparc64/mpfr-3.1.1
--with-mpc=/home/mikpe/pkgs/linux-sparc64/mpc-1.0.1 --with-cpu=v8
--enable-multilib --disable-plugin --disable-lto --disable-nls
--enable-threads=posix --enable-checking=release --disable-libmudflap
--enable-languages=c,c++,fortran,ada



More information about the Gcc-bugs mailing list