[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 --- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2012-01-02 10:15:57 UTC --- Try disabling PCH, too. If PCH is required to reproduce the bug also include all preprocessed headers to build the PCH.
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 --- Comment #3 from Yuriy Lalym ylalym at gmail dot com 2012-01-02 15:06:30 UTC --- Without PCH errors aren't present. all preprocessed headers to build the PCH #include stdio.h It is enough one header for error origin.
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 --- Comment #4 from Yuriy Lalym ylalym at gmail dot com 2012-01-02 15:16:03 UTC --- main.cpp --- #include QtCore/QCoreApplication int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); return a.exec(); } --- pch.h --- #include stdio.h g++-4.7 -m64 -pipe -g3 -gdwarf-4 -fvar-tracking-assignments -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. -x c++-header -c pch.h -o untitled5.gch/c++ g++-4.7 -c -include untitled5 -m64 -pipe -g3 -gdwarf-4 -fvar-tracking-assignments -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. -o main.o main.cpp *** glibc detected *** /usr/local/lib/gcc/x86_64-suse-linux/4.7.0/cc1plus: double free or corruption (out): 0x0010c180 ***
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 --- Comment #5 from Yuriy Lalym ylalym at gmail dot com 2012-01-02 18:50:23 UTC --- gcc-4.7 -v Using built-in specs. COLLECT_GCC=gcc-4.7 COLLECT_LTO_WRAPPER=/usr/local/lib/gcc/x86_64-suse-linux/4.7.0/lto-wrapper Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr/local --libdir=/usr/local/lib64 --libexecdir=/usr/local/lib64 --enable-languages=c,c++ --enable-checking=release --with-gxx-include-dir=/usr/local/include/c++/4.7 --enable-ssp --disable-libssp --disable-plugin --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.7 --enable-linux-futex --without-system-libunwind --with-tune=core2 --build=x86_64-suse-linux : (reconfigured) ../configure --prefix=/usr/local --libdir=/usr/local/lib64 --libexecdir=/usr/local/lib64 --enable-languages=c,c++ --enable-checking=release --with-gxx-include-dir=/usr/local/include/c++/4.7 --enable-ssp --disable-libssp --disable-plugin --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.7 --enable-linux-futex --without-system-libunwind --with-tune=core2 --build=x86_64-suse-linux Thread model: posix gcc version 4.7.0 20120102 (experimental) (SUSE Linux)
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 --- Comment #6 from Yuriy Lalym ylalym at gmail dot com 2012-01-02 18:57:40 UTC --- Created attachment 26220 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26220 For example in Comment 4
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 Hans-Peter Nilsson hp at gcc dot gnu.org changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment #7 from Hans-Peter Nilsson hp at gcc dot gnu.org 2012-01-03 04:39:05 UTC --- (In reply to comment #6) Created attachment 26220 [details] For example in Comment 4 Sorry, that file contains a reference to precompiled headers: #pragma GCC pch_preprocess ./untitled5.gch/c++ so we'd need all preprocessed headers to build the PCH (I'm not sure how to find those from the above line). On a somewhat closer look, the precompiled header is found within the Qt-headers, so maybe you just need to rebuild *that* without precompiled headers to create a debuggable context we can use.
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 --- Comment #8 from Yuriy Lalym ylalym at gmail dot com 2012-01-03 06:05:23 UTC --- Created attachment 26224 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26224 new example main.cpp int main() { return 0; } pch.h #include stdio.h -g2 g++-4.7 -m64 -pipe -g2 -gdwarf-4 -fvar-tracking-assignments -Wall -W -D_REENTRANT -x c++-header -c pch.h -o untitled5.gch/c++ g++-4.7 -c -include untitled5 -m64 -pipe -g2 -gdwarf-4 -fvar-tracking-assignments -Wall -W -D_REENTRANT -o main.o main.cpp g++-4.7 -m64 -o untitled5 main.o-L/usr/lib64 -lpthread good -g3 g++-4.7 -m64 -pipe -g3 -gdwarf-4 -fvar-tracking-assignments -Wall -W -D_REENTRANT -x c++-header -c pch.h -o untitled5.gch/c++ g++-4.7 -c -include untitled5 -m64 -pipe -g3 -gdwarf-4 -fvar-tracking-assignments -Wall -W -D_REENTRANT -o main.o main.cpp *** glibc detected *** /usr/local/lib/gcc/x86_64-suse-linux/4.7.0/cc1plus: munmap_chunk(): invalid pointer: 0x0010ba20 ***
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 --- Comment #9 from Yuriy Lalym ylalym at gmail dot com 2012-01-03 06:08:14 UTC --- Created attachment 26225 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26225 And pch.ii
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 --- Comment #10 from Yuriy Lalym ylalym at gmail dot com 2012-01-03 06:17:03 UTC --- Created attachment 26226 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26226 only main with empty pch main.cpp int main() { return 0; } pch.h // Empty
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 --- Comment #11 from Yuriy Lalym ylalym at gmail dot com 2012-01-03 06:17:49 UTC --- Created attachment 26227 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26227 And pch.ii
[Bug c++/51722] Options -g3 or -ggdb3 or -g3 -gdwarf-2 and other -g..level3 - internal compiler error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2012-01-01 Ever Confirmed|0 |1 --- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com 2012-01-01 11:10:45 UTC --- Please provide all the required information, in particular the preprocessed .ii: http://gcc.gnu.org/bugs/#need