https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63244
Bug ID: 63244 Summary: x86_64-pc-linux-gnu-g++: internal compiler error: Segmentation fault (program cc1plus) Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nheghathivhistha at gmail dot com Created attachment 33481 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33481&action=edit Preprocessed un-reduced file Part of media-libs/mesa-10.2.7 Gentoo package segfaults cc1plus: x86_64-pc-linux-gnu-g++ -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"10.2.7\" "-DPACKAGE_STRING=\"Mesa 10.2.7\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.2.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -I. -DHAVE_PIPE_LOADER_XLIB -DHAVE_PIPE_LOADER_DRI -DHAVE_PIPE_LOADER_DRM -DPIPE_SEARCH_DIR=\"/usr/lib32/gallium-pipe\" -I../../../../include -I../../../../src/gallium/include -I../../../../src/gallium/drivers -I../../../../src/gallium/auxiliary -I../../../../src/gallium/winsys -I. -std=c++11 -fvisibility=hidden -flto=4 -fuse-linker-plugin -O2 -ggdb -pipe -march=core2 -mtune=core2 -mno-3dnow -mno-sse4.2 -mno-avx -mno-xop -mno-fma4 -mno-sse4a -Wall -fno-strict-aliasing -fno-builtin-memcmp -c core/context.cpp -fPIC -DPIC -o core/.libs/libclover_la-context.o -save-temps x86_64-pc-linux-gnu-g++: warning: -pipe ignored because -save-temps specified x86_64-pc-linux-gnu-g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions. When LTO is not enabled it not happens. It crashes the same way in 64 bit mode.