From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25103 invoked by alias); 30 May 2008 14:06:46 -0000 Received: (qmail 24840 invoked by uid 48); 30 May 2008 14:05:58 -0000 Date: Fri, 30 May 2008 14:06:00 -0000 Subject: [Bug c++/36391] New: Compilation never ends X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ivan at cvut dot cz" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg02270.txt.bz2 When compiling my code compilation never ends(takes more than 2 hours). Same source can be compiled on 32bit linux without any problems. Platforms known to work: Gentoo linux Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.2 (Gentoo 4.1.2) Platforms, where compilation failts: Centos5: [root@centosa src]# g++ -v -save-temps trotl_parser.i Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20070626 (Red Hat 4.1.2-14) /usr/libexec/gcc/x86_64-redhat-linux/4.1.2/cc1plus -fpreprocessed trotl_parser.i -quiet -dumpbase trotl_parser.i -mtune=generic -auxbase trotl_parser -version -o trotl_parser.s GNU C++ version 4.1.2 20070626 (Red Hat 4.1.2-14) (x86_64-redhat-linux) compiled by GNU C version 4.1.2 20070626 (Red Hat 4.1.2-14). GGC heuristics: --param ggc-min-expand=55 --param ggc-min-heapsize=47694 Compiler executable checksum: 1b5a07286c4ca6738c6243b887a3a164 Ubuntu 8.04: ivan@brezina:~/devel/trotl/objdir-424/src$ g++ -v -save-temps trotl_parser.i Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) /usr/lib/gcc/x86_64-linux-gnu/4.2.3/cc1plus -fpreprocessed trotl_parser.i -quiet -dumpbase trotl_parser.i -mtune=generic -auxbase trotl_parser -version -fstack-protector -fstack-protector -o trotl_parser.s GNU C++ version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) (x86_64-linux-gnu) compiled by GNU C version 4.2.3 (Ubuntu 4.2.3-2ubuntu7). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: d12ba6ac5ad10f3cd3c194fd1127d2d9 Ubuntu 8.04 with gcc-4.2.4 compiled from source: ivan@brezina:~/devel/trotl/objdir-424/src$ ~/gcc-424/bin/g++ -v -save-temps trotl_parser.i Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../configure --prefix=/home/ivan/gcc-424 --enable-languages=c,c++ Thread model: posix gcc version 4.2.4 /home/ivan/gcc-424/libexec/gcc/x86_64-unknown-linux-gnu/4.2.4/cc1plus -fpreprocessed trotl_parser.i -quiet -dumpbase trotl_parser.i -mtune=generic -auxbase trotl_parser -version -o trotl_parser.s GNU C++ version 4.2.4 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.2.4. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 4b83ed1fc6649caf958073e436edbdba -- Summary: Compilation never ends Product: gcc Version: 4.2.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivan at cvut dot cz GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36391