public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/11396] New: Ada bootstrap failure on Tru64 UNIX V5.1
@ 2003-07-01 20:36 gcc-bugzilla at gcc dot gnu dot org
  2003-07-02  0:08 ` [Bug bootstrap/11396] " ro at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2003-07-01 20:36 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 7510 bytes --]

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Ada bootstrap failure on Tru64 UNIX V5.1
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alpha-dec-osf5.1
  GCC host triplet: alpha-dec-osf5.1
GCC target triplet: alpha-dec-osf5.1

While trying to determine if the bootstrap failure reported in PR
bootstrap/11354 has been fixed/masked in the meantime, I ran into another
bootstrap failure:

stage1/xgcc -Bstage1/ -B/vol/gcc/share/alpha-dec-osf5.1/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/vol/gnu/src/gcc/gcc-dist/gcc/ada /vol/gnu/src/gcc/gcc-dist/gcc/ada/atree.adb -o ada/atree.o -v
Reading specs from stage1/specs
Configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --enable-languages=ada alpha-dec-osf5.1
Thread model: single
gcc version 3.4 20030701 (experimental)
 stage1/gnat1 -I- -I. -Iada -I/vol/gnu/src/gcc/gcc-dist/gcc/ada -quiet -dumpbase atree.adb -g -gnatpg -gnata -O2 -gnatO ada/atree.o /vol/gnu/src/gcc/gcc-dist/gcc/ada/atree.adb -o /tmp//cc3G1chA.s
+===========================GNAT BUG DETECTED==============================+
| 3.4 20030701 (experimental) (alpha-dec-osf5.1) Constraint_Error SIGSEGV  |
| Error detected at /vol/gnu/src/gcc/gcc-dist/gcc/ada/g-htable.adb:40:4 [/vol/gnu/src/gcc/gcc-dist/gcc/ada/g-htable.adb:204:7 [/vol/gnu/src/gcc/gcc-dist/gcc/ada/atree.adb:1008:4]]|
| 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).                   |
+==========================================================================+

The crash happens in strcmp: the filename argument passed to
dbxout_source_file is invalid:

Program received signal SIGSEGV, Segmentation fault.
0x000003ff800cfc2c in strcmp () from /usr/shlib/libc.so
(gdb) where
#0  0x000003ff800cfc2c in strcmp () from /usr/shlib/libc.so
#1  0x000000012078fa4c in dbxout_source_file (file=0x3ffc00800f8,
    filename=0xafafafaf4054d163 <Error reading address 0xafafafaf4054d163: Invalid argument>) at /vol/gnu/src/gcc/gcc-dist/gcc/dbxout.c:687
#2  0x000000012078fc98 in dbxout_source_line (lineno=44,
    filename=0xafafafaf4054d163 <Error reading address 0xafafafaf4054d163: Invalid argument>) at /vol/gnu/src/gcc/gcc-dist/gcc/dbxout.c:715
#3  0x0000000120805a9c in final_scan_insn (insn=0x646360, file=0x3ffc00800f8,
    optimize=1, prescan=0, nopeepholes=0)
    at /vol/gnu/src/gcc/gcc-dist/gcc/final.c:2029
#4  0x0000000120804b8c in final (first=0x640ea0, file=0x3ffc00800f8,
    optimize=1, prescan=0) at /vol/gnu/src/gcc/gcc-dist/gcc/final.c:1611
#5  0x0000000120566e8c in rest_of_handle_final (decl=0x56a8f0, insns=0x640ea0)
    at /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c:2310
#6  0x000000012056b664 in rest_of_compilation (decl=0x56a8f0)
    at /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c:3823
#7  0x000000012012fe28 in end_subprog_body ()
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/utils.c:1812
#8  0x000000012016de48 in tree_transform (gnat_node=127762)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:2717
#9  0x000000012015e09c in gnat_to_code (gnat_node=127762)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:238
#10 0x0000000120176d94 in process_decls (gnat_decls=-99985453, gnat_decls2=0,
    gnat_end_list=0, pass1p=1, pass2p=1)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:4343
#11 0x0000000120170e44 in tree_transform (gnat_node=127214)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:3168
#12 0x000000012015e09c in gnat_to_code (gnat_node=127214)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:238
#13 0x0000000120123f7c in insert_code_for (gnat_node=127214)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/misc.c:735
#14 0x0000000120175a4c in process_freeze_entity (gnat_node=127912)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:4094
#15 0x00000001201766c0 in process_decls (gnat_decls=-99994125, gnat_decls2=0,
    gnat_end_list=0, pass1p=1, pass2p=0)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:4268
#16 0x0000000120176678 in process_decls (gnat_decls=-99995284, gnat_decls2=0,
    gnat_end_list=0, pass1p=1, pass2p=1)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:4260
#17 0x0000000120170db4 in tree_transform (gnat_node=29434)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:3158
#18 0x000000012015e09c in gnat_to_code (gnat_node=29434)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:238
#19 0x0000000120170d54 in tree_transform (gnat_node=41211)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:3153
#20 0x000000012015e09c in gnat_to_code (gnat_node=41211)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:238
#21 0x00000001201711b8 in tree_transform (gnat_node=29393)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:3225
#22 0x000000012015e09c in gnat_to_code (gnat_node=29393)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:238
#23 0x0000000120171004 in tree_transform (gnat_node=1363)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:3208
#24 0x000000012015e09c in gnat_to_code (gnat_node=1363)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:238
#25 0x000000012015e044 in gigi (gnat_root=1363, max_gnat_node=135509,
    number_name=14389, nodes_ptr=0x140b32d80, next_node_ptr=0x140873b60,
    prev_node_ptr=0x14046e000, elists_ptr=0x1405a5000, elmts_ptr=0x140547000,
    strings_ptr=0x140447800, string_chars_ptr=0x140434000,
    list_headers_ptr=0x140668220, number_units=42,
    file_info_ptr=0x11fffb7c0 "0¦á\021", standard_integer=42,
    standard_long_long_float=66, standard_exception_type=1033,
    gigi_operating_mode=0) at /vol/gnu/src/gcc/gcc-dist/gcc/ada/trans.c:221
#26 0x0000000120555978 in back_end__call_back_end (
    mode=back_end__generate_object)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/back_end.adb:108
#27 0x0000000120557b50 in _ada_gnat1drv ()
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/gnat1drv.adb:573
#28 0x00000001201204e4 in gnat_parse_file (set_yydebug=0)
    at /vol/gnu/src/gcc/gcc-dist/gcc/ada/misc.c:212
#29 0x00000001205662e4 in compile_file ()
    at /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c:2070
#30 0x000000012056e93c in do_compile ()
    at /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c:4960
#31 0x000000012056ea0c in toplev_main (argc=17, argv=0x11fffc018)
    at /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c:4989
#32 0x00000001205586c8 in main (argc=17, argv=0x11fffc018)
    at /vol/gnu/src/gcc/gcc-dist/gcc/main.c:37

Environment:
System: OSF1 bartok V5.1 732 alpha
Machine: alpha
	
host: alpha-dec-osf5.1
build: alpha-dec-osf5.1
target: alpha-dec-osf5.1
configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --enable-languages=ada alpha-dec-osf5.1

How-To-Repeat:
Bootstrap the compiler as above.
------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2003-07-01 20:36 -------
Fix:
Compiling the file without optimization works, but both -O and -O2 (the
default) result in the described SEGV.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/11396] Ada bootstrap failure on Tru64 UNIX V5.1
  2003-07-01 20:36 [Bug bootstrap/11396] New: Ada bootstrap failure on Tru64 UNIX V5.1 gcc-bugzilla at gcc dot gnu dot org
@ 2003-07-02  0:08 ` ro at gcc dot gnu dot org
  2003-07-15 19:36 ` ro at gcc dot gnu dot org
  2003-10-17 17:44 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu dot org @ 2003-07-02  0:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at codesourcery dot
                   |dot org                     |com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-02 00:08:55
               date|                            |


------- Additional Comments From ro at gcc dot gnu dot org  2003-07-02 00:08 -------
Nathan, I've just identified your patch

http://gcc.gnu.org/ml/gcc-patches/2003-06/msg03057.html

causes this bootstrap failure.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/11396] Ada bootstrap failure on Tru64 UNIX V5.1
  2003-07-01 20:36 [Bug bootstrap/11396] New: Ada bootstrap failure on Tru64 UNIX V5.1 gcc-bugzilla at gcc dot gnu dot org
  2003-07-02  0:08 ` [Bug bootstrap/11396] " ro at gcc dot gnu dot org
@ 2003-07-15 19:36 ` ro at gcc dot gnu dot org
  2003-10-17 17:44 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu dot org @ 2003-07-15 19:36 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From ro at gcc dot gnu dot org  2003-07-15 19:36 -------
Fixed by

http://gcc.gnu.org/ml/gcc-patches/2003-07/msg00240.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/11396] Ada bootstrap failure on Tru64 UNIX V5.1
  2003-07-01 20:36 [Bug bootstrap/11396] New: Ada bootstrap failure on Tru64 UNIX V5.1 gcc-bugzilla at gcc dot gnu dot org
  2003-07-02  0:08 ` [Bug bootstrap/11396] " ro at gcc dot gnu dot org
  2003-07-15 19:36 ` ro at gcc dot gnu dot org
@ 2003-10-17 17:44 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 17:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-17 17:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-01 20:36 [Bug bootstrap/11396] New: Ada bootstrap failure on Tru64 UNIX V5.1 gcc-bugzilla at gcc dot gnu dot org
2003-07-02  0:08 ` [Bug bootstrap/11396] " ro at gcc dot gnu dot org
2003-07-15 19:36 ` ro at gcc dot gnu dot org
2003-10-17 17:44 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).