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]

ada/6584: failure building GNAT library



>Number:         6584
>Category:       ada
>Synopsis:       failure building GNAT library
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon May 06 13:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bruno Haible
>Release:        3.1 20020423 (prerelease)
>Organization:
GNU hackers
>Environment:
System: Linux linuix 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../configure --prefix=/packages/gnu-snapshot --enable-shared --enable-version-specific-runtime-libs --enable-nls
>Description:

Seen in the gcc-3.1-20020423 snapshot, on i686-pc-linux-gnu: During the
step "make gnatlib_and_tools" (after "make bootstrap") the Ada compiler
crashes:

../../xgcc -B../../ -c -g -O2   -W -Wall -gnatpg -I. -I/packages2/gcc-3.1-20020423/gcc/ada s-auxdec.adb
+===========================GNAT BUG DETECTED==============================+
| 5.00w (20010924) (i686-pc-linux-gnu) GCC error:                          |
| internal error: Speicherzugriffsfehler                                   |
| No source file position information available                            |
| Please submit bug report by email to report@gnat.com.                    |
| Use a subject line meaningful to you and us to track the bug.            |
| (include your customer number #nnn in the subject line).                 |
| 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).                   |
| (use plain ASCII or MIME attachment, or FTP to your customer directory). |
| See README.GNATPRO for full info on procedure for submitting bugs.       |
+==========================================================================+

Please include these source files with error report



xgcc: Internal error: Getötet (program gnat1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

The way gnat1 is called is as follows:

../../gnat1 -I. -I/packages2/gcc-3.1-20020423/gcc/ada -quiet -dumpbase s-auxdec.adb -g -gnatpg -O2 -W -Wall s-auxdec.adb -o /tmp/cctcUrCP.s

and here is the debugger backtrace.

Program received signal SIGILL, Illegal instruction.
0xbffff075 in ?? ()
(gdb) where
#0  0xbffff075 in ?? ()
#1  0x0811e29a in sem__analyze (n=4323) at ../../../gcc/ada/sem.adb:401
#2  0x0814452f in sem_ch3__analyze_declarations (l=-99999677)
    at ../../../gcc/ada/sem_ch3.adb:973
#3  0x08162b8c in sem_ch7__analyze_package_specification (n=3935)
    at ../../../gcc/ada/sem_ch7.adb:681
#4  0x0811e27a in sem__analyze (n=3935) at ../../../gcc/ada/sem.adb:395
#5  0x08162a30 in sem_ch7__analyze_package_declaration (n=6780)
    at ../../../gcc/ada/sem_ch7.adb:606
#6  0x0811e24a in sem__analyze (n=6780) at ../../../gcc/ada/sem.adb:386
#7  0x0812dbe7 in sem_ch10__analyze_compilation_unit (n=3924)
    at ../../../gcc/ada/sem_ch10.adb:411
#8  0x0811dd3a in sem__analyze (n=3924) at ../../../gcc/ada/sem.adb:140
#9  0x0811ef15 in sem__semantics__do_analyze ()
    at ../../../gcc/ada/sem.adb:1093
#10 0x0811f07a in sem__semantics (comp_unit=3924)
    at ../../../gcc/ada/sem.adb:1138
#11 0x0812d926 in sem_ch10__analyze_compilation_unit (n=1363)
    at ../../../gcc/ada/sem_ch10.adb:262
#12 0x0811dd3a in sem__analyze (n=1363) at ../../../gcc/ada/sem.adb:140
#13 0x0811ef15 in sem__semantics__do_analyze ()
    at ../../../gcc/ada/sem.adb:1093
#14 0x0811f07a in sem__semantics (comp_unit=1363)
    at ../../../gcc/ada/sem.adb:1138
#15 0x080e5bb1 in _ada_frontend () at ../../../gcc/ada/frontend.adb:265
#16 0x081bc07f in _ada_gnat1drv () at ../../../gcc/ada/gnat1drv.adb:190
#17 0x0805536f in yyparse () at ../../../gcc/ada/misc.c:189
#18 0x082a7c17 in compile_file () at ../../gcc/toplev.c:2120
#19 0x082ac309 in do_compile () at ../../gcc/toplev.c:5202
#20 0x082ac369 in toplev_main (argc=14, argv=0xbffff6d4)
    at ../../gcc/toplev.c:5234
#21 0x081bc976 in main (argc=14, argv=0xbffff6d4) at ../../gcc/main.c:35


>How-To-Repeat:

After configuring the compiler, do

make
cd gcc
make gnatlib_and_tools


>Fix:

unknown
>Release-Note:
>Audit-Trail:
>Unformatted:


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