Hide Forgot
Created attachment 558610 [details] aboutdialog.cpp is preprocessed Description of problem: gcc4.1.2 internal error Version-Release number of selected component (if applicable): centos5.7 version: Linux mylinux 2.6.18-274.17.1.el5 #1 SMP Tue Jan 10 17:25:58 EST 2012 x86_64 x86_64 x86_64 GNU/Linux gcc version: gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. How reproducible: compile the preprocessed c file. make[4]: Entering directory `/home/muname/workfolder/filezilla/filezilla-3.5.3/src/interface' g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -fpch-preprocess -g -O2 -Wall -g -fexceptions -MT filezilla-aboutdialog.o -MD -MP -MF .deps/filezilla-aboutdialog.Tpo -c -o filezilla-aboutdialog.o `test -f 'aboutdialog.cpp' || echo './'`aboutdialog.cpp /usr/include/wx-2.8/wx/geometry.h: In member function ‘virtual wxPoint2DInt wxTransform2D::Transform(const wxPoint2DInt&) const’: /usr/include/wx-2.8/wx/geometry.h:797: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccQRX6ap.out file, please attach this to your bugreport.
If this exists only with PCH, I'd bet this ought to be fixed in gcc-4.1.2-52.el5 and above (i.e. dup of #735304). If it is unrelated to PCH, we'll need preprocessed file without PCH.
Setting component to "gcc" as this was reported against the 4.1 toolchain.
(In reply to comment #1) > If this exists only with PCH, I'd bet this ought to be fixed in > gcc-4.1.2-52.el5 and above (i.e. dup of #735304). > If it is unrelated to PCH, we'll need preprocessed file without PCH. yes, you are write I test just before , everything is ok. gcc -v 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 --disable-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 20080704 (Red Hat 4.1.2-54) g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -fpch-preprocess -g -O2 -Wall -g -fexceptions -MT filezilla-aboutdialog.o -MD -MP -MF .deps/filezilla-aboutdialog.Tpo -c -o filezilla-aboutdialog.o `test -f 'aboutdialog.cpp' || echo './'`aboutdialog.cpp /usr/include/wx-2.8/wx/hashmap.h: In member function 鈥榳xLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const鈥 /usr/include/wx-2.8/wx/hashmap.h:735: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/clntdata.h: In member function 鈥榳xShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const鈥 /usr/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/clntdata.h: In member function 鈥榳xShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const鈥 /usr/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/gdicmn.h: In member function 鈥榳xStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const鈥 /usr/include/wx-2.8/wx/gdicmn.h:544: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/image.h: In member function 鈥榳xImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const鈥 /usr/include/wx-2.8/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/filesys.h: In member function 鈥榳xFSHandlerHash_wxImplementation_HashTable::Node** wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* const&) const鈥 /usr/include/wx-2.8/wx/filesys.h:176: warning: dereferencing type-punned pointer will break strict-aliasing rules
Fixed then.