[Bug bootstrap/16146] New: bootstrap of gcc-3.5-20040620 on Darwin 7.0.1 hangs while compiling gcc/config/darwin-crt2.c with xgcc

lars dot sonchocky-helldorf at hamburg dot de gcc-bugzilla@gcc.gnu.org
Tue Jun 22 20:22:00 GMT 2004


bootstrap of gcc-3.5-20040620 on Darwin 7.0.1 hangs (== never completes) here:

./xgcc -B./ -B/tmp/gcc/i686-apple-darwin7.0.0/bin/ -isystem /tmp/gcc/i686-apple-
darwin7.0.0/include -isystem /tmp/gcc/i686-apple-darwin7.0.0/sys-include -L/var/root/GCC/
FSF/testbuild/gcc/../ld -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc-3.5-20040620/gcc -I../../
gcc-3.5-20040620/gcc/. -I../../gcc-3.5-20040620/gcc/../include -I./../intl -I../../gcc-3.5-
20040620/gcc/../libcpp/include -I../../gcc-3.5-20040620/gcc/../libbanshee/libcompat -I../../
gcc-3.5-20040620/gcc/../libbanshee -I../../gcc-3.5-20040620/gcc/../libbanshee/points-to   \
  -c ../../gcc-3.5-20040620/gcc/config/darwin-crt2.c -o crt2.o

after attaching gdb onto xgcc:

(gdb) attach xgcc
Attaching to process 2997.
Reading symbols for shared libraries . done
Reading symbols for shared libraries .... done
0x00005721 in execute () at ../../gcc-3.5-20040620/gcc/gcc.c:2846
2846        double ut = 0.0, st = 0.0;

 I get the following backtrace:

(gdb) bt
#0  0x00005721 in execute () at ../../gcc-3.5-20040620/gcc/gcc.c:2846
#1  0x0000b415 in do_spec (spec=0x1c880 "%{E|M|MM:%(trad_capable_cpp) %(cpp_options) 
%(cpp_debug_options)}      %{!E:%{!M:%{!MM:          %{traditional|ftraditional:%eGNU C no longer 
supports -traditional without -E}       %{!combine:\t  %{sa"...) at ../../gcc-3.5-20040620/gcc/
gcc.c:4272
#2  0x00011198 in main (argc=31, argv=0xbfff70e4) at ../../gcc-3.5-20040620/gcc/gcc.c:6526
(gdb) 

GCC was bootstrapped like this:

mkdir /tmp/gcc
mkdir testbuild
cd testbuild/
../gcc-3.5-20040620/configure --prefix=/tmp/gcc
make bootstrap STAGE1_CFLAGS="-no-cpp-precomp -Wa,-force_cpusubtype_ALL -g"

If you want to see what is going on I can give you ssh access to my x86 Darwin box. Contact me by 
mail for this.

-- 
           Summary: bootstrap of gcc-3.5-20040620 on Darwin 7.0.1 hangs
                    while compiling gcc/config/darwin-crt2.c with xgcc
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lars dot sonchocky-helldorf at hamburg dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-apple-darwin7.0.0
  GCC host triplet: i686-apple-darwin7.0.0
GCC target triplet: i686-apple-darwin7.0.0


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



More information about the Gcc-bugs mailing list