Saturday 24 November 2007 Tarihinde 03:44:04 yazmıştı: > Hi all, > > I am trying to bootstrap gcc with the following config : > > ../configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc/4.3.0 > --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include > --datadir=/usr/share/gcc/i686-pc-linux-gnu/4.3.0 > --mandir=/usr/share/gcc/i686-pc-linux-gnu/4.3.0/man > --infodir=/usr/share/gcc/i686-pc-linux-gnu/4.3.0/info > --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v3 > --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-libgcj > --disable-libssp --disable-multilib --disable-nls --disable-werror > --disable-checking --enable-clocale=gnu --enable-__cxa_atexit > --enable-languages=c,c++,fortran,objc,obj-c++,treelang > --enable-libstdcxx-allocator=new --enable-shared --enable-ssp > --enable-threads=posix --enable-version-specific-runtime-libs > --without-included-gettext --without-system-libunwind --with-system-zlib > > And build freezes at this point (stuck for ~1 hour and going on 2GB RAM > Quad Core Xeon ) : > > /var/pisi/gcc-4.3.0_pre20071123-30/work/gcc-4.3.0_20071123/build-default-i6 >86-pc-linux-gnu/./prev-gcc/xgcc > -B/var/pisi/gcc-4.3.0_pre20071123-30/work/gcc-4.3.0_20071123/build-default- >i686-pc-linux-gnu/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ -c -march=i686 > -ftree-vectorize -O2 -pipe -fomit-frame-pointer -U_FORTIFY_SOURCE > -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute > -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings > -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include > -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber > -I../../gcc/../libdecnumber/bid -I../libdecnumber insn-attrtab.c -o > insn-attrtab.o > > > I attach gdb to build-default-i686-pc-linux-gnu/./prev-gcc/xgcc and break > to get this backtrace : > > #0 0xa7fae410 in __kernel_vsyscall () > #1 0xa7e5bf93 in waitpid () from /lib/libc.so.6 > #2 0x0806608a in pex_wait (obj=0x808aca0, pid=966, status=0x80850d0, > time=0x0) at ../../libiberty/pex-unix.c:100 > #3 0x08066661 in pex_unix_wait (obj=0x808aca0, pid=966, status=0x80850d0, > time=0x0, done=0, errmsg=0xafc05a54, err=0xafc05a50) > at ../../libiberty/pex-unix.c:486 > #4 0x08065d31 in pex_get_status_and_time (obj=0x808aca0, done=0, > errmsg=0xafc05a54, err=0xafc05a50) at ../../libiberty/pex-common.c:531 > #5 0x08065d94 in pex_get_status (obj=0x808aca0, count=2, > vector=0xafc05a80) at ../../libiberty/pex-common.c:551 > #6 0x0804c6b2 in execute () at ../../gcc/gcc.c:3012 > #7 0x08050f44 in do_spec ( > spec=0x806828c "%{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/gcc.c:4436 > #8 0x0805654e in main (argc=36, argv=0xafc05dc4) at ../../gcc/gcc.c:6684
Ok looks like this is not a heisenbug, I left the gcc bootstrap going on and it took 4+ hours to compile insn-attrtab.c on this machine which looks really bad as it takes 2-3 minutes on my laptop. Any idea where to look? Regards, ismail -- Faith is believing what you know isn't so -- Mark Twain