Hide Forgot
Description of problem: Whilst building the latest anope irc services 1.9 git, the compiler crashes (I'm not enough in-tune with compilers to know why this happens) Linux fate.l3th4l1ty.com 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:22:04 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux - Centos 5.7 (Final) Version-Release number of selected component (if applicable): cmake version 2.6-patch 4 gcc version 4.1.2 20080704 (Red Hat 4.1.2-51) How reproducible: Always Steps to Reproduce: 1. clone anope from git ( git clone git://anope.git.sf.net/gitroot/anope/anope/ ) and switch to the 1.9 branch. 2. run ./Config; cd build; make Actual results: [ 8%] Building CXX object src/CMakeFiles/services.dir/access.o An error occured when executing: /usr/bin/c++ -Dservices_EXPORTS -g -I/home/auro rach/irc/anope/build/include -I/home/aurorach/irc/anope/include -I/home/aurorach /irc/anope/build/language -I/home/aurorach/irc/anope/modules/pseudoclients -Wall -Wshadow -ansi -pedantic -fno-leading-underscore -pipe -o CMakeFiles/services.d ir/access.o -c /home/aurorach/irc/anope/src/access.cpp /home/aurorach/irc/anope/include/anope.h: In function âconst Anope::string Anope ::operator+(const char*, const Anope::string&)â: /home/aurorach/irc/anope/include/anope.h:331: internal compiler error: Segmentat ion 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/ccN4PVcL.out file, please attach this to yo ur bugreport. make[2]: *** [src/CMakeFiles/services.dir/access.o] Error 1 make[1]: *** [src/CMakeFiles/services.dir/all] Error 2 make: *** [all] Error 2 Expected results: It should compile. Additional info: Attached output file
Created attachment 528910 [details] compiler crash output
Can't reproduce this, compiles just fine. compiles just fine here.
hmm definitely pulled 1.9? the default branch is 1.8 which was c, 1.9 is cpp. git clone git://anope.git.sf.net/gitroot/anope/anope/ ;cd anope git checkout -b 1.9 --track origin/1.9 ./Config cd build; make root@fate [/home/l3th4l]# 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-51) root@fate [/home/l3th4l]# cmake --version cmake version 2.6-patch 4 root@fate [/home/l3th4l]# cat /etc/redhat-release CentOS release 5.7 (Final)
I tried the preprocessed source you've attached, and that compiles just fine with the options listed in there.
*** This bug has been marked as a duplicate of bug 735304 ***