https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372
--- Comment #7 from Alan Griffiths <alan at octopull dot co.uk> --- cd /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/server/frontend/wayland && /usr/bin/c++ -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS -DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -DMIR_LOG_COMPONENT_FALLBACK=\"mirserver\" -DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API -DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT -DMIR_SERVER_GLEXT_H="<GLES2/gl2ext.h>" -DMIR_SERVER_GL_H="<GLES2/gl2.h>" -DMIR_SERVER_GRAPHICS_PLATFORM_VERSION=\"MIR_GRAPHICS_PLATFORM_0.27\" -DMIR_SERVER_INPUT_PLATFORM_VERSION=\"MIR_INPUT_PLATFORM_0.27\" -DMIR_SERVER_PLATFORM_PATH=\"/usr/lib64/mir/server-platform\" -DMIR_VERSION=\"0.29.0\" -DMIR_VERSION_MAJOR=0 -DMIR_VERSION_MICRO=0 -DMIR_VERSION_MINOR=29 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/core -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/common -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/cookie -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/common -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/capnproto -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/protobuf -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/platform -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/client -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/server -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderer -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/gl -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/sw -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/platform -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/client -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/server -I/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/cookie -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -pthread -g -std=c++14 -Werror -Wall -fno-strict-aliasing -pedantic -Wnon-virtual-dtor -Wextra -fPIC -Wno-psabi -flto -ffat-lto-objects -o CMakeFiles/mirfrontend-wayland.dir/wayland_connector.cpp.o -c /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/server/frontend/wayland/wayland_connector.cpp -v Using built-in specs. Reading specs from /usr/lib/rpm/redhat/redhat-hardened-cc1 COLLECT_GCC=/usr/bin/c++ OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC) COLLECT_GCC_OPTIONS='-D' 'LOG_NDEBUG=1' '-D' 'MESA_EGL_NO_X11_HEADERS' '-D' 'MIR_DRMMODEADDFB_HAS_CONST_SIGNATURE' '-D' 'MIR_LOG_COMPONENT_FALLBACK="mirserver"' '-D' 'MIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API' '-D' 'MIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT' '-D' 'MIR_SERVER_GLEXT_H=<GLES2/gl2ext.h>' '-D' 'MIR_SERVER_GL_H=<GLES2/gl2.h>' '-D' 'MIR_SERVER_GRAPHICS_PLATFORM_VERSION="MIR_GRAPHICS_PLATFORM_0.27"' '-D' 'MIR_SERVER_INPUT_PLATFORM_VERSION="MIR_INPUT_PLATFORM_0.27"' '-D' 'MIR_SERVER_PLATFORM_PATH="/usr/lib64/mir/server-platform"' '-D' 'MIR_VERSION="0.29.0"' '-D' 'MIR_VERSION_MAJOR=0' '-D' 'MIR_VERSION_MICRO=0' '-D' 'MIR_VERSION_MINOR=29' '-D' '_FILE_OFFSET_BITS=64' '-D' '_GNU_SOURCE' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/core' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/common' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/cookie' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/common' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/capnproto' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/protobuf' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/platform' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/client' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/server' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderer' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/gl' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/sw' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/platform' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/client' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/server' '-I' '/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/cookie' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib64/glib-2.0/include' '-O2' '-g' '-pipe' '-Werror=format-security' '-fexceptions' '-fstack-protector-strong' '--param' 'ssp-buffer-size=4' '-grecord-gcc-switches' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-m64' '-mtune=generic' '-pthread' '-g' '-std=c++14' '-Werror' '-Wall' '-fno-strict-aliasing' '-Wpedantic' '-Wnon-virtual-dtor' '-Wextra' '-fPIC' '-Wno-psabi' '-flto' '-ffat-lto-objects' '-o' 'CMakeFiles/mirfrontend-wayland.dir/wayland_connector.cpp.o' '-c' '-v' '-shared-libgcc' '-march=x86-64' /usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/core -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/common -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/cookie -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/common -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/capnproto -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/protobuf -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/platform -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/client -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/server -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderer -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/gl -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/sw -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/platform -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/client -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/server -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/cookie -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -D_GNU_SOURCE -D_REENTRANT -D LOG_NDEBUG=1 -D MESA_EGL_NO_X11_HEADERS -D MIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -D MIR_LOG_COMPONENT_FALLBACK="mirserver" -D MIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API -D MIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT -D MIR_SERVER_GLEXT_H=<GLES2/gl2ext.h> -D MIR_SERVER_GL_H=<GLES2/gl2.h> -D MIR_SERVER_GRAPHICS_PLATFORM_VERSION="MIR_GRAPHICS_PLATFORM_0.27" -D MIR_SERVER_INPUT_PLATFORM_VERSION="MIR_INPUT_PLATFORM_0.27" -D MIR_SERVER_PLATFORM_PATH="/usr/lib64/mir/server-platform" -D MIR_VERSION="0.29.0" -D MIR_VERSION_MAJOR=0 -D MIR_VERSION_MICRO=0 -D MIR_VERSION_MINOR=29 -D _FILE_OFFSET_BITS=64 -D _GNU_SOURCE -D_FORTIFY_SOURCE=2 /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/server/frontend/wayland/wayland_connector.cpp -quiet -dumpbase wayland_connector.cpp -m64 -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/mirfrontend-wayland.dir/wayland_connector.cpp.o -g -grecord-gcc-switches -g -O2 -Werror=format-security -Werror -Wall -Wpedantic -Wnon-virtual-dtor -Wextra -Wno-psabi -std=c++14 -version -fexceptions -fstack-protector-strong -fno-strict-aliasing -fPIC -flto -ffat-lto-objects --param ssp-buffer-size=4 -o - | as -v -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/core -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/common -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/cookie -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/common -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/capnproto -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/protobuf -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/platform -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/client -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/server -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderer -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/gl -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/sw -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/platform -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/client -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/server -I /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/cookie -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include --64 -o CMakeFiles/mirfrontend-wayland.dir/wayland_connector.cpp.o GNU assembler version 2.29 (x86_64-redhat-linux) using BFD version version 2.29-6.fc27 GNU C++14 (GCC) version 7.2.1 20170915 (Red Hat 7.2.1-2) (x86_64-redhat-linux) compiled by GNU C version 7.2.1 20170915 (Red Hat 7.2.1-2), GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.2, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed" ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include" ignoring nonexistent directory "/builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/sw" #include "..." search starts here: #include <...> search starts here: /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/core /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/common /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/cookie /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/common /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/capnproto /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/x86_64-redhat-linux-gnu/src/protobuf /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/platform /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/client /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/server /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderer /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/include/renderers/gl /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/platform /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/client /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/server /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/include/cookie /usr/include/glib-2.0 /usr/lib64/glib-2.0/include /usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 /usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux /usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward /usr/lib/gcc/x86_64-redhat-linux/7/include /usr/local/include /usr/include End of search list. GNU C++14 (GCC) version 7.2.1 20170915 (Red Hat 7.2.1-2) (x86_64-redhat-linux) compiled by GNU C version 7.2.1 20170915 (Red Hat 7.2.1-2), GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.2, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 57c1ae0a7973bbee7ebde84bda955365 /builddir/build/BUILD/mir-5500595810c28c150a3bd9edf19b392c2aeab932/src/server/frontend/wayland/wayland_connector.cpp:2275:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccpaNiAr.out file, please attach this to your bugreport.