FS#36040 - gcc compiler error having more than 2 cpu cores
Attached to Project:
Arch Linux
Opened by Pawel Zogal (pzogal) - Friday, 05 July 2013, 19:39 GMT
Last edited by Allan McRae (Allan) - Friday, 05 July 2013, 22:12 GMT
Opened by Pawel Zogal (pzogal) - Friday, 05 July 2013, 19:39 GMT
Last edited by Allan McRae (Allan) - Friday, 05 July 2013, 22:12 GMT
|
Details
Hello,
I've got this strange problem with gcc, it crashes randomly during the build process. A good example is a kernel build: CC [M] fs/fuse/dev.o CC [M] fs/fuse/dir.o CC [M] fs/fuse/file.o CC [M] fs/fuse/inode.o In file included from fs/fuse/fuse_i.h:13:0, from fs/fuse/inode.c:9: include/linux/fs.h:1325:1: internal compiler error: Segmentation fault }; ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. make[2]: *** [fs/fuse/inode.o] Error 1 make[1]: *** [fs/fuse] Error 2 make: *** [fs] Error 2 [pawel@pawels-host linux-3.10]$ then "make clean" + "make" and again a crash but somewhere else, for example: CC kernel/softirq.o CC kernel/resource.o In file included from kernel/resource.c:22:0: include/linux/device.h:723:1: internal compiler error: Segmentation fault }; ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. make[1]: *** [kernel/resource.o] Error 1 make: *** [kernel] Error 2 [pawel@pawels-host linux-3.10]$ The CPU is i5 3450S. MB is Asus P8H77-V, no extra gfx card, 8GB RAM, 150GB HDD. Having only 1 or 2 cores enabled in BIOS the make process finishes without errors. Max temp is not that high either, CPU stabilizes at around 55° C regardless how many cores are enabled. I suppose this is a synchronization problem. I had constant KDE crashes trying to install Chakra Benz with 4 cores, with 1 it got better but still crashed, finally switched to arch and since KDE 4.10.4 almost none. finally some info: [pawel@pawels-host linux-3.10]$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /build/gcc/src/gcc-4.8.1/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-install-libiberty --disable-multilib --disable-libssp --disable-werror --enable-checking=release Thread model: posix gcc version 4.8.1 (GCC) [pawel@pawels-host linux-3.10]$ Linux pawels-host 3.9.9-1-ARCH #1 SMP PREEMPT Wed Jul 3 22:45:16 CEST 2013 x86_64 GNU/Linux [pawel@pawels-host linux-3.10]$ [pawel@pawels-host linux-3.10]$ pacman -Q gcc gcc 4.8.1-1 [pawel@pawels-host linux-3.10]$ cheers, Pawel |
This task depends upon
Comment by Allan McRae (Allan) -
Friday, 05 July 2013, 22:12 GMT
This is a hardware issue. Run the standard tests.