From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Description of problem: I'm using fedora devel. I had to recompile every program using gtk2, which is not in fedora devel/extra, and when tried to recompile zapping 0.9.7cvs3 gcc aborted with message *** stack smashing detected ***. Version-Release number of selected component (if applicable): gcc-4.0.1-9 How reproducible: Always Steps to Reproduce: 1. Download zapping from http://prdownloads.sourceforge.net/zapping/zapping-0.9.7cvs3.tar.bz2?download 2. Configure. I have rpm spec file which is doing this: ./autogen.sh --prefix=/usr %configure make (from rpm --eval %configure) CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=athlon-4 -fasynchronous-unwind-tables}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=athlon-4 -fasynchronous-unwind-tables}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=athlon-4 -fasynchronous-unwind-tables}" ; export FFLAGS ; for i in $(find . -name config.guess -o -name config.sub) ; do [ -f /usr/lib/rpm/redhat/$(basename $i) ] && /bin/rm -f $i && /bin/cp -fv /usr/lib/rpm/redhat/$(basename $i) $i ; done ; ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu \ --target=i386-redhat-linux-gnu \ --program-prefix= \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --datadir=/usr/share \ --includedir=/usr/include \ --libdir=/usr/lib \ --libexecdir=/usr/libexec \ --localstatedir=/var \ --sharedstatedir=/usr/com \ --mandir=/usr/share/man \ --infodir=/usr/share/info 3. make Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/X11R6/include -I../../.. -I../../../plugins/deinterlace -O3 -fomit-frame-pointer -D_REENTRANT --param max-inline-insns-single=50000 --param large-function-insns=150000 --param inline-unit-growth=30000 --param large-function-growth=30000 -msse2 -DSIMD=CPU_FEATURE_SSE2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=athlon-4 -fasynchronous-unwind-tables -MT libDI_Misc_SSE2_la-DI_TomsMoComp.lo -MD -MP -MF .deps/libDI_Misc_SSE2_la-DI_TomsMoComp.Tpo -c DI_TomsMoComp.c -fPIC -DPIC -o .libs/libDI_Misc_SSE2_la-DI_TomsMoComp.o *** stack smashing detected ***: /usr/libexec/gcc/i386-redhat-linux/4.0.1/cc1 terminated DI_TomsMoComp.c: In function 'Search_Effort_27': DI_TomsMoComp.c:893: internal compiler error: Aborted Additional info:
Created attachment 117947 [details] Preprocessed source This is the preprocessed source stored when gcc aborted
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01231.html
Should be fixed in gcc-4.0.1-10.