http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47441
Summary: g++ Introduces Internal Compiler Error: Bus error during compilation Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: erkanbosta...@gmail.com Hello, I am having this problem even when I am trying to compile a simple file such as (I presented this to show that the problem is not a bug in my own code): #include <cstdlib> #include <stdio.h> using namespace std; int main(int argc, char** argv) { printf("hello\n"); return 0; } I have the following version for my g++ and operating system: g++ version(g++ -v): Using built-in specs. Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) Operating system: Ubuntu 10.10 - the Maverick Meerkat - released in October 2010 I did not give any options for building the compiler, it was there when I reinstalled my system after a crash. I am using Solaris Studio 12.2 as the IDE am using the GNU tools as the compiler. The output of the compiler is as follows: "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory `/home/erkan/SolStudioProjects/BugTest2' "/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/bugtest2 make[2]: Entering directory `/home/erkan/SolStudioProjects/BugTest2' mkdir -p build/Debug/GNU-Linux-x86 rm -f build/Debug/GNU-Linux-x86/main.o.d g++ -c -g -MMD -MP -MF build/Debug/GNU-Linux-x86/main.o.d -o build/Debug/GNU-Linux-x86/main.o main.cpp main.cpp: In function ‘int main(int, char**)’: main.cpp:21: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. make[2]: *** [build/Debug/GNU-Linux-x86/main.o] Error 1 make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 make[2]: Leaving directory `/home/erkan/SolStudioProjects/BugTest2' make[1]: Leaving directory `/home/erkan/SolStudioProjects/BugTest2' BUILD FAILED (exit value 2, total time: 14s) I would be grateful if you could solve this problem as soon as possible or show me a way to get around this as time is extremely important for my current task. Regards.