Yesterday I tried building gcc again for the first time since two
weeks and encountered what looks like an endless loop.

This command:
stage2/xgcc -Bstage2/ -B/opt/gcc/4.1-devel/x86_64-suse-linux-gnu/bin/ -c -g -O2
     -gnatpg -gnata -g -O1 -fno-inline \
 -I- -I. -Iada -I/cvs/gcc/gcc/ada /cvs/gcc/gcc/ada/a-except.adb -o ada/a-except.
o

was running for several hours.


Attaching gdb shows:

Attaching to program: /builds/gcc/misc/gcc/stage2/gnat1, process 32744
Reading symbols from /lib64/tls/libc.so.6...done.
Loaded symbols for /lib64/tls/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
0x0000000000469c53 in csets._elabb () at /cvs/gcc/gcc/ada/csets.adb:627
627        Fold_IBM_PC_437 : constant Translate_Table := Translate_Table'(

If I let it run for some time, it still shows:
(gdb) c
Continuing.

Program received signal SIGINT, Interrupt.
x0000000000469c53 in csets._elabb () at /cvs/gcc/gcc/ada/csets.adb:627
627        Fold_IBM_PC_437 : constant Translate_Table := Translate_Table'(
(gdb) bt
#0  0x0000000000469c53 in csets._elabb () at /cvs/gcc/gcc/ada/csets.adb:627
#1  0x0000000000403935 in adainit () at b_gnat1.c:327
#2  0x000000000041b478 in gnat_parse_file (set_yydebug=<value optimized out>)
    at /cvs/gcc/gcc/ada/misc.c:240
#3  0x0000000000ad9238 in toplev_main (argc=<value optimized out>, argv=0x0)
    at /cvs/gcc/gcc/toplev.c:1000
#4  0x00002aaaaabde54a in __libc_start_main () from /lib64/tls/libc.so.6
#5  0x0000000000402dfa in _start () at start.S:113


This is with current GCC mainline and happens on both Linux/x86-64
and Linux/PowerPC for me.

Anybody with the same problem?  

I'll do a binary search now to figure out which patch broke this,
Andreas
-- 
 Andreas Jaeger, [EMAIL PROTECTED], http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgpoaIjs17Sfl.pgp
Description: PGP signature

Reply via email to