This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/19337] [4.0 Regression] ada does not compile


------- Additional Comments From heitkamp at ameritech dot net  2005-01-10 13:18 -------
Subject: Re:  [4.0 Regression] ada does not compile

On Sun, 9 Jan 2005, laurent at guerby dot net wrote:

>
> ------- Additional Comments From laurent at guerby dot net  2005-01-09 18:22 -------
> Could you paste the 10 last compile lines of your log? We cannot say wether it's
> stage2, 3 or part of gnattools that is failing from your report.

stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -g -O0 \
  -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/memtrack.adb -o ada/memtrack.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -g -O0 \
  -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-memory.adb -o ada/s-memory.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-carun8.adb -o ada/s-carun8.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-casuti.adb -o ada/s-casuti.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-strcom.adb -o ada/s-strcom.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-purexc.ads -o ada/s-purexc.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-htable.adb -o ada/s-htable.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-traceb.adb -o ada/s-traceb.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-mastop.adb -o ada/s-mastop.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-except.ads -o ada/s-except.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/ali.adb -o ada/ali.o
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20050109 (experimental) (i686-pc-linux-gnu) GCC error:             |
| in make_decl_rtl, at varasm.c:867                                        |
| Error detected at ali.adb:2098:1                                         |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases, 
so please double check that the problem can still 
be reproduced with the set of files listed.

../../gcc-cvs/gcc/gcc/ada/ali.adb
../../gcc-cvs/gcc/gcc/ada/ali.ads
../../gcc-cvs/gcc/gcc/ada/casing.ads
../../gcc-cvs/gcc/gcc/ada/types.ads
../../gcc-cvs/gcc/gcc/ada/gnatvsn.ads
../../gcc-cvs/gcc/gcc/ada/rident.ads
../../gcc-cvs/gcc/gcc/ada/table.ads
../../gcc-cvs/gcc/gcc/ada/butil.ads
../../gcc-cvs/gcc/gcc/ada/debug.ads
../../gcc-cvs/gcc/gcc/ada/fname.ads
../../gcc-cvs/gcc/gcc/ada/namet.ads
../../gcc-cvs/gcc/gcc/ada/alloc.ads
../../gcc-cvs/gcc/gcc/ada/opt.ads
../../gcc-cvs/gcc/gcc/ada/hostparm.ads
../../gcc-cvs/gcc/gcc/ada/osint.ads
../../gcc-cvs/gcc/gcc/ada/output.ads
../../gcc-cvs/gcc/gcc/ada/table.adb
../../gcc-cvs/gcc/gcc/ada/tree_io.ads


Execution terminated by unhandled exception
Exception name: TYPES.UNRECOVERABLE_ERROR
Message: comperr.adb:387
Call stack traceback locations:
0x80e0fce 0x8074764 0x8439c3b 0x8439f47 0x843a355 0x843a422 0x86f0486 0x8498ef6 0x84982a0 0x84ab886 0x849ac25 0x84982a0 0x84ab886 0x848d6de 0x84a6ecf 0x8498263 0x86b5fe5 0x86af227 0x870ea1c 0x870f0dd 0x8306cd8 0x8306dc0 0x8307088 0x8075f25 0x8740ec4 0x8742f41 0x8743263 0x80742fd 0x86c312a 0x86c4c14 0x86c4c74 0x82d7ffc 0xb7ec52fe
make[2]: *** [ada/ali.o] Error 1
make[2]: Leaving directory `/drives/work/src/gcc-head-bin/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/drives/work/src/gcc-head-bin/gcc'
make: *** [bootstrap] Error 2

>
> Please also give your complete configure line, and the list of all commands
> you've called after configure to get this result. Also make sure

PREFIX=/usr/gcc_cvs
SRC=gcc-cvs/gcc/
LANGUAGES="c,c++,f95,ada,java,objc"
../$SRC/configure \
         --prefix=$PREFIX \
 	--with-gcc                              \
         --with-gnu-ld                           \
         --with-gnu-as                           \
         --enable-libgcj                         \
         --enable-java-gc=boehm                  \
         --enable-interpreter                    \
         --enable-hash-synchronization           \
         --enable-shared                       \
         --enable-threads=posix \
         --enable-clocale=gnu \
         --with-cpu=athlon-mp \
 	--enable-sse2 \
         --with-tls \
         --with-nptl \
         --enable-languages=$LANGUAGES \
         --with-libada   \
         --with-libbanshee \
         --with-gmp \
         --enable-version-specific-runtime-libs \
         --enable-__cxa_atexit \
         --enable-maintainer-mode \
         --enable-libbanshee \
 	--disable-werror \
         --enable-libada

make BOOT_CFLAGS='-mtune=athlon-mp -O3 -pipe' \
 	CFLAGS='-O2' \
 	LIBCXXFLAGS='-g -O2 -fno-implicit-templates' \
 	bootstrap 2>&1|tee log.make.txt

> the prefix directory is empty before configure so we're not
> using some half-built tools.

I've tried empty and not empty.  It made no difference.

>
> As you've seen many people are building successfully Ada daily, so this is
> something on your side, we need all details of what you did to be able to help.

I tried the same configure above with a clean Debian unstable install and 
it produced the same error.

I've been trying some simpler configures, but none have worked so far, but 
do not reproduce the ada problem.  I've not tried a simple configure on 
the clean Debian install.

Normally if I can get the ada compiler to compile, the java, fortran or 
objc fails.

What versions of all the auto tools should I be using?  What 
version of the compiler should I use to start the build? Should any stable 
version work?  Also what configure options work best.  Sorry for these 
questions.  I have been unable to build the gcc head for sometime. 
One last question, what is the series of targets that must be made 
to make the ada compiler and all the tools? Thanks for all your help.

Fred


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]