From: SF/projects/mingw n. l. <min...@li...> - 2011-11-29 12:03:53
|
Bugs item #3444236, was opened at 2011-11-28 08:40 Message generated for change (Comment added) made by ko1ia You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3444236&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: gcc Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nickolay Cherney (ko1ia) Assigned to: Cesar Strauss (cstrauss) Summary: cc1plus hangs when compiling Initial Comment: After trying to compile one of old projects I ran into the situation when mingw32-g++ silently hanged up. After ah hour of research I refined the whole situation to this simple test file (evidently the main reason was the erratum; but it was better to have the compile error and crashed build here then to have three hours of senseless CPU torturing). ///////////////////////////////////////// // test.cpp class A; template <class T> class B { friend __attribute__((cdecl)) A& operator >>(A& a, B& b) { return a; } }; // ///////////////////////////////////////// Compiled with command: mingw32-g++ -v test.cpp Resulting output: Using built-in specs. COLLECT_GCC=mingw32-g++ COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrapper.exe Target: mingw32 Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --disable-werror --build=mingw32 --prefix=/mingw Thread model: win32 gcc version 4.5.2 (GCC) COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=i386' '-march=i386' c:/mingw/bin/../libexec/gcc/mingw32/4.5.2/cc1plus.exe -quiet -v -iprefix c:\mingw\bin\../lib/gcc/mingw32/4.5.2/ appdict.cpp -quiet -dumpbase appdict.cpp -mtune=i386 -march=i386 -auxbase appdict -version -o C:\DOCUME~1\9335~1\LOCALS~1\Temp\ccenojSj.s GNU C++ (GCC) version 4.5.2 (mingw32) compiled by GNU C version 4.5.2, GMP version 5.0.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../mingw32/include" ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.5.2/include/c++" ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.5.2/include/c++/mingw32" ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.5.2/include/c++/backward" ignoring duplicate directory "/mingw/lib/gcc/mingw32/4.5.2/../../../../include" ignoring duplicate directory "c:/mingw/lib/gcc/../../include" ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.5.2/include" ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.5.2/include-fixed" ignoring nonexistent directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.5.2/../../../../mingw32/include" ignoring duplicate directory "/mingw/include" #include "..." search starts here: #include <...> search starts here: c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++ c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/mingw32 c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/backward c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include-fixed End of search list. GNU C++ (GCC) version 4.5.2 (mingw32) compiled by GNU C version 4.5.2, GMP version 5.0.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: bba7c68567cab1560329ee702fa8a945 ^C ---------------------------------------------------------------------- >Comment By: Nickolay Cherney (ko1ia) Date: 2011-11-29 04:03 Message: This bug posted as: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51344 ---------------------------------------------------------------------- Comment By: Cesar Strauss (cstrauss) Date: 2011-11-29 01:01 Message: The hang still happens with the latest sources. It also occurs in 4.6.1 in 64-bit Linux, so it is not MinGW specific. Could you create a bug report on http://gcc.gnu.org/bugzilla ? If you do, please tell us the gcc bug number afterwards so we can track its progress. Thanks, Cesar ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2011-11-28 13:11 Message: I confirm that this happens with 4.6.1 as well. cc1plus.exe is clocking CPU cycles with no I/O being registered as per the task manager. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3444236&group_id=2435 |